Skip to content
Development
Skill

/repo-harness-setup

Canonical rule owner for installing, migrating, upgrading, repairing, scaffolding, and capability-configuring the repo-harness workflow in a repository.

From plugin
repo-harness
43511 skills11 agents

Claude Code

$ npx -y skills add Ancienttwo/repo-harness --skill repo-harness-setup --agent claude-code

SKILL.md

repo-harness-setup.SKILL.md
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, impact-scoped CI"

repo-harness-setup

Worker entrypoint. Use the Bot-assigned mode and target repo. If either is missing, return the decision to the Bot.

Load only the reference for the assigned mode.

Shared Preflight

1. Confirm the target repo path (`pwd`, or an explicit `--repo` argument). 2. Inspect the proposed changes with `repo-harness init --repo <repo> --dry-run` (not `ci-scope`).

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`.
  • Impact-scoped PR CI with a release-only full matrix -> `references/ci-scope.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 shell init adapters, `hooks-init`, `docs-init`) as public commands.
  • Does not infer capability prefixes from broad directory globs; always use explicit prefixes.
  • Return a request spanning multiple modes to the Bot for scope and order.
Read more
@ancienttwo
Ships withrepo-harness

File-backed workflow harness for reliable Claude Code and Codex sessions.

43511 skills11 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
435
Star history of Ancienttwo/repo-harness on GitHub, a chart by star-history.com

Other skills on repo-harness.

obsidian-memory

obsidian-memory

Recall project memory or save reusable lessons to Obsidian only when explicitly requested. Exclude automatic task closeout, raw…

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills11d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc12d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react2d252k
@facebook@facebookInstall Skill

Questions about repo-harness-setup.

Which coding agents can use repo-harness-setup?
repo-harness-setup installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.