agentleFS
AbdurRafay2004AbdurRafay2004/handoff/skills/plan/SKILL.md

plan

Skill4 starsChanged 5 months agoMITView on GitHub

Use when a task is T2/T3 — before building a feature that spans multiple files or carries risk. Produces an implementation plan with exact files, complete code steps, and per-stage verification.

179 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use heartmula, minecraft-modpack-server 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.
  • braxtonROSE4Skill

    heartmula

    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 8 projects that use this

  • braxtonROSE4Skill

    minecraft-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 4 projects that use this

  • kevinnftSkill

    touchdesigner-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

  • diego-tobalinaSkill

    build-fix

    Fix build and compilation errors systematically. Run when build fails.

    Also in 7 projects that use this

  • kevinnftSkill

    debugging-hermes-tui-commands

    Debug Hermes TUI slash commands: Python, gateway, Ink UI.

    Also in 3 projects that use this

  • sahinSkill

    execute

    Also in 18 projects that use this

  • +5 more from braxtonROSE4
  • +1 more from kevinnft

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 7 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 158 edited versions we read keep these.

  • 7

    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
  1. Distinctive:

    Write implementation plans assuming the implementer has zero context for this codebase and questionable taste.

    line 10
  2. Distinctive:

    Before planning the how, spend a paragraph on the whether.

    line 26
  3. Very specific:

    If the spec covers multiple independent subsystems, it should have been decomposed during brief.

    line 36
  4. Distinctive:

    Before defining tasks, map which files will be created or modified and what each is responsible for.

    line 42
  5. Distinctive:

    Prefer smaller focused files.

    line 46
  6. Distinctive:

    Each step is one action (2–5 minutes): write the failing test — run it and watch it fail — implement the minimal code — run tests and watch …

    line 60
  7. Distinctive:

    When a design question blocks the plan ("does this state model hold up?"), answer it with a throwaway prototype, not debate.

    line 71
  8. Distinctive:

    After writing the plan, check it against the spec with fresh eyes:

    line 126

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

Part of the Plan phase — see the workflow skill for tiers and sequencing.

Write implementation plans assuming the implementer has zero context for this codebase and questionable taste. Document everything they need: which files to touch per task, the code itself, how to test it, what to check. Bite-sized tasks. DRY. YAGNI. Test-first where the tier demands it. Frequent commits.

Tier scaling

  • T1: skip this skill — no plan, just do the task.
  • T2: short plan as bullets in chat — files to touch, order of work, verification step. No document.
  • T3: written plan file the user approves BEFORE build starts. Trade-offs stated in plain product language. Save to docs/plans/YYYY-MM-DD-<feature>.md (user preferences override).

Step 0 — challenge the premise

Before planning the how, spend a paragraph on the whether. Is this the right problem at all, or a proxy for a simpler outcome — and what actually breaks if we do nothing? Does existing code already solve part of it? Map each sub-problem to what exists before planning anything parallel. Then name the 10x version of the ask — what would deliver 10x the value for 2x the effort? Usually you still plan the ask, but naming the bigger and the do-nothing versions lets the user pick scope deliberately, not by default.

Scope check

If the spec covers multiple independent subsystems, it should have been decomposed during brief. If it wasn't, stop and suggest one plan per subsystem — each producing working, testable software on its own.

File structure first

Before defining tasks, map which files will be created or modified and what each is responsible for. This locks in decomposition decisions.

  • Each file gets one clear responsibility, with well-defined interfaces.
  • Prefer smaller focused files; edits are more reliable when a file can be held in context at once.
  • Files that change together live together — split by responsibility, not by technical layer.
  • In existing codebases follow established patterns; if a file you're modifying has grown unwieldy, a split may be part of the plan.

Task right-sizing

A task is the smallest unit that carries its own test cycle and could be meaningfully accepted or rejected on its own. Fold setup, configuration, and docs into the task whose deliverable needs them. Each task ends with an independently testable deliverable.

Each step is one action (2–5 minutes): write the failing test — run it and watch it fail — implement the minimal code — run tests and watch them pass — commit.

Every task is a vertical slice — a thin, complete path through all the layers it touches (schema, API, UI, tests), demoable or verifiable on its own; never a horizontal pass over one layer. Refactor steps ride along as tiny commits, each leaving the codebase working.

Spikes

When a design question blocks the plan ("does this state model hold up?"), answer it with a throwaway prototype, not debate. Rules: one command to run; no persistence — state lives in memory; skip all polish (no tests, no error handling, no abstractions); surface the full state after every action. A spike answers exactly one question. Capture the answer somewhere durable — the plan itself, a commit message — then DELETE the prototype. The answer is the only keeper.

Plan document structure (T3)

# [Feature] Implementation Plan

**Goal:** [one sentence]
**Tier:** T3 — [why: touches payments / auth / migration ...]
**Architecture:** [2–3 sentences]
**Tech stack:** [key technologies]

## Global constraints
[Project-wide requirements from the spec — version floors, naming rules,
platform requirements — one line each, exact values copied verbatim.
Every task implicitly includes this section.]

### Task N: [Component]
**Files:**
- Create: `exact/path/to/file.ts`
- Modify: `exact/path/to/existing.ts:123-145`
- Test: `tests/exact/path/to/file.test.ts`

**Interfaces:**
- Consumes: [exact signatures this task uses from earlier tasks]
- Produces: [exact names/types later tasks rely on]

- [ ] Step 1: Write the failing test        (show the actual test code)
- [ ] Step 2: Run it — expected: FAIL with [message]
- [ ] Step 3: Minimal implementation        (show the actual code)
- [ ] Step 4: Run tests — expected: PASS
- [ ] Step 5: Commit (exact `git add <files>` — never `git add -A`)

No placeholders

These are plan failures — never write them:

  • "TBD", "TODO", "implement later", "fill in details"
  • "Add appropriate error handling" / "handle edge cases"
  • "Write tests for the above" without the actual test code
  • "Similar to Task N" — repeat the code; tasks may be read out of order
  • Steps that describe what to do without showing how
  • References to types or functions not defined in any task

Exact file paths always. Complete code in every code step. Exact commands with expected output.

Self-review

After writing the plan, check it against the spec with fresh eyes:

  1. Spec coverage — every requirement maps to a task? List gaps, add tasks.
  2. Placeholder scan — any pattern from the list above? Fix.
  3. Type consistency — do names/signatures used in later tasks match what earlier tasks defined? clearLayers() in Task 3 but clearFullLayers() in Task 7 is a bug.

Fix inline; no re-review needed.

Handoff

Execution mode is decided by the workflow tier, not by this skill: inline in this session by default; subagents only when the delegate triggers apply. For T3, present the plan to the user and get approval before building.

Adapted from superpowers (MIT, © 2025 Jesse Vincent), gstack (MIT, © Garry Tan), and mattpocock-skills (MIT, © 2026 Matt Pocock); see ATTRIBUTION.md.

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.