repo-task-proof-loop
Repo-local workflow skill for large coding tasks. Initializes .agent/tasks/TASK_ID artifacts, installs project-scoped Codex and Claude subagents, updates…
от skillmds★ 42 звезды на GitHub
Установить repo-task-proof-loop в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Repo Task Proof Loop
Use this skill when the user wants a repeatable, auditable implementation workflow for a non-trivial coding task, especially a feature, refactor, migration, or bug fix that should leave repo-local proof in .agent/tasks/<TASK_ID>/.
All task artifacts created by this workflow must stay inside the repository.
When the examples below mention scripts/task_loop.py, that path is relative to this skill root. Run it while your shell working directory is inside the target repository.
What this skill does
- Initializes a strict repo-local task folder under
.agent/tasks/<TASK_ID>/ - Seeds or updates the required artifact files
- Installs project-scoped Codex and Claude subagent templates into
.codex/agents/and.claude/agents/ - Updates the repo-root
AGENTS.mdCodex baseline plus the repo's Claude guide file (CLAUDE.mdor.claude/CLAUDE.md) with a managed block that explains the workflow - Guides the agent through a strict loop:
- spec freeze
- builder implementation
- evidence packing
- fresh verification
- minimal fix
- fresh verification again until
PASS
See:
references/REFERENCE.mdreferences/COMMANDS.mdreferences/SUBAGENTS.mdreferences/SCHEMAS.md
Commands this skill supports
Treat the following words as commands when the user invokes this skill:
init <TASK_ID>: create.agent/tasks/<TASK_ID>/, install or refresh subagent templates, and updateAGENTS.mdplus the repo's Claude guide filefreeze <TASK_ID>: create or refinespec.mdfrom the user task, task file, and repo guidancebuild <TASK_ID>: implement the task against the frozen specevidence <TASK_ID>: create or refreshevidence.md,evidence.json, and raw artifacts without changing production codeverify <TASK_ID>: run a fresh verifier pass and writeverdict.json, plusproblems.mdwhen neededfix <TASK_ID>: apply the smallest safe fix set fromproblems.md, then refresh the evidence bundlerun <TASK_ID>: execute the full loop from spec freeze through verificationstatus <TASK_ID>: summarize current artifact status
If the user does not supply a command, infer the next step from repo state:
- If the task folder does not exist, run
initfirst. If the user clearly wants initialization only, stop there. Otherwise, afterinitsucceeds and.agent/tasks/<TASK_ID>/spec.mdexists, continue by re-evaluating repo state in the same turn. Do not overlapinitwithfreeze,build,evidence,verify,fix,validate,status, or subagent work. - If
spec.mdis missing or placeholder-only, dofreeze - If implementation is not yet complete, do
build - If evidence is stale or missing, do
evidence - If no fresh verdict exists, do
verify - If verdict is not
PASS, dofix
Initialization step
Run the bundled initializer from the repository root or current working directory inside the repo:
scripts/task_loop.py init --task-id <TASK_ID>
Optional task seeding:
scripts/task_loop.py init --task-id <TASK_ID> --task-file path/to/task.md
scripts/task_loop.py init --task-id <TASK_ID> --task-text "User task text"
The initializer will:
- resolve the repo root
- create
.agent/tasks/<TASK_ID>/ - create all required artifacts, including placeholders under
raw/ - install project-scoped subagent files
- insert or refresh managed workflow blocks in
AGENTS.mdand the repo's Claude guide file
For Codex, the initializer keeps its managed workflow block in the repo-root AGENTS.md. Codex also supports AGENTS.override.md and configured fallback guide filenames; nested files closer to the code still take precedence, and this skill intentionally does not overwrite them.
If init creates or rewrites AGENTS.md during a running Codex session, start a new Codex session before relying on the updated instructions. Codex snapshots project-doc guidance at session start.
For Claude Code, the initializer keeps its managed workflow block in the repo-root CLAUDE.md. Claude Code also supports .claude/CLAUDE.md, .claude/rules/*.md, and CLAUDE.local.md, but this skill treats root CLAUDE.md as the primary project guide because Claude surfaces it directly.
In Claude Code, if init just wrote or refreshed .claude/agents/* during the current session, do not assume those updated agents are already available mid-session.
Treat init as a serial prerequisite. Never overlap it with freeze, build, evidence, verify, fix, validate, status, or child-agent spawning.
Heavy-task default workflow
For large tasks, keep the user-facing request simple. In Codex, continue serially unless the user explicitly asks for delegation or parallel agent work; after that authorization, the skill can choose the internal child setup automatically when the current product surface supports delegation and the task shape warrants it.
Preferred delegated sequence
- Run
init <TASK_ID>if needed. Wait
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- .gitignore
- AGENTS.md
- CLAUDE.md
- LICENSE
- README.md
- VERIFICATION.md
- agents/openai.yaml
- assets/images/banner.png
- assets/images/proof-loop-diagram.png
- assets/schemas/evidence.schema.json
- assets/schemas/verdict.schema.json
- assets/templates/claude/task-builder.md.tmpl
- assets/templates/claude/task-fixer.md.tmpl
- assets/templates/claude/task-spec-freezer.md.tmpl
- assets/templates/claude/task-verifier.md.tmpl
- assets/templates/codex/task-builder.toml.tmpl
- assets/templates/codex/task-fixer.toml.tmpl
- assets/templates/codex/task-spec-freezer.toml.tmpl
- assets/templates/codex/task-verifier.toml.tmpl
- assets/templates/evidence.json.tmpl
- assets/templates/evidence.md.tmpl
- assets/templates/managed-block-agents.md.tmpl
- assets/templates/managed-block-claude.md.tmpl
- assets/templates/problems.md.tmpl
- assets/templates/raw.build.txt.tmpl
- assets/templates/raw.lint.txt.tmpl
- assets/templates/raw.test-integration.txt.tmpl
- assets/templates/raw.test-unit.txt.tmpl
- assets/templates/spec.md.tmpl
- assets/templates/verdict.json.tmpl
- references/COMMANDS.md
- references/REFERENCE.md
- references/SCHEMAS.md
- references/SUBAGENTS.md
- scripts/task_loop.py
- scripts/verify_package.py
FAQ
Что делает скилл repo-task-proof-loop?
Repo-local workflow skill for large coding tasks. Initializes .agent/tasks/TASK_ID artifacts, installs project-scoped Codex and Claude subagents, updates AGENTS.md plus the repo's Claude guide file with the workflow, and runs a spec-freeze → build → evidence → verify → fix loop with fresh-session verification.
Как установить скилл repo-task-proof-loop?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл repo-task-proof-loop запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…