specification-refiner
БесплатноБез исполняемых скриптовНе проверенSystematic analysis and refinement of specifications, requirements, architecture designs, and project plans. Use when the user wants to identify gaps…
Об этом скилле
Specification Refiner
Systematically analyze and refine specifications, requirements, and architectural designs through iterative gap analysis with persistent memory, sequential clarification, and explicit user confirmation at each phase.
Core Workflow
0. ASSESS → Evaluate complexity, select mode, confirm with user
1. INGEST → Load document, confirm understanding with user
2. ANALYZE → Run SEAMS + Critical Path, build coverage map
3. CLARIFY → Sequential questions (one at a time), immediate integration
4. PRESENT → Surface detailed findings, manage remaining questions
5. ITERATE → Accept changes, re-analyze, present deltas
6. SYNTHESIZE → Present comprehensive summary for user approval
7. OUTPUT → Generate refined specification(s) in Draft status
8. VALIDATE → Review, validate traceability, advance status
Each phase ends with a full summary gate requiring user confirmation before proceeding.
Standards Integration
This skill integrates with knowledge-mcp to ground analysis in engineering standards (IEEE, ISO, INCOSE).
Auto-Query Behavior
During Phase 2 (ANALYZE), the skill automatically queries knowledge-mcp for relevant standards:
- Before SEAMS Analysis: Query "requirements engineering best practices [domain]"
- Before Critical Path: Query "dependency analysis systems engineering"
- For each finding: Query specific topics to validate against standards
Inline citations appear in findings:
"Per ISO/IEC/IEEE 12207:2017, Clause 6.4.2, requirements SHALL include verification criteria."
MCP Availability Check
Before querying, check MCP availability:
- If knowledge_search tool available: proceed with standards lookup
- If unavailable: warn user and continue without standards context
Never hallucinate citations. If MCP unavailable, state clearly:
"Note: Knowledge base unavailable. Analysis proceeds without standards context."
Graceful Degradation
If knowledge-mcp fails mid-analysis:
- Log the failure
- Continue analysis without standards
- Note in findings: "Standards citation unavailable for this finding"
Manual Commands
/lookup-standard
Query the knowledge base for specific standards information.
Syntax: /lookup-standard [natural language query]
Examples:
/lookup-standard what does ISO say about traceability/lookup-standard IEEE 15288 verification methods/lookup-standard INCOSE requirements attributes
Response Format:
## Standards Lookup: [query]
### Result 1 (87% relevant)
**Source**: ISO/IEC/IEEE 12207:2017, Clause 6.4.2, p.23
[Content excerpt]
### Result 2 (74% relevant)
**Source**: INCOSE SE Handbook, Section 4.2, pp.45-47
[Content excerpt]
---
Showing 5 of 12 results. Say "show more" for additional results.
No Results:
No direct matches found for "[query]". Did you mean: [suggested related topics]?
Phase 0: ASSESS
On receiving a specification document, first assess complexity to determine the appropriate mode.
Complexity Assessment
Evaluate these factors:
- Document size: Page/word count
- Domains identified: Single vs. multi-domain
- Stakeholder count: How many perspectives involved
- Scope clarity: Clear, moderate, or ambiguous boundaries
Mode Selection
Present to user:
Based on initial assessment:
- Document size: [X pages / Y words]
- Domains identified: [list domains]
- Stakeholder count: [N stakeholders]
- Scope clarity: [Clear/Moderate/Ambiguous]
Recommended mode: [SIMPLE/COMPLEX]
Options:
1. Proceed with recommended mode
2. Override to SIMPLE mode
3. Override to COMPLEX mode
4. Explain the modes in more detail
Your choice:
SIMPLE Mode: Single-domain, <10 pages, clear scope
- SEAMS analysis only
- Single A-Spec output with numbered requirements (
A-REQ-NNN)
COMPLEX Mode: Multi-domain, >10 pages, ambiguous scope
- Full dual-framework analysis (SEAMS + Critical Path)
- A-Spec/B-Spec hierarchy per domain (see
references/spec-hierarchy.md) - Requirements Traceability Matrix generation
Phase 0 Gate
Present gate summary (see references/gate-templates.md for full format). Wait for user confirmation before proceeding.
Phase 1: INGEST
Actions
- Parse document structure (sections, dependencies, interfaces)
- Create initial memory file:
analysis-state.mdusing template fromassets/analysis-state-template.md - Record mode selection in memory file
- Identify document type and select appropriate analysis lenses
- Note any questions that arise during parsing
Question Management
- Add questions to the Open Questions list with "Raised In: Phase 1: INGEST"
- Attempt to answer any Phase 0 questions from document content
- Update question statuses
Phase 1 Gate
Present full summary including: document info, sections identified, key entities, dependencies, and question status. See references/gate-templates.md for format. Wait for user confirmation—
Установить specification-refiner в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл specification-refiner?
Systematic analysis and refinement of specifications, requirements, architecture designs, and project plans. Use when the user wants to identify gaps, weaknesses, inefficiencies, or complications in a proposed plan, specification, or design document. Triggers on gap analysis, specification review, requirements analysis, architecture critique, design validation, plan assessment, weakness identification, assumption auditing, or when users share specs/plans asking for feedback. Produces actionable findings with remediations and maintains analysis state across iterations. Features sequential clarification with one question at a time, recommended answers, and immediate integration.
Как установить скилл specification-refiner?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл specification-refiner запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use 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…
от Anthropicxlsx
Use 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…
от Anthropicpptx
Use 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…
от Anthropic