Skip to content

jupes/agent-forge-harness / .agents/skills/syncing-repos

syncing-repos

Verified

Clone, inspect, refresh, reset, or manage branches across registered Forge sub-repos. Use for single-repo or multi-repo synchronization.

FileKindSize
SKILL.mdskill md3.8 KB
scripts/repo-select.tsscript1.2 KB
scripts/repo.tsscript8.1 KB

scripts/repo-select.ts

View on GitHub
/**
 * Which entries of `repos/repos.json` a command acts on.
 *
 * An entry with `"archived": true` stays registered (and cloned, if it is)
 * but is left out of every all-repos run: init, status, refresh, reset and the
 * branch commands. Naming it with `--repo <name>` still acts on it, and
 * `--include-archived` brings every archived entry back in.
 */

export interface RepoConfig {
  name: string;
  url: string;
  defaultBranch: string;
  /** Only `true` archives; a missing or any other value is an active repository. */
  archived?: boolean;
}

export interface RepoSelection {
  targets: RepoConfig[];
  /** Names of the archived entries left out of this run. */
  skipped: string[];
}

export function selectRepos(
  repos: readonly RepoConfig[],
  options: { repo?: string | undefined; includeArchived: boolean },
): RepoSelection {
  if (options.repo !== undefined)
    return {
      targets: repos.filter((r) => r.name === options.repo),
      skipped: [],
    };
  if (options.includeArchived) return { targets: [...repos], skipped: [] };
  return {
    targets: repos.filter((r) => r.archived !== true),
    skipped: repos.filter((r) => r.archived === true).map((r) => r.name),
  };
}
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall