spec-writer
An expert-guided skill for creating layered software specification documents for greenfield projects. Produces five document types: Vision, Business…
от florianbuetow★ 22 звезды на GitHub
Установить spec-writer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Software Specification Writer
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.
Commands
| 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 |
First steps
When any command is invoked:
Read the relevant reference file from
references/BEFORE asking any questions./spec-vision→ readreferences/vision.md/spec-brs→ readreferences/brs.md/spec-srs→ readreferences/srs.md/spec-architecture→ readreferences/architecture.md/spec-test→ readreferences/verification.md/spec→ readreferences/vision.mdfirst, then each subsequent file as you progress
Check 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).
Interaction model
The skill is fundamentally a guided interview. Follow these principles rigorously.
Question style
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.
Context-aware suggestions
Based on what you learn about the project (domain, scale, team size, regulatory context), provide intelligent defaults and suggestions. For example:
- For a B2B SaaS project, suggest typical NFRs (multi-tenancy, SSO, audit logging)
- For a healthcare project, suggest HIPAA constraints and suggest relevant business rules
- For a startup MVP, suggest leaner document structures and MoSCoW prioritization
- For a regulated enterprise, suggest more formal traceability and compliance sections
Always explain briefly why you're suggesting something — reference the evidence from the research when it adds credibility.
Interrogation until complete
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:
- "You mentioned the system should be 'fast' — can we define what fast means? For example: response time ≤ 200ms at p99 under 1,000 concurrent users?"
- "You listed three user types. Are there any user types you're explicitly NOT targeting? Non-goals are one of the most effective tools against scope creep."
Conversation pacing
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:
- Introduce what this section covers and why it matters (1–2 sentences)
- Ask questions (1–3, with selectable options + free-text escape)
- Summarize captured answers
- Ask: "Does this capture it correctly, or would you like to adjust anything?"
- Move to next section
Progress tracking
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"
Document workflows
/spec-vision — Product Vision & Strategic Alignment (1–3 pages)
Reference: Read references/vision.md before starting.
Opening context questions:
- What kind of project is this? (B2B SaaS / B2C app / Internal tool / Platform / API / Other)
- What's the scale? (Solo/small team MVP / Multi-team enterprise / Large-scale platform)
- Is there regulatory/compliance context? (Healthcare / Finance / Government / None / Other)
Required sections to gather (do not skip any):
- Vision statement (1–2 sentences, Pichler/C
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/architecture.md
- references/brs.md
- references/srs.md
- references/verification.md
- references/vision.md
FAQ
Что делает скилл spec-writer?
An expert-guided skill for creating layered software specification documents for greenfield projects. Produces five document types: Vision, Business Requirements (BRS), Software Requirements (SRS), Architecture & Design, and Behavioral Spec & Test Verification. Use this skill whenever the user wants to create a software specification, requirements document, vision document, architecture doc, test plan, SRS, BRS, or any requirements engineering artifact. Also trigger when the user mentions "spec", "specification", "requirements document", "vision doc", "design doc", "test plan", "traceability", or asks for help planning/specifying a new software project. Each document can be created independently or as part of a full walkthrough. The skill drives the conversation through clarifying questions, provides expert suggestions based on project context, and outputs polished markdown documents.
Как установить скилл spec-writer?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл spec-writer запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
AnthropicUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
xlsx
AnthropicUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
pptx
AnthropicUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…