trellis:prep
Skill2 starsChanged 9 months agoMITView on GitHub
Prepare implementation by decomposing a plan into an ordered task breakdown at .specs/{feature}/tasks.json. Use when a plan is ready and you need discrete, verifiable units of work organized in phases.
In this repository18 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- checkSkill
- lintSkill
- testSkill
- versionSkill
- trellis:buildSkill
- build-with-subagentsSkill
- build-with-batchSkill
- trellis:clarifySkill
- trellis:complianceSkill
- trellis:guidelinesSkill
- trellis:initSkill
- trellis:pitchSkill
- trellis:planSkill
- trellis:runSkill
- trellis:sketchSkill
- trellis:specSkill
- trellis:statusSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 1 is distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 18
Create an ordered task breakdown at .specs/<feature-name>/tasks.json.
- Very specific: line 26
Run python3 ${CLAUDE_PLUGIN_ROOT}/scripts/validate-prereqs.py prep <feature-name> and use the specsDir value from the JSON output.
- Very specific: line 30
If the user runs /prep without additional context:
- Distinctive: line 33
Should tasks be sized for a human developer or for an AI coding agent?
- Very specific: line 35
Always ask these questions, even when invoked automatically from /trellis:build — the user is present and should have the chance to provide …
- Very specific: line 39
After gathering all user input, spawn the task-writer agent.
- Very specific: line 43
After the agent completes, verify the generated tasks.json:
≈ “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
Prep
Prepare a feature for implementation by decomposing its plan into ordered, verifiable tasks.
When to use
- "prep this for implementation", "prepare tasks", "break this into tasks"
- "what do I build first", "generate work items", "create task breakdown"
- Any request to decompose a technical plan into actionable steps or prepare work items for execution
- Called automatically by
/trellis:buildwhentasks.jsondoesn't exist yet
Create an ordered task breakdown at .specs/<feature-name>/tasks.json.
Recommended effort: medium. Mechanical decomposition of the plan into ordered tasks.
Re-running this skill overwrites tasks.json, resetting all task statuses to "pending". This is how you reset an implementation.
Pre-flight
Run python3 ${CLAUDE_PLUGIN_ROOT}/scripts/validate-prereqs.py prep <feature-name> and use the specsDir value from the JSON output. Abort if the output reports missing prerequisites.
What to ask the user
If the user runs /prep without additional context:
- Are there any ordering constraints beyond what the plan implies? (e.g., "I need the API working before the MCP layer so I can demo it")
- Should tasks be sized for a human developer or for an AI coding agent? (This affects granularity. Agent tasks can be smaller and more mechanical. Human tasks should be more self-contained.)
Always ask these questions, even when invoked automatically from /trellis:build — the user is present and should have the chance to provide input.
Generation
After gathering all user input, spawn the task-writer agent. Pass it: the feature name, specs directory path, and all user-provided context. The agent will read prerequisite files (plan.md, spec.md, guidelines.md) and generate tasks.json.
Quality gate
After the agent completes, verify the generated tasks.json:
- Valid JSON that conforms to
schemas/tasks.schema.json - Every plan section maps to at least one task
- Every spec interface has at least one task that implements it
- Every task has a concrete "verify" field
- Tasks are ordered so that each task's dependencies are completed in earlier tasks
- No task requires reading the full plan to understand (it references specific sections)
- The first phase produces something runnable (even if minimal)
- The
checkfield is populated from guidelines.md (or empty string if not available)
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.

