<< All versions
Skill v1.0.1
currentAutomated scan100/100blauwtje/exo/spec
+10 new
──Details
PublishedNovember 18, 2026 at 03:34 AM
Content Hashsha256:2297b92cef931a2b...
Git SHA8fe386d2089d
Bump Typepatch
──Files
Files (1 file, 4.3 KB)
SKILL.md4.3 KBactive
SKILL.md · 29 lines · 4.3 KB
name: spec description: "Shapes a request into a brief: the decisions only the user can make, then a plan of tasks that each carry a proof command. Use when the user asks to plan or spec a change ('plan this', 'write a spec'), when a request leaves done, data, architecture or a trade-off open, or the user asks for options or ideas. Not for a clear goal, a failure, or visual-only work." argument-hint: <outcome to shape> metadata: version: "1.0.1"
Spec
Spec settles every decision the user would notice before any code is written, so the build runs without stopping to ask.
Steps
- Verdict. State
Verdict: go,clarifyorstop, andObjection:, the likeliest reason the work fails or is not worth doing, backed by code or an existing tool.clarifyasks the one question that makes itgo;stopwrites no brief and names what already covers the request.
- Fast route: under three files with a known proof, skip questions and plan;
exo:buildedits directly. - The user asked for options or ideas: follow
references/architecture-sketch.mdinstead of the steps below; its draw command isnode "${CLAUDE_SKILL_DIR}/scripts/draw-seats.mjs".
- Find the open decisions. Run
node "${CLAUDE_SKILL_DIR}/scripts/repo-map.mjs"and search its output withgrep -n. Before you send researchers, write a throughput checkpoint of one line each: blocking steps, independent workstreams, shared state and smallest split; writen/aand why for an item that does not apply. For ranges it omits, send up to fourexo:researcheragents (Sources: repo) and one (Sources: docs) for outside facts in one background message. Record what code answers; ask none of it. - Ask one at a time. Ask only for a preference or product outcome only the user knows, where a wrong guess is costly to undo. Take a safe default silently, recorded in Decisions ending
(exo decided). Each question: a bold title ending in?, two or three lines- **(A) Label**: what the user gets, thenRecommended: (A), because <reason>.okor a second "I don't know" takes the recommendation. A decision the user left open stays open. - Write the brief in the shape of
references/example-plan.md. Read thespecssetting withnode --input-type=module -e "import { settingValue } from '${CLAUDE_PLUGIN_ROOT}/lib/settings-store.mjs'; console.log(settingValue('specs'))", store the brief where it prints, and name the place:
docs:docs/specs/<topic>.md; nevergit addit. In plan mode, the harness plan file.issues: one GitHub issue whose body opens<!-- exo:spec -->, with only labels and fields the repository already defines; build reads its copy atnode "${CLAUDE_PLUGIN_ROOT}/lib/scratch-path.mjs" specs/<n>.md. With no GitHuboriginor a failinggh auth status, write the file and say so.both: the file, then the issue naming it; the file wins when they differ.- New wishes for an outcome that already has a brief (a
#<n>, path, branch handoff,<!-- exo:spec -->issue ordocs/specs/file) edit that brief in place, and its decisions stay closed unless the wishes contradict them. node "${CLAUDE_SKILL_DIR}/scripts/plan-template.mjs" done --plan <brief> --root <root>chains the commands of the project's definition-of-done file onto the Success criterion.
- Check it. Run
node "${CLAUDE_SKILL_DIR}/scripts/plan-check.mjs" --plan <brief>andnode "${CLAUDE_SKILL_DIR}/scripts/verdict-check.mjs" --plan <brief>and fix what they flag. - Open points. Unless the plan has at most 3 tasks with static proofs, dispatch
exo:researcher(Sources: repo) in the background with the brief path, to read it as a builder who cannot ask anyone and list each point where a wrong guess changes the build ascode(answer andpath:line),assume(cheap to undo) oruser. Putcodeandassumepoints under## Assumptions, ask eachuserpoint as in step 3, and list an unanswered one under## Open points, whichplan-check.mjsrefuses. Then rerun step 5. - Hand off. Invoked by another stage: return without asking. In plan mode, plan approval is the reply. Else show the brief path or
#<n>, say thatexo:buildruns it next and start nothing before the reply. Onok, invokeexo:buildwith the brief path; on a change, edit the brief, rerun step 5 and ask again.