agentleFS
helderbertohelderberto/agent-skills/skills/plan/SKILL.md

plan

Skill16 starsChanged 7 months agoMITView on GitHub

Turn a spec into a multi-phase implementation plan of tracer-bullet vertical slices. Use after /spec when `.specs/specs/<slug>.md` exists, or when asked to break work into phases or slices. Don't use without a spec, or for single-file changes with obvious scope.

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

9 rules. 0 are common, 6 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 158 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use argument as <slug>. If empty, list specs as numbered options and wait for the user's choice.

    line 18
  2. Very specific:

    Read .specs/specs/<slug>.md.

    line 24
  3. Very specific:

    If .specs/plans/<slug>.md exists, ask: overwrite (Recommended) or new name.

    line 26
  4. Distinctive:

    Before slicing, extract decisions that hold across all phases:

    line 36
  5. Distinctive:

    Phase naming: use a goal phrase answering "what can we demo when this is done?" (e.g., "Phase 1 — Revenue visible end-to-end"), not a layer …

    line 62
  6. Distinctive:

    Layer-by-layer exception: if complex schema changes underpin all modules and no story stands alone, build data foundation first, then slice …

    line 68
  7. Distinctive:

    Use this structure for the plan body:

    line 100
  8. Distinctive:

    Safety valve: if a phase has >5 "Done when" items, stop and split it into smaller phases before continuing

    line 146
  9. Distinctive:

    Never modify the source spec content

    line 147

“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

Break a spec into phased vertical slices (tracer bullets).

Output: .specs/plans/<slug>.md.

Input

The argument (if provided) is: $ARGUMENTS

Use argument as <slug>. If empty, list specs as numbered options and wait for the user's choice.

Workflow

1. Read the spec

Read .specs/specs/<slug>.md. If missing, list specs as numbered options and wait for the user's choice.

If .specs/plans/<slug>.md exists, ask: overwrite (Recommended) or new name.

2. Explore the codebase

Map architecture, patterns, integration points. Skip if codebase context exists from prior step.

Research protocol: codebase first, then docs. Unverifiable claims → flag as uncertain, never fabricate.

3. Identify durable architectural decisions

Before slicing, extract decisions that hold across all phases:

  • Route structures / URL patterns
  • Database schema shape
  • Key data models and definitions
  • Auth/authorization approach
  • Third-party service boundaries

4. Draft vertical slices

Each phase: thin vertical slice through all layers (schema → service → API → UI → tests). Demoable alone.

Deriving tasks from the spec:

Spec SectionBecomes
New ModulesImplement module with interface
Schema ChangesMigration + validation
API ContractsRoute returning shape
NavigationWire component to route
User StoriesVerify coverage; add task if missing
Testing DecisionsTests land in the phase where their module lands
Out of ScopeNever create tasks for these

Within each slice, order by dependency: schema → service → API → UI → tests. Happy paths before edge cases.

Phase naming: use a goal phrase answering "what can we demo when this is done?" (e.g., "Phase 1 — Revenue visible end-to-end"), not a layer name. An "and" in a phase title is a sign it's two phases.

Blocking edges: each phase declares which phases must complete before it can start. Default to a linear chain (each phase blocked by the previous); declare independent edges only when phases genuinely don't gate each other — two independent phases mean two /build invocations can work the frontier in parallel.

Done when: checkbox list of atomic, verifiable conditions. Each must name a test file/name, a shell command, or a file+content to verify. No prose-only conditions. Test: "Can an agent verify by reading files, running a command, or checking a test?"

Layer-by-layer exception: if complex schema changes underpin all modules and no story stands alone, build data foundation first, then slice vertically.

Wide-refactor exception: a mechanical change (rename a column, retype a shared symbol) whose blast radius fans across the codebase can't land as a vertical slice — a single edit breaks every call site at once. Sequence it as expand → migrate → contract: expand adds the new form beside the old (nothing breaks); call sites migrate in batches sized by blast radius (per package/directory), each batch its own phase blocked by the expand, CI green throughout because the old form still exists; contract deletes the old form in a final phase blocked by every migrate batch.

Phase count thresholds:

  • 1 module touched → 2–3 phases max
  • 2–3 modules touched → 3–5 phases max
  • 4+ modules or 6+ phases → stop and present options:
    1. Split the spec (Recommended)
    2. Continue anyway

Count "modules touched" by scanning the spec's New Modules and Schema Changes sections.

Assign an agent tag to tasks where appropriate:

  • [skill:diagnose] — tracing a bug or unexpected runtime behavior
  • [agent:test-auditor] — writing or reviewing tests
  • [skill:code-review] — reviewing API surfaces, interfaces, or public contracts

5. Quiz the user

Present the breakdown (title, user stories covered, done-when per phase) and ask: proceed (Recommended), merge phases, or split a phase. Iterate until approved.

6. Save plan

Save to .specs/plans/<slug>.md (create dir if missing).

# Plan: <Feature Name>

Use this structure for the plan body:

## Architectural Decisions

Durable decisions that apply across all phases:

- **Key decision**: ...

---

## Phase 1 — <Goal>

**User stories**: <list from spec>

**Blocked by**: None — can start immediately <!-- later phases: "Phase 1" etc. -->

### What to build

Concise description of this vertical slice — end-to-end behavior, not layer-by-layer.

### Done when

- [ ] Atomic, testable condition
- [ ] Another testable condition

---

<!-- Repeat for each phase -->

## Out of Scope

Carried forward from spec verbatim.

## Open Questions

Gaps found in the spec needing resolution. Blank if none.

Print one line per phase: Phase N — <title> (<condition summary>). Next: /build <slug> (Recommended — one phase per invocation), /test <slug>, or done for now.

Rules

  • Phases derive from spec user stories — never invented
  • Each phase must be demoable end-to-end on its own
  • "Done when" must be a checkbox list of testable conditions, not prose
  • Safety valve: if a phase has >5 "Done when" items, stop and split it into smaller phases before continuing
  • Never modify the source spec content
  • Carry spec's Out of Scope forward verbatim

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.