/repo-harness-setup
Canonical rule owner for installing, migrating, upgrading, repairing, scaffolding, and capability-configuring the repo-harness workflow in a repository.
$ npx -y skills add Ancienttwo/repo-harness --skill repo-harness-setup --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/repo-harness-setup
Context preview
The summary Claude sees to decide when to auto-load this skill.
Canonical rule owner for installing, migrating, upgrading, repairing, scaffolding, and capability-configuring the repo-harness workflow in a repository.
SKILL.md
repo-harness-setup.SKILL.mdname: repo-harness-setup
description: Canonical rule owner for installing, migrating, upgrading, repairing, scaffolding, and capability-configuring the repo-harness workflow in a repository.
when_to_use: "repo-harness-setup, initialize existing repo, migrate legacy repo, upgrade harness, repair harness, scaffold new project, add capability boundary"
repo-harness-setup
Canonical rule owner for init, migrate, upgrade, repair, scaffold, and capability configuration. Router-only: shared preflight, mode selection, and cross-mode boundaries. Mode protocol lives under `references/`.
Shared Preflight
1. Confirm the target repo path (`pwd`, or an explicit `--repo` argument). 2. Run `bun scripts/inspect-project-state.ts --repo <repo> --format text` when available.
Mode Selection
- No harness yet, or refreshing an existing install -> `references/init.md`.
- Inspector reports legacy docs or stale harness artifacts -> `references/migrate.md`.
- Harness present, needs latest contract/helpers/templates -> `references/upgrade.md`.
- A specific workflow surface is broken -> `references/repair.md`.
- New project/app/module skeleton, no existing repo workflow -> `references/scaffold.md`.
- Add or sync one capability boundary only -> `references/capability.md`.
Boundaries
- Never write user-level (`HOME`) state from a repo-scoped mode; user-level setup is the separate `repo-harness update` command.
- Preserve user-authored repo files unless the workflow contract owns the generated surface; remove only `ownership=known_generated` files.
- Does not create an application stack from any mode except `scaffold`.
- Does not expose internal helper scripts (`create-project-dirs`, direct `scripts/init-project.sh`, `hooks-init`, `docs-init`) as public commands.
- Does not infer capability prefixes from broad directory globs; always use explicit prefixes.
- A request spanning more than one mode resolves in dependency order, re-running the shared preflight before each next mode.
Read more
name: repo-harness-setup description: Canonical rule owner for installing, migrating, upgrading, repairing, scaffolding, and capability-configuring the repo-harness workflow in a repository. when_to_use: "repo-harness-setup, initialize existing repo, migrate legacy repo, upgrade harness, repair harness, scaffold new project, add capability boundary"
repo-harness-setup
Canonical rule owner for init, migrate, upgrade, repair, scaffold, and capability configuration. Router-only: shared preflight, mode selection, and cross-mode boundaries. Mode protocol lives under `references/`.
Shared Preflight
1. Confirm the target repo path (`pwd`, or an explicit `--repo` argument). 2. Run `bun scripts/inspect-project-state.ts --repo <repo> --format text` when available.
Mode Selection
- No harness yet, or refreshing an existing install -> `references/init.md`.
- Inspector reports legacy docs or stale harness artifacts -> `references/migrate.md`.
- Harness present, needs latest contract/helpers/templates -> `references/upgrade.md`.
- A specific workflow surface is broken -> `references/repair.md`.
- New project/app/module skeleton, no existing repo workflow -> `references/scaffold.md`.
- Add or sync one capability boundary only -> `references/capability.md`.
Boundaries
- Never write user-level (`HOME`) state from a repo-scoped mode; user-level setup is the separate `repo-harness update` command.
- Preserve user-authored repo files unless the workflow contract owns the generated surface; remove only `ownership=known_generated` files.
- Does not create an application stack from any mode except `scaffold`.
- Does not expose internal helper scripts (`create-project-dirs`, direct `scripts/init-project.sh`, `hooks-init`, `docs-init`) as public commands.
- Does not infer capability prefixes from broad directory globs; always use explicit prefixes.
- A request spanning more than one mode resolves in dependency order, re-running the shared preflight before each next mode.
File-backed workflow harness for reliable Claude Code and Codex sessions.
Repo: Ancienttwo/repo-harness
Other skills on repo-harness.
- /claude-plan
Get an independent architecture/implementation plan from Anthropic Claude (Fable, a different vendor's model) running Claude Code's native plan mode, from inside a non-Claude host such as Codex. Use mid-execution when work hits a genuine design fork or high-stakes decision that
Open skill - /repo-harness-chatgpt
Canonical rule owner for repo-harness ChatGPT integration -- Oracle-first browser/GPT Pro consult and continuation, MCP Connector setup, MCP bridge planning handoff, and Connector invocation read-back evidence.
Open skill - /repo-harness-cross-review
Independent cross-model review of the current review scope (branch diff plus staged, unstaged, untracked changes) from the opposite vendor's model. Catches spec drift, missing edge cases, and fake tests self-review cannot see. Use before merging, after a tricky change, or a
Open skill - /repo-harness-plan
Interactive planning entrypoint for repo-local agentic development work. Produces an approved plan before implementation, and reviews an existing plan across product, engineering, design, and DevEx dimensions.
Open skill - /repo-harness-product
Canonical rule owner for PRD drafting, Sprint planning/execution, and native Goal-session preparation from repo-harness planning artifacts.
Open skill

