jupes/agent-forge-harness / .agents/skills/syncing-repos
syncing-repos
VerifiedClone, inspect, refresh, reset, or manage branches across registered Forge sub-repos. Use for single-repo or multi-repo synchronization.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 3.8 KB |
| scripts/repo-select.ts | script | 1.2 KB |
| scripts/repo.ts | script | 8.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),
};
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| 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: 198k | Updated | Claude CodeCodex | Verified | Install |
| 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: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| 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: 194k | Updated | Claude CodeCodex | Verified | Install |