agentleFS
nacif-softwarenacif-software/skills/skills/plan-implementation/SKILL.md

plan-implementation

Skill2 starsChanged 5 months agoMITView on GitHub

Use when a design doc, PRD, issue, or approved requirements need to become a concrete implementation plan before coding or delegating work.

4 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. 0 are common, 11 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 11

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When model selection is available, author and review the plan with the strongest available reasoning model.

    line 21
  2. Very specific:

    Use after design-feature when the user chooses to plan or implement.

    line 27
  3. Distinctive:

    Use before dispatching subagents, creating issues, or starting non-trivial coding.

    line 28
  4. Distinctive:

    Use when a design exists but exact files, tests, dependencies, and task order are not written down.

    line 29
  5. Distinctive:

    Do not use for tiny mechanical edits with explicit files and tests.

    line 31
  6. Distinctive:

    Read the source artifact and extract goal, decisions, out-of-scope items, and acceptance criteria.

    line 35
  7. Distinctive:

    Create, modify, or delete paths.

    line 41
  8. Distinctive:

    Write task steps with enough detail to execute:

    line 59
  9. Distinctive:

    Test or verification command.

    line 61
  10. Very specific:

    Do not run execute-plan until required test strategy and PR boundary artifacts are present or explicitly unnecessary, and no Critical or …

    line 72
  11. Distinctive:

    Every source requirement maps to at least one task.

    line 149
  12. Distinctive:

    Every task has a worker profile and escalation condition.

    line 154
  13. Distinctive:

    Test strategy names useful seams, expected red/green signals, and do-not-test choices.

    line 159

“Common” is measured: kept by at least 6 in 10 of the 4 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Plan Implementation

Purpose

Turn an approved design or requirement artifact into a decision-complete build plan. The plan should be precise enough for execute-plan or another agent to implement without inventing architecture, file ownership, test strategy, task order, or PR scope.

When model selection is available, author and review the plan with the strongest available reasoning model. In Claude Code, prefer the strongest available Anthropic model for this judgment-heavy work.

When to use

  • Use after design-feature when the user chooses to plan or implement.
  • Use before dispatching subagents, creating issues, or starting non-trivial coding.
  • Use when a design exists but exact files, tests, dependencies, and task order are not written down.
  • Do not use for tiny mechanical edits with explicit files and tests.

Procedure

  1. Read the source artifact and extract goal, decisions, out-of-scope items, and acceptance criteria.
  2. Discover repo rules and nearby implementation patterns before planning.
  3. Pick test seams before task seams. Use test-strategy when behavior, risk, or verification is non-trivial.
  4. Map files and responsibilities:
    • Create, modify, or delete paths.
    • What each file owns.
    • Which files must not be touched.
  5. Split work into vertical tasks that each leave the project closer to working software. Avoid all-backend, all-frontend, all-tests task splits.
  6. Mark task dependencies, parallel safety, and worker profile:
    • Parallel-safe only when write scopes are disjoint or isolated and shared interfaces are already specified.
    • Sequential when tasks share files, contracts, migrations, or unresolved decisions.
    • Mechanical: narrow, decision-complete work suitable for a fast model.
    • Integration: cross-file work suitable for a balanced model such as Claude Sonnet.
    • Judgment: architecture or ambiguous work that must stay with the strongest model or return to planning before dispatch.
  7. Recommend PR shape or call pr-boundary when the landing shape is non-trivial:
    • One PR, stacked PRs, separate PRs, prep plus feature, migration sequence, or follow-up work.
    • What belongs together and what should be split.
    • Why the boundary is safe for review, deploy, and rollback.
  8. Write task steps with enough detail to execute:
    • Exact files.
    • Test or verification command.
    • Expected failing signal for new tests.
    • Expected passing signal after implementation.
    • Code snippets for public interfaces, schemas, test skeletons, state machines, commands, or tricky logic.
  9. Include implementation code only where it prevents ambiguity. Do not paste large obvious bodies just to look precise.
  10. Self-review the plan before handoff.
  11. For non-trivial, delegated, parallelized, risky, or multi-PR work, enforce the default pre-execution route: test-strategy, pr-boundary, review-plan, then execute-plan.
  12. Do not run execute-plan until required test strategy and PR boundary artifacts are present or explicitly unnecessary, and no Critical or Important review-plan findings remain.
  13. Offer next step: stop at plan, create or review test-strategy, decide pr-boundary, review with review-plan, split into issues, or run execute-plan after the gates are clear.

Plan contract

# <Feature> Implementation Plan

## Goal
<one paragraph>

## Source
- Design/PRD/issue: `<path-or-url>`

## Architecture
- <implementation approach>
- Test seam: <where behavior is verified>
- Test strategy: <path or inline summary if `test-strategy` was used>

## File Map
- Create: `<path>` - <responsibility>
- Modify: `<path>` - <responsibility>
- Do not touch: `<path>` - <reason>

## Task Graph
- Task 1: <name> - blocked by: none - parallel: no/yes, <reason> - worker: mechanical/integration/judgment
- Task 2: <name> - blocked by: Task 1 - parallel: no/yes, <reason> - worker: mechanical/integration/judgment

## PR Shape
- Recommended: one PR / stacked PRs / separate PRs / prep plus feature / migration sequence / follow-up.
- Same PR: <changes that belong together and why>
- Separate or follow-up: <changes to split and why>
- Boundary artifact: <path or inline summary if `pr-boundary` was used>

## Tasks
### Task 1: <name>

**Files**
- <paths>

**Acceptance criteria**
- <observable result>

**Worker profile**
- Tier: mechanical / integration / judgment
- Reason: <why this tier can execute without inventing decisions>
- Escalate when: <missing context, architecture choice, unexpected coupling>

**Steps**
- [ ] Write or update the focused test.
  - Run: `<command>`
  - Expected: <specific failure>
  - Contract snippet:
    ```<language>
    <test, interface, schema, or state shape>
    ```
- [ ] Implement the smallest change that satisfies the test.
- [ ] Run targeted verification.
  - Run: `<command>`
  - Expected: <specific success>
- [ ] Update docs or fixtures if required.

## Final Verification
- `<command>` should <expected result>

## Execution Gate
- Test strategy: artifact path / not needed because <reason>
- PR boundary: artifact path / one PR is safe because <reason>
- Plan review: Ready / not needed because <reason>

Self-review checklist

  • Every source requirement maps to at least one task.
  • No placeholders remain.
  • File paths are exact.
  • Task dependencies are explicit.
  • Parallel-safe claims explain why the tasks will not collide.
  • Every task has a worker profile and escalation condition.
  • Mechanical and integration workers do not need to invent architecture.
  • PR shape names what stays together and what splits, or references a pr-boundary artifact.
  • Tests verify behavior through useful interfaces.
  • Test strategy names useful seams, expected red/green signals, and do-not-test choices.
  • Code snippets lock contracts, not speculative implementation detail.
  • review-plan can evaluate the plan without reading the full conversation.
  • execute-plan can run from this plan without reading the full conversation.
  • The execution gate states whether test-strategy, pr-boundary, and review-plan are complete or explicitly unnecessary.

Common mistakes

  • Writing a design summary instead of a build plan.
  • Hiding decisions in vague steps such as "add validation" or "handle errors".
  • Planning horizontal layers instead of vertical slices.
  • Marking tasks parallel-safe before shared contracts are stable.
  • Assigning a fast worker to a task that still contains design decisions.
  • Spending the strongest model on mechanical edits after the plan removed ambiguity.
  • Hiding refactors, migrations, cleanup, or optional polish inside the feature PR.
  • Treating PR shape as a final packaging detail instead of an implementation input.
  • Omitting the expected red failure for new tests.
  • Saying "add tests" instead of producing a risk-based test-strategy.
  • Treating review-plan as optional for delegated, parallel, risky, or multi-PR implementation.

Success criteria

  • The plan is decision-complete.
  • A worker can implement each task from the plan plus local repo context.
  • Reviewers can check spec compliance task by task.
  • review-plan can evaluate coverage, tests, risk, parallel safety, and PR shape.
  • Execution can proceed with minimal subagent briefs, not full chat history.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.