一键导入
repo-harness-repair
Repairs a broken current harness, including task sync, hook routing, handoff, context-map, policy, helper, and generated/runtime drift.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Repairs a broken current harness, including task sync, hook routing, handoff, context-map, policy, helper, and generated/runtime drift.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
routes repo-harness requests through the CLI and hook automation plugin for init, update, scaffold, migrate, audit, repair, and ship workflows
Resolves repo-harness architecture drift requests and updates architecture docs or diagrams without running full init, migrate, or upgrade.
Adds or syncs explicit repo-local capability boundaries without running full repo-harness init, migrate, or upgrade.
Verification entrypoint for repo-harness workflow readiness. Runs workflow gates, task sync, contract checks, inspector, and migration dry-run before merge or release.
Installs or refreshes the repo-harness workflow in an existing repository. Adds hooks, docs/spec.md, tasks, plans, .ai/context, .ai/harness, helpers, and policy without creating an application stack.
Migrates older Claude/Codex workflow repos to the current tasks-first harness while preserving or archiving user-authored docs and hooks.
| name | repo-harness-repair |
| description | Repairs a broken current harness, including task sync, hook routing, handoff, context-map, policy, helper, and generated/runtime drift. |
| when_to_use | repo-harness-repair, repair broken agentic workflow, fix task sync, fix hook routing, fix handoff, repair .ai harness, repair context-map |
Use this command when the repo has a harness but a specific workflow surface is broken.
bun scripts/inspect-project-state.ts --repo <repo> --format text.settings.json -> .ai/hooks/run-hook.sh -> .ai/hooks/* or plans/ -> tasks/todos.md -> tasks/contracts/.repo-harness-init or repo-harness-migrate.repo-harness-check.repo-harness-migrate.