Help us improve
Share bugs, ideas, or general feedback.
From spec-writer
Guides creation of layered software specs: Vision, BRS, SRS, Architecture & Design, Behavioral Spec & Test Verification for greenfield projects via interactive commands.
npx claudepluginhub florianbuetow/claude-code --plugin spec-writerHow this skill is triggered — by the user, by Claude, or both
Slash command
/spec-writer:spec-writerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
An expert-guided, interactive skill that walks users through creating professional software
Creates or updates SPEC.md documents from requirements, notes, or interview output, structuring into sections for goals, design, edge cases, security, testing, and success criteria. Use for feature specs.
Orchestrates Problem-Based SRS methodology from business context through functional requirements with full traceability. Coordinates skills for business context, customer problems, software glance, customer needs, software vision, and functional requirements.
Share bugs, ideas, or general feedback.
An expert-guided, interactive skill that walks users through creating professional software specification documents based on evidence-backed frameworks (ISO 29148, IEEE 830, IREB CPRE, DDD, C4, BDD/SbE) and industry best practices.
| Command | Document produced | Framework level |
|---|---|---|
/spec-vision | Product Vision & Strategic Alignment | L0 — "Why are we building this?" |
/spec-brs | Business & Stakeholder Requirements Specification | L1 — "What does the business need?" |
/spec-srs | Software Requirements Specification | L2 — "What does the system do?" |
/spec-architecture | Architecture & Design Specification | L3 — "How will it work?" |
/spec-test | Behavioral Specification & Test Verification Plan | L4 — "Prove it with examples" |
/spec | Full walkthrough — all five documents in sequence | All levels |
When any command is invoked:
Read the relevant reference file from references/ BEFORE asking any questions.
/spec-vision → read references/vision.md/spec-brs → read references/brs.md/spec-srs → read references/srs.md/spec-architecture → read references/architecture.md/spec-test → read references/verification.md/spec → read references/vision.md first, then each subsequent file as you progressCheck for prior-level documents. If the user is starting at a level above L0, ask whether they have completed the prior level documents. If they have prior docs as uploaded files, read them to extract context (goals, stakeholders, requirements IDs, glossary terms). If they don't have prior docs, note this and gather the essential upstream context through questions.
Establish project context with an opening round of questions (see Interaction Model below).
The skill is fundamentally a guided interview. Follow these principles rigorously.
Present all questions as selectable options (use the ask_user_input tool when available). Every question MUST include a final option that lets the user provide free-text input instead of choosing a predefined answer. Label this option something like "Let me describe it differently" or "I'll type my own answer."
When the ask_user_input tool is not available, present options as a numbered list and invite the user to pick a number or type their own answer.
Based on what you learn about the project (domain, scale, team size, regulatory context), provide intelligent defaults and suggestions. For example:
Always explain briefly why you're suggesting something — reference the evidence from the research when it adds credibility.
For each document section, do NOT move on until you have gathered enough information to write a substantive entry. The checklist of required elements for each document is defined in the reference files. If the user gives vague answers, probe deeper:
Do not overwhelm the user. Ask 1–3 questions per turn, grouped thematically. After gathering answers for a section, summarize what you've captured and confirm before moving on. Pattern per section:
Maintain a mental checklist of sections for the current document. After each section is complete, briefly show progress: "✓ Vision statement, ✓ Problem context, → Now: Target users"
Reference: Read references/vision.md before starting.
Opening context questions:
Required sections to gather (do not skip any):
Output: A markdown document with document metadata (title, version, date, status) and all sections above. Include traceability IDs (G-1, G-2...) on goals for downstream linking.
Reference: Read references/brs.md before starting.
Pre-check: Ask if a Vision document exists. If yes, request it or ask user to summarize key goals and constraints. Extract traceability IDs from the vision.
Required sections:
Key guidance: Keep this document implementation-free. No UI, no APIs, no tech choices. Business language only. Refer to the "what belongs where" examples in the reference file to help users place requirements at the right level.
Reference: Read references/srs.md before starting.
Pre-check: Ask if BRS exists. SRS builds directly on BRS content — stakeholder needs become functional requirements, business rules become system behaviors.
Required sections:
Key guidance: For NFRs, use the "before/after" pattern from the reference file to help users transform vague requirements into measurable ones. For functional requirements, prompt for edge cases and failure modes using EARS unwanted-behavior patterns.
Reference: Read references/architecture.md before starting.
Pre-check: Ask if SRS exists. Architecture decisions must trace to Architecturally Significant Requirements (ASRs) from the SRS.
Required sections:
Key guidance: Scale documentation depth to project size. Small projects need 3–7 ASRs and 3–5 ADRs. Help users avoid "architecture astronautics" (over-engineering) while ensuring they don't end up with "accidental architecture" (under-documenting).
Reference: Read references/verification.md before starting.
Pre-check: Ask which features/requirements from the SRS to elaborate. This document is typically done incrementally, feature by feature.
Required sections:
When the user invokes /spec, guide them through all five documents in sequence. Between
each level:
After all five documents are complete, provide a summary of the full specification suite with cross-references and suggest next steps (implementation planning, team review, etc.).
All documents are output as markdown files saved to /mnt/user-data/outputs/.
Naming convention: {project-name}-{document-type}.md
acme-platform-vision.md, acme-platform-brs.md, etc.Document metadata header (include in every document):
# {Document Title}
| Field | Value |
|-------|-------|
| Project | {name} |
| Document | {type} |
| Version | 0.1 (Draft) |
| Date | {today} |
| Author | {user, assisted by AI} |
| Status | Draft — Pending Review |
Every output document should meet these evidence-backed quality criteria (IEEE 830 / ISO 29148):