qrspi-spec
Skill3 starsChanged 4 months agoMITView on GitHub
QRSPI Spec phase -- a Design Brain-Dump the human redirects ("brain surgery"), followed by a vertically-sliced Structure Outline. Use for "/qrspi-spec <feature>", "design discussion for X", "structure outline for X", "spec out X from the research". Do NOT use for an open-ended design chat (use spec-coach); this phase consumes research.md and produces an approved spec.md.
In this repository86 other files it gives its agents.
- AGENTS.mdAGENTS.md
- project-templates/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- project-templates/CLAUDE.mdCLAUDE.md
- alembic-migration-managerSkill
- architecture-journalSkill
- architecture-reviewSkill
- automated-code-reviewSkill
- axum-scaffolderSkill
- capture-consolidateSkill
- cargo-package-scaffoldSkill
- code-review-coachSkill
- confluence-guide-writerSkill
- dependency-mapperSkill
- doc-syncSkill
- dotnet-architecture-checklistSkill
- dotnet-controller-api-scaffolderSkill
- dotnet-security-reviewSkill
- dotnet-vertical-sliceSkill
- ef-migration-managerSkill
- email-captureSkill
- environment-healthSkill
- evaluate-testsSkill
- fastapi-scaffolderSkill
- fitness-functionsSkill
- jira-comment-writerSkill
- legacy-migration-analyzerSkill
- minimal-api-scaffolderSkill
- nuget-package-scaffoldSkill
- oss-vettingSkill
- pattern-tradeoff-analyzerSkill
- php-api-scaffolderSkill
- php-architecture-checklistSkill
- php-feature-sliceSkill
- php-migration-managerSkill
- php-package-scaffoldSkill
- php-security-reviewSkill
- pr-feedback-writerSkill
- pypi-package-scaffoldSkill
- python-architecture-checklistSkill
- python-feature-sliceSkill
- python-modernization-analyzerSkill
- python-security-reviewSkill
- qraspi-architectureSkill
- qraspi-graduateSkill
- qraspi-implementSkill
- qraspi-planSkill
- qraspi-questionsSkill
- qraspi-researchSkill
- qraspi-skeletonSkill
- qrspi-implementSkill
- qrspi-planSkill
- qrspi-questionsSkill
- qrspi-researchSkill
- react-app-scaffolderSkill
- react-architecture-checklistSkill
- react-component-scaffolderSkill
- react-feature-sliceSkill
- react-modernization-analyzerSkill
- react-security-reviewSkill
- The first 60 shown.
The file
Files
QRSPI Spec
"Plans are worthless, but planning is everything." -- Adapted from Dwight D. Eisenhower
Core Philosophy
The Spec phase turns objective research into an agreed design BEFORE any plan or code exists. It
runs two movements: a Design Brain-Dump the human performs "brain surgery" on, then a
Structure Outline of signatures and vertical slices. The hard human gate between them is the
point -- catching a wrong approach here costs minutes; catching it in code costs hours. Spec maps
the source workflow's stages 3 (Design Discussion) and 4 (Structure Outline); see
references/stage-mapping.md.
Non-Negotiable Constraints:
- RESEARCH-GATED -- never start without an objective
research.mdon disk; never design from memory - BRAIN-DUMP FIRST, STOP -- present the Design Brain-Dump and WAIT; do not write the Structure
Outline until the human approves (
design_approved: true) - VERTICAL SLICES -- the Structure Outline slices work mock-API -> front-end -> database with a checkpoint per slice; never organize by horizontal layer
- SIGNATURES, NOT IMPLEMENTATIONS -- the outline is a "C header file": types and signatures, no bodies
- CONTEXT BUDGET: keep utilization under 40%. At 60%, write
spec.mdwith progress and tell the user to start a fresh session.
Workflow
PRE-FLIGHT
[ ] Locate the feature folder thoughts/shared/qrspi/YYYY-MM-DD-{slug}/
[ ] Read research.md (status: complete). If absent -> STOP; route the user to /qrspi-research
[ ] Read the answered questions.md for design intent
BRAIN-DUMP (source stage 3 -- Design Discussion)
Write ~200 lines: current state (from research) · desired end state · design decisions & tradeoffs
Write spec.md with the Brain-Dump only, status: draft, design_approved: false
STOP & LOOP (the "brain surgery" gate)
Present the Brain-Dump. WAIT. The human redirects architecture -> revise the Brain-Dump ->
re-present. Repeat until the human approves. Do NOT write the Structure Outline before approval.
STRUCTURE OUTLINE (source stage 4 -- only after design_approved: true)
Add: new/changed type signatures, public function signatures, and high-level phases sliced
VERTICALLY (mock-API -> front-end -> database), each with a verification checkpoint. No bodies.
Set status: ready-for-review
REPORT
Artifact path · slice list · "Review, then start a NEW session and run /qrspi-plan"Exit criteria: spec.md holds an approved Brain-Dump plus a vertically-sliced Structure
Outline; status: ready-for-review; design_approved: true; user told to review before /qrspi-plan.
State Block
<qrspi-spec-state>
phase: PRE-FLIGHT | BRAIN-DUMP | STOP-LOOP | STRUCTURE-OUTLINE | REPORT | COMPLETE
feature_folder: thoughts/shared/qrspi/YYYY-MM-DD-{slug}/
research_present: true | false # MUST be true to proceed
design_approved: true | false # MUST be true before the Structure Outline
brain_dump_revisions: [count]
slices_outlined: [count]
context_budget: under-40 | approaching-60 | checkpoint-now
status: draft | ready-for-review | approved
</qrspi-spec-state>Output Template
See references/spec-template.md for the full spec.md structure and frontmatter, and
references/stage-mapping.md for the 8-stage source -> 5-phase QRSPI mapping.
Integration with Other Skills
| Skill | Relationship |
qrspi-research | Prior phase. Its objective research.md is the factual ground for the Brain-Dump. |
qrspi-plan | Next phase. Consumes the approved spec.md; refuses to plan without it. |
dotnet-vertical-slice / python-feature-slice / rust-feature-slice | Stack scaffolders for the vertical slices the Structure Outline defines. |
spec-coach | Use instead for an open-ended interactive design chat; qrspi-spec is a gated brain-dump -> outline. |
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.

