scc-prd
Skill4 starsChanged 2 months agoApache-2.0View on GitHub
Turn an initiative spanning more than one feature into a plan under plans/: a short header, a checklist, and references to the specs built separately. Use it for a PRD, a roadmap item, an epic, or an idea too large for one spec.
In this repository9 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- gauntlet-loopSkill
- scc-adrSkill
- scc-codewikiSkill
- scc-glossarySkill
- scc-initSkill
- scc-plan-runSkill
- scc-stackSkill
- scc-wikiSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
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
- Distinctive: line 45
What does "done" mean for the whole of it?: Not per feature — the condition under which the initiative is finished and the plan can be …
- Distinctive: line 50
Ask them together, offer concrete options rather than open prompts, and stop asking once you can name the leaves.
- Very specific: line 93
Check the vocabulary: Every term the plan coins is a term three specs will inherit.
- Very specific: line 97
Use the adr skill, and cite the record from the item it governs.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
You take an initiative that is too big for one spec and turn it into a plan: one
file under plans/, holding the decomposition and nothing else.
A note on the word. "PRD" is what you arrive with — a product document, a
roadmap line, a paragraph in a chat. It is not an artifact this project keeps. The
artifact is a plan, and the vocabulary in
.claude/rules/routing.md is what the rest of the workspace uses. Do not
create a docs/prd/ directory.
Nothing asked for
$ARGUMENTS is the initiative. Check the routing question before you start: work
that is one feature with unsettled requirements is a spec, not a plan — run
scc spec new <feature> rather than wrapping one feature in a plan for ceremony.
First, check this is a plan at all
.claude/rules/routing.md asks one question, and it is worth asking
before you start: does this need requirements and a design settled before any code?
- Too large for one spec — decomposes into several. That is a plan. Continue.
- One feature, requirements not yet settled — that is a spec. Run
scc spec new <feature>and writerequirements.md. Do not wrap one feature in a plan for ceremony. - Small enough that the what was never in doubt — that is a plan too, but a bare checklist. Skip the interrogation below and write the list.
Then find out what it really is
An initiative arrives underspecified. Your job before writing anything is to make it specific enough to decompose, and the fastest way there is a small batch of concrete multiple-choice questions, asked once — not a long interview, and not guessing:
- Who is this for, and what can they not do today? An initiative that cannot name the user is not ready to be decomposed.
- What is in and what is explicitly out? The out-list is the more valuable half; it is the one that prevents the third spec from growing a fourth.
- What does "done" mean for the whole of it? Not per feature — the condition under which the initiative is finished and the plan can be closed.
- What is already decided and not up for discussion? A deadline, a vendor, an existing system that has to keep working.
Ask them together, offer concrete options rather than open prompts, and stop asking once you can name the leaves. If a question's answer would not change the decomposition, do not ask it.
Decompose
scc plan new <name>Then fill it in. The plan's sections are closed — the title, one to three
sentences, then ## Why, ## Paths, ## References, ## Out of scope, ## Tasks,
## Done when, and nothing else. There is deliberately nowhere for prose to grow: the
file is carried by every session that runs it. The rules it must hold to:
## Tasksholds the work;## Referencesnames the specs. A task carries a checkbox and the box is its state. A reference carries none — that spec's state lives in that spec and is read from there. An item that does both keeps two records of one fact, andscc validatereports it asplan.item-has-two-records.- A referenced spec is an ordinary spec.
specs/<feature>/is not nested under the plan and is built by exactly the same rules as one somebody asked for directly. A task that consumes one is ticked when that spec closes. - Each spec-sized piece is one coherent feature — something a person could describe in a sentence and verify on its own. If it needs three sentences and an "and", it is two.
- Order is
_Depends_, not position. A task that cannot start until another is done says so:_Depends 1.1_._Priority 2_breaks a tie. Nothing else records order, and nothing restates it in prose. - A plan is work, not knowledge. It lives in
plans/, never indocs/.
Referenced specs must exist, or scc validate reports plan.unknown-spec. Create
them with scc spec new as you name them — an empty spec directory is a real
placeholder; a reference to nothing is a broken plan.
Before you hand it over
scc validate— exit 0, or fix what it names. Thenscc plan approve <name>, which fixes the content and seals it, so a later edit outsidesccis visible rather than silent. Approving is the hand-over.- Read the list back as a whole and ask what is missing. Migration, backfill, the switch-over, the thing that has to keep working while this ships, and how it gets turned off if it goes wrong. Decompositions fail at the seams, not in the middle of a feature.
- Check the vocabulary. Every term the plan coins is a term three specs will
inherit. If any of them is contested or new, use the
glossaryskill now, while it costs one edit. - A choice made here that is hard to reverse is an ADR, not prose in the plan.
Use the
adrskill, and cite the record from the item it governs.
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.

