implement-plan
БесплатноБез исполняемых скриптовНе проверенImplement the current plan test-first, the Canon TDD way, driving to a single finishing condition — an empty test list. Derives a Canon TDD test list from the…
от adamayoung★ 182 звезды на GitHubОб этом скилле
Implement Plan
Turn the current plan into working, tested code — strictly test-first. This
skill is the wrapper that ties three things together: the plan (what to build),
the canon-tdd skill (how to build it), and a single finishing condition —
the test list is empty (when to stop). It does not invent its own TDD rules;
it delegates the discipline to canon-tdd and adds plan-awareness, the finishing
goal, and the project's specialist skills.
Red-Green-Refactor is the engine. The test list is the steering wheel. This skill keeps the wheel on screen and drives until the list is empty.
Agent Behaviour Contract
These are non-negotiable. Do them by default, without being reminded.
- Canon TDD is mandatory — invoke the
canon-tddskill. No production code before a failing test. One test at a time. Refactor only on green. This skill exists to enforce that loop against the plan; do not freelance an implementation-first approach. - Show the test list before any code — and every time it changes. Print the Canon TDD test list as a checklist before the first edit, and re-print it whenever you add, remove, reword, or check off an item (see Keep the test list visible).
- The finishing condition is an empty test list. "Done" means every item on
the list has a written, passing test and the full suite is green — nothing
less. Pair this with the
/goalcommand for autonomous cross-turn iteration (see Set the finishing goal). Exactly three kinds of item are exempt, becausecanon-tddputs them on the list and no test can assert them: the///doc comment, the DocC catalog entry, and theREADME.mdupdate. They are done whenmake build-docspasses and the README is in sync — not when a test covers them. Nothing else is exempt; don't reclassify a behavioural item into this set. - Reach for the right specialist skill. Use
swift-testing-expertwhen writing/structuring tests andswift-concurrencyfor anything touching tasks, actors,@MainActor,Sendable, or data races — don't hand-roll what those skills know. - Document every public declaration — no exceptions. Documenting it is part
of "make it pass". Every public protocol, class, struct, enum, actor, model,
property, initializer, method, subscript, and typealias you add or change MUST
carry an accurate
///doc comment, and the DocC catalog must stay in sync (see Document every public declaration). This is mandatory, not optional —make build-docsruns warnings-as-errors, so an undocumented public symbol is a build failure. - Expect Swift files to change after you write them. A PostToolUse hook runs
swiftlint --fix+swiftformaton every.swiftfile you Edit/Write, so the on-disk content can differ from what you wrote (see The lint/format hook). - Commit at logical checkpoints — always green. Like a human engineer, commit when a cohesive increment is complete and the code is in a good state, and never commit a red or half-finished tree (see Commit at logical points). This keeps the work committed as you go, so a downstream review sees real history rather than an empty diff.
- Finish with the completion checklist. Before declaring done, run
/testand/integration-test— both REQUIRED to pass perCLAUDE.md— plus/lint, andmake build-docswhenever public API changed.
Locate the plan
Use the first that applies, then restate the plan's goal in a sentence so the test list is anchored to it:
- An explicit target the user named — a plan/design file path, or plan text passed as the skill argument.
- The active plan-mode plan — the most recent plan you presented via
ExitPlanMode. - A plan in the conversation — the most recent structured plan / task
breakdown (including a
TodoWritelist framed as the plan).
If there is no plan, stop and say so — offer to draft one first (e.g. via the
Plan agent or plan mode), and to /review-plan it before implementing. Never
fabricate a plan in order to implement it.
Step 0 — Consult the knowledge base
Before deriving the list, skim the entry headings of
knowledge/gotchas.md and
knowledge/tmdb-api-notes.md, read the
entries (and any knowledge/decisions/ ADR) relevant to what you are about to
build, and say in one line what you consulted — consulted: <entries | none relevant>. Captured knowledge only compounds if it is read before the code,
and half these entries exist precisely to stop a test list being written with a
known trap missing from it.
/deliver does this at its Phase 0, so a run reaching here through the pipeline
has it already; this step is what makes a standalone /implement-plan
equivalent rather than a knowledge-blind shortcut.
Step 1 — Derive and show the test list
Invoke the **`canon
Установить implement-plan в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл implement-plan?
Implement the current plan test-first, the Canon TDD way, driving to a single finishing condition — an empty test list. Derives a Canon TDD test list from the plan, shows it before any code, writes one failing test at a time, and keeps the list visible as it evolves. Use when the user asks to implement, build, or execute the current/approved plan.
Как установить скилл implement-plan?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл implement-plan запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This 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…
от Anthropic