write-implementation-plan
Use when the user says plan before coding, write an implementation plan or implementation_plan.md, propose changes first, or what files would you change for a…
от j4flmao★ 47 звёзд на GitHub
Установить write-implementation-plan в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Write Implementation Plan
Purpose
Prevent blind edits on non-trivial tasks. The agent reads the relevant code first, then writes a short plan naming exactly which files change and how the result will be verified, and waits for approval when the user or workflow requires it. Small, unambiguous changes (one file, obvious fix) skip the plan and are executed directly.
Agent Protocol
Trigger
"plan first", "implementation plan", "implementation_plan.md", "propose the changes", "don't code yet", "how would you implement", multi-file feature requests in an approval-gated workflow.
Input Context
- The task statement and acceptance criteria.
- Relevant files found by searching the codebase (entry points, call sites, tests, configs).
- Project conventions (CLAUDE.md/AGENTS.md, lint/test commands).
Output Artifact
implementation_plan.md (or the plan inline in chat if no file is wanted).
Response Format
# {Task title}
## Goal
{1-2 sentences: the observable outcome}
## Findings
- {file:line} — {what exists today that matters}
## Open Questions
> [!WARNING]
> {ambiguity that changes the design; propose a default}
## Proposed Changes
### {Component}
- [MODIFY] `path/to/file.ts` — {what and why}
- [NEW] `path/to/new_file.ts` — {purpose}
- [DELETE] `path/to/dead.ts` — {why safe}
## Verification Plan
- Automated: `{exact test/lint/build command}`
- Manual: {steps and expected result}
## Risks / Rollback
- {risk} -> {mitigation}
When to Plan vs Act
| Situation | Action |
|---|---|
| One-file fix, clear request | Act directly; no plan |
| Multi-file feature, refactor, schema/API change | Plan |
| Requirements ambiguous in a way that changes design | Plan with Open Questions, ask before coding |
| Destructive or irreversible changes (data migrations, deletes, prod config) | Plan + explicit approval |
| User said "just do it" | Act; mention assumptions in the summary |
Research Before Planning
- Locate entry points (routes, CLI commands, handlers) with code search.
- Trace call sites of every function you plan to change.
- Read existing tests for the area; note the test command.
- Check conventions: error handling, logging, naming, folder structure.
- Record findings with file paths and line numbers — every proposed change should trace to a finding.
Plan Quality Rules
- Every change names a concrete path; no "update relevant files".
- Order changes by dependency (types/schema → logic → API → UI → tests).
- Prefer modifying existing modules over adding new abstractions.
- State non-goals to block scope creep.
- Verification uses real commands from the repo (
package.jsonscripts,Makefile,pyproject.toml). - Keep it short: a reviewer should approve or correct it in under 2 minutes.
After Approval
- Execute in the planned order; track progress with agent-task-checklist on long tasks.
- If reality diverges from the plan (unexpected coupling, failing tests), stop and update the plan rather than silently changing scope.
- Finish with the verification commands and report actual output.
Anti-Patterns
| Anti-pattern | Fix |
|---|---|
| Planning without reading code | Findings section with file:line evidence |
| Plan restates the request | Plan names files, order, verification |
| Huge plan for a typo fix | Act directly |
| Hidden assumptions | Open Questions with proposed defaults |
| "Tests pass" without running them | Report command output |
Checklist
- Goal stated as observable outcome
- Findings cite real files
- Every change tagged NEW/MODIFY/DELETE with path
- Open questions listed with defaults
- Verification commands exist in the repo
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл write-implementation-plan?
Use when the user says plan before coding, write an implementation plan or implementation_plan.md, propose changes first, or what files would you change for a multi-file task. Produces a file-level implementation plan with open questions and verification steps before edits. Not for product requirements (use create-prd) or architecture docs (use create-tech-spec).
Как установить скилл write-implementation-plan?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл write-implementation-plan запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…