plan
Skill2 starsChanged 2 months agoMITView on GitHub
Evidence-based implementation planning that writes a final Markdown artifact to disk. Use when the user asks for an implementation plan, a multi-file feature needs sequencing before coding, a migration or compatibility change needs rollout steps, or another engineer or agent needs a codebase-grounded handoff.
184 other projects use a version of this.
Adopted by
Most recently taken up by
- phuthuycoding/kanban-flowtheir own version, first seen Nov 8, 2026
- PeanutGT/NutsSkillstheir own version, first seen Nov 8, 2026
- domengabrovsek/agent-configtheir own version, first seen Nov 8, 2026
- domengabrovsek/claudetheir own version, first seen Nov 8, 2026
- codewithmukesh/dotnet-claude-kittheir own version, first seen Nov 8, 2026
- joeldevz/skynex-pitheir own version, first seen Nov 8, 2026
Used with
Projects with it also use heartmula, webhook-subscriptions and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
math-incSkillheartmula
Set up and run HeartMuLa, the open-source music generation model family (Suno-like). Generates full songs from lyrics + tags with multilingual support.
Also in 9 projects that use this
Tommy-ywSkillwebhook-subscriptions
Create and manage webhook subscriptions for event-driven agent activation, or for direct push notifications (zero LLM cost). Use when the user wants external services to trigger agent runs OR push notifications to chats.
Also in 5 projects that use this
math-incSkillminecraft-modpack-server
Set up a modded Minecraft server from a CurseForge/Modrinth server pack zip. Covers NeoForge/Forge install, Java version, JVM tuning, firewall, LAN config, backups, and launch scripts.
Also in 5 projects that use this
john-data-chenSkilltouchdesigner-mcp
Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.
Also in 6 projects that use this
gaebalaiSkillcodex-system
PROACTIVELY consult Codex CLI, your highly capable supporter with exceptional reasoning and task completion abilities. Codex is a trusted expert you should ALWAYS consult BEFORE making decisions on: design choices, implementation approaches, debugging strategies, refactoring plans, or any non-trivial problem. When uncertain, consult Codex. Don't hesitate - Codex provides better analysis. Explicit triggers: "think deeper", "analyze", "second opinion", "consult codex".
Also in 3 projects that use this
ibahgatSkillcontext-optimize
Improve context efficiency and cache stability for long or complex sessions.
Also in 3 projects that use this
- +3 more from math-inc
Other versions184 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 184
- Yeachan-Heo/oh-my-codex★ 34ksame name
- crbnos/carbon★ 2.8ksame name
- graphistry/pygraphistry★ 2.6ksame name
- zereight/gitlab-mcp★ 2.1ksame name
- math-inc/OpenGauss★ 1.3ksame name
- kdlbs/kandev★ 1.1ksame name
- suboss87/FDEOps★ 940same name
- codewithmukesh/dotnet-claude-kit★ 808same name
- witnesstodark/mr-mak-workspace★ 718same name
- loongclaw-ai/loongclaw★ 640same name
174 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository25 other files it gives its agents.
- AGENTS.mdAGENTS.md
- humanizer-zhSkill
- backend-patternsSkill
- frontend-patternsSkill
- security-reviewSkill
- fastapiSkill
- python-projectSkill
- ts-backendSkill
- ts-frontendSkill
- readmeSkill
- codebase-designSkill
- code-reviewSkill
- coding-standardsSkill
- domain-modelingSkill
- fixSkill
- grillingSkill
- living-docs-governanceSkill
- prototypeSkill
- publish-ticketsSkill
- resilienceSkill
- session-handoffSkill
- specSkill
- systematic-debuggingSkill
- tddSkill
- verificationSkill
The file
We split this skill into the rules it gives an agent
12 rules. 0 are common, 11 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 167 edited versions we read keep these.
11
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 32
Read references/codebase-evidence.md.
- Distinctive: line 34
Use exact paths and symbols only after verifying that they exist.
- Distinctive: line 40
Start with the smallest strategy consistent with the repository's existing architecture.
- Distinctive: line 46
Avoid architecture changes whose benefit is unrelated to the requested behavior.
- Distinctive: line 63
Use signatures, schemas, state transitions, or short pseudocode only when they encode a decision that prose cannot preserve precisely.
- Distinctive: line 74
test seam and RED condition (predicted failing test or characterization — asserted by the plan, written by the executor).
- Distinctive: line 79
Use horizontal steps only when the work is inherently cross-cutting or cannot remain compatible as a vertical slice.
- Distinctive: line 116
After the plan passes self-review, create the parent directory, write the complete Output Contract as one Markdown file, read it back, and …
- Distinctive: line 118
Stop for a reply only when an open question is blocking or the user explicitly requested a review gate.
- Distinctive: line 128
add a revision section at the top recording what changed, the trigger, the date, and the revision it supersedes, and state there that it …
- Very specific: line 132
When a revision changes a slice already published as a ticket, follow the supersession form in publish-tickets.
- Distinctive: line 140
Use the smallest depth that leaves no implementation decision hidden.
“Common” is measured: kept by at least 6 in 10 of the 167 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Implementation Planning
Turn a sufficiently clear coding goal into an executable, verifiable change plan. Inspect the repository before naming changes. Planning produces decisions and ordered work; the final plan artifact is its only expected repository change.
Workflow
1. Establish the implementation contract
Extract:
- source specification path and status when one exists;
- intended observable outcome;
- in-scope and out-of-scope behavior;
- originating
REQ,INV, andACidentifiers; - acceptance evidence;
- technical and business constraints supplied by authoritative sources;
- assumptions and unresolved decisions.
Validate a supplied specification before planning: it must be ready, internally traceable, and authoritative for desired behavior. Preserve its identifiers and meaning. Repository code is evidence of current behavior, not proof of desired product policy.
Ask only about decisions that cannot be discovered and would materially change behavior, safety, compatibility, persistent data, cost, or public interfaces. When unresolved product or policy truth affects any of those outcomes or acceptance meaning, stop and settle it in the spec stage first — run the spec procedure (the spec skill when loaded, or /skill:spec when the user prefers) — planning must not synthesize product decisions silently. Only technical assumptions that do not alter desired behavior or safety may remain open in a persisted plan.
Completion criterion: the goal is testable, scope is bounded, every material product decision is resolved in the source specification or authoritative input, and remaining technical assumptions are explicit.
2. Trace the current code path
Read references/codebase-evidence.md. Locate the relevant entry point, call/data flow, state ownership, external boundaries, similar implementation, tests, configuration, and authoritative verification commands.
Use exact paths and symbols only after verifying that they exist. Distinguish confirmed facts from proposals.
Completion criterion: the plan can explain where the behavior enters, where it is decided, where state or effects occur, and where it is currently tested.
3. Choose the change strategy
Start with the smallest strategy consistent with the repository's existing architecture. Compare alternatives only when a real decision exists. For each viable option state:
- what boundary or invariant it changes;
- compatibility and operational consequences;
- why it is selected or rejected.
Avoid architecture changes whose benefit is unrelated to the requested behavior. If preparatory refactoring is necessary, identify the concrete obstruction it removes.
Completion criterion: one strategy is selected from explicit constraints rather than preference.
4. Build the change map
List each verified integration point:
<path> :: <symbol or section>
Current responsibility:
Planned responsibility:
Interface/data impact:Include created, modified, moved, and deleted artifacts; tests; schemas/migrations; configuration; documentation; generated artifacts; and public contracts only where applicable.
Use signatures, schemas, state transitions, or short pseudocode only when they encode a decision that prose cannot preserve precisely. Do not write the implementation inside the plan.
Completion criterion: every planned artifact has a reason to change and every affected boundary has an owner.
5. Slice and order the work
Read references/slicing-and-dependencies.md. Prefer vertical slices that deliver one observable behavior through the required layers and remain buildable after each slice. Name each slice's boundary in the codebase-design vocabulary (module, interface, seam, adapter, depth) so the test surface and what the slice hides can be evaluated per slice. Give each slice:
- behavior delivered;
- files and symbols changed;
- interface or data decisions;
- test seam and RED condition (predicted failing test or characterization — asserted by the plan, written by the executor);
- implementation outline;
- focused and broader verification;
- dependencies and risks.
Use horizontal steps only when the work is inherently cross-cutting or cannot remain compatible as a vertical slice. For schema, API, protocol, or broad migrations, read references/migrations-and-rollout.md.
Completion criterion: dependency order is explicit, no slice relies on hidden work, and each slice ends in an independently verifiable repository state.
6. Define the verification contract
Derive completion evidence from the requirement, repository policy, selected design, and affected risks. For every evidence item record:
- claim and affected scope;
requiredoroptionalstatus;- owner and earliest stage when the evidence is due: debugging, TDD, verification, review, release, or operator;
- proving method: command, manual observation, operational signal, migration/reconciliation record, security review, or compatibility evidence;
- authority: requirement, repository instruction, CI job, configuration, or explicit risk decision;
- exact command or observable result, including prerequisites.
Compact plans may compress these fields into stated common defaults — for example: every evidence item required, owner = executor, due at the verification stage, authority = the repository configuration the row cites — with per-row overrides. The fields are compressed, never dropped.
Separate focused RED/GREEN evidence, affected package checks, repository-required gates, and evidence automation cannot prove. Do not invent a coverage threshold or require every test level. Match the contract to the risk and existing project policy.
When a slice waits on a remote dependency, shares a capacity limit, or writes outside the repository's own boundary, the contract carries one item per affected wait: the upper bound allowed, the enforcement point that applies it, and, when a resilience assessment exists, the budget decision it implements. Record the bound together with the authority that set it — repository configuration, project policy, or the caller — and mark the item required when no value is available yet instead of choosing one here. An inherited default, such as a connection pool's own timeout, is not a recorded bound.
Planning defines this contract but does not execute it. Execution is a separate stage: TDD supplies behavior-cycle evidence at each named seam, and the verification phase — run by the executor, or via /skill:verification — decides which evidence is reusable, runs the missing gates, and states the final gate verdict.
Completion criterion: every acceptance condition and material risk maps to a required or optional proving method without assigning the same gate to multiple executors.
7. Self-review and persist the plan
Read references/plan-quality.md and repair gaps before writing. Confirm requirement coverage, path/symbol existence, interface consistency, dependency ordering, migration safety, and verification traceability. For traceability, confirm that each contracted command names the test file or test name it collects, and that a command whose tests arrive in a later slice names the planned test path and the owner who backfills it.
Choose the artifact path in this order:
- an exact path supplied by the user;
- an authoritative plan directory defined by the repository;
docs/plans/YYYY-MM-DD-<slug>.md.
Build <slug> from the plan title as lowercase ASCII kebab-case; use implementation-plan when no safe slug remains. Use the current local date. Preserve existing artifacts: if the path exists, append -2, -3, and so on before .md rather than overwriting it.
After the plan passes self-review, create the parent directory, write the complete Output Contract as one Markdown file, read it back, and confirm that no section was truncated. Return the artifact path and a concise summary in the conversation instead of duplicating the full plan.
Stop for a reply only when an open question is blocking or the user explicitly requested a review gate.
Completion criterion: the final, self-reviewed plan exists at the reported path and its contents match the plan summary.
Revise an approved plan
An approved plan that conflicts with its source specification, cannot falsify an acceptance criterion, or no longer matches the repository is revised, never quietly reinterpreted. Return the conflicting semantics to the owner that holds them — spec or domain-modeling when loaded — before rewriting implementation text: a mechanism that cannot fail the criterion is a specification question, not a planning one.
Then, in the plan artifact:
- add a revision section at the top recording what changed, the trigger, the date, and the revision it supersedes, and state there that it takes precedence over the sections it touches, so a reader is not left to infer precedence;
- rewrite every statement the revision invalidates in place — counts, identifiers, migrations, rollback — or mark it
superseded by <section>where rewriting would destroy the record; - mark affected downstream slices, and the tickets published from them, stale by name.
When a revision changes a slice already published as a ticket, follow the supersession form in publish-tickets; a ticket and its plan must never describe different work.
Choose the Depth
- Compact: one or two local files, established pattern, no persistent-data or public-contract change. Return current path, ordered changes, tests, and verification — compressing the presentation, not the evidence contract: record the base revision and state each verification command's claim, scope, and proving method, with
required/optional, owner/stage, and authority carried as stated defaults or per-row overrides, so downstream stages do not rediscover or re-guess them. - Standard: several modules or a new behavior crossing boundaries. Use the full output contract.
- Migration: persistent data, public API/protocol, dependency replacement, multi-stage rollout, or compatibility window. Include transition states, rollback, observability, and cleanup.
Use the smallest depth that leaves no implementation decision hidden.
Output Contract
# Implementation Plan: <change>
## Goal and Scope
## Source Specification
## Requirement Traceability
## Repository Evidence
## Selected Strategy
## Change Map
## Implementation Slices
### 1. <observable deliverable>
- Changes
- Interfaces/data
- Test seam and RED condition
- Implementation outline
- Verification
- Blocked by
- Risks
## Migration and Rollback
Include this section only when the change involves persistent data, a public contract, or multi-stage rollout.
## Final Verification
## Assumptions and Open Questions
## Non-GoalsThe Requirement Traceability section maps every originating REQ, INV, and AC identifier to implementation slices and final evidence, with each gate citing the slice's own command and the target it exercises. The Final Verification section is the durable verification contract. Preserve each item's claim, scope, requirement level, owner/stage, method, authority, and expected evidence so downstream Skills do not have to rediscover or reinterpret it. Record the base revision - the current commit at planning time - at the top of Repository Evidence, so downstream stages can detect staleness.
references/example-plan.md shows a worked Compact-depth plan end to end.
A plan is complete when another engineer or agent can execute it without rediscovering the code path or inventing requirements, while retaining freedom over implementation details not decided by the task. Executing the slices follows the tdd skill's red–green cycle at each named seam.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

