agentleFS
StelliadStelliad/stelliad-skills/skills/plan-spec/SKILL.md

plan-spec

Skill4 starsChanged 2 months agoMITView on GitHub

Read a ready SPEC.md, inspect the repository it governs, and write PLAN.md and TASKS.md beside it, every task carrying its requirement IDs, its dependencies and a verification command that actually exists in the repo. Never modifies application code. Halts and reports the gap if the spec is not ready. Use when saying "plan-spec", "plan out SPEC-X", "write the implementation plan for X", "break this spec into tasks", or "/plan-spec <id-or-path>".

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run it on one ready spec and check every verification command it wrote by running it yourself

    line 30
  2. Distinctive:

    Read the Limitations section in SPEC.md.

    line 50

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

The second step of the spec loop. Turns an approved SPEC.md into a plan grounded in the actual repository, and a task list a fresh session can resume cold. The repository inspection is the point: a plan written from memory of how these things usually look is a guess with headers.

It writes two documents and touches no application code. It won't plan against a spec that isn't ready.

Quick start

  1. Read SPEC.md for the Ready gate, the inspection and the task shape
  2. Follow CUSTOMIZE.md to bind the spec location and the standards files your plan must respect
  3. Run it on one ready spec and check every verification command it wrote by running it yourself

Arguments

  • $1: a spec ID (004, SPEC-004, 004-session-expiry) or a path to a SPEC.md. A path is how a whole-system spec from recover-spec gets planned in place at the repository root. A change to a recovered system goes through create-spec first.

What it does

  1. Finds the spec and gates on it: not ready means stop and report why
  2. Inspects the code the spec touches: stack, runners, patterns, prior art
  3. Writes PLAN.md from create-spec's template, citing what it read
  4. Writes TASKS.md from the task template: atomic tasks, each with requirement IDs, dependencies and a real command
  5. Fills the traceability table with one row per spec ID, and reports anything the repo has no pattern for

Before you rely on it

Read the Limitations section in SPEC.md. A plan is only as good as its verification commands, and a command that runs green while proving nothing looks exactly like one that proves something.


See CUSTOMIZE.md to adapt this skill for your organization.

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.