spec-critique
БесплатноЗапускает вложенные скриптыНе проверенSelf-critique specification documents using extended thinking — surfaces hidden assumptions, contradictions, missing edge cases, and scope creep before…
от oimiragieo★ 48 звёзд на GitHubОб этом скилле
Specification Critique Skill
Overview
Critically review specification documents for accuracy, completeness, and feasibility. Use extended thinking to find issues BEFORE implementation begins.
Core principle: Use extended thinking (deep analysis). Find problems BEFORE implementation.
When to Use
Always:
- After spec writing is complete
- Before implementation planning begins
- When spec involves external integrations
- For complex features with multiple components
Exceptions:
- Simple specs for trivial changes
- Specs already reviewed by another agent
The Iron Law
NO IMPLEMENTATION WITHOUT SPEC CRITIQUE FOR COMPLEX TASKS
Complex tasks (external integrations, multi-service changes) must have spec critique.
Inputs Required
Before critiquing, ensure you have:
- spec.md - The specification to critique
- Requirements document - Original user requirements
- Project context - Tech stack, patterns
Workflow
Phase 1: Load All Context
# Read the spec
cat .claude/context/specs/[task-name]-spec.md
# Read original requirements
cat .claude/context/requirements/[task-name].md
# Read project context
cat .claude/context/tech-stack.md
Understand:
- What the spec claims
- What the user originally requested
- What patterns exist in the codebase
Phase 2: Deep Analysis (USE EXTENDED THINKING)
CRITICAL: Use extended thinking for this phase. Think deeply about:
Technical Accuracy
Compare spec against requirements and codebase:
- Package names: Does spec use correct package names?
- Import statements: Do imports match API patterns?
- API calls: Do function signatures match documentation?
- Configuration: Are env vars and config options correct?
Check for common spec errors:
- Wrong package name (e.g., "react-query" vs "@tanstack/react-query")
- Outdated API patterns (e.g., using deprecated functions)
- Incorrect function signatures (e.g., wrong parameter order)
- Missing required configuration (e.g., missing env vars)
Flag any mismatches.
Completeness
Check against requirements:
- All requirements covered? - Each requirement should have implementation details
- All acceptance criteria testable? - Each criterion should be verifiable
- Edge cases handled? - Error conditions, empty states, timeouts
- Integration points clear? - How components connect
Flag any gaps.
Consistency
Check within spec:
- Package names consistent - Same name used everywhere
- File paths consistent - No conflicting paths
- Patterns consistent - Same style throughout
- Terminology consistent - Same terms for same concepts
Flag any inconsistencies.
Feasibility
Check practicality:
- Dependencies available? - All packages exist and are maintained
- Infrastructure realistic? - Setup will work
- Implementation order logical? - Dependencies before dependents
- Scope appropriate? - Not over-engineered, not under-specified
Flag any concerns.
Requirements Alignment
Cross-reference with requirements:
- Verified information used? - Spec should use researched facts
- Unverified claims flagged? - Any assumptions marked clearly
- Gotchas addressed? - Known issues handled
- Recommendations followed? - Requirements suggestions incorporated
Flag any divergences.
Phase 3: Catalog Issues
Create a list of all issues found:
## Issues Found
### 1. [SEVERITY: HIGH] Package name incorrect
- **Spec says**: "[incorrect]"
- **Should be**: "[correct]"
- **Location**: Line 45, Requirements section
### 2. [SEVERITY: MEDIUM] Missing edge case
- **Requirement**: "Handle connection failures"
- **Spec**: No error handling specified
- **Location**: Implementation Notes section
### 3. [SEVERITY: LOW] Inconsistent terminology
- **Issue**: Uses both "memory" and "episode" for same concept
- **Location**: Throughout document
Phase 4: Fix Issues
For each issue found, fix it directly in the spec:
For each fix:
- Make the change in spec
- Verify the change was applied
- Document what was changed
Phase 5: Create Critique Report
# Spec Critique Report
**Spec**: [spec-name]
**Date**: [timestamp]
## Summary
| Category | Status | Issues |
| ---------------------- | --------- | ------- |
| Technical Accuracy | PASS/FAIL | [count] |
| Completeness | PASS/FAIL | [count] |
| Consistency | PASS/FAIL | [count] |
| Feasibility | PASS/FAIL | [count] |
| Requirements Alignment | PASS/FAIL | [count] |
## Issues Found and Fixed
### High Severity
1. [Issue] - FIXED: [what was changed]
### Medium Severity
1. [Issue] - FIXED: [what was changed]
### Low Severity
1. [Issue] - FIXED: [what was changed]
## No Issues Found (if applicable)
Spec is well-written with no significant issues found.
## Confidence Level
[HIGH/MEDIUM/LOW]
## Recommendations
- [Any remaining concern
Установить spec-critique в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteEditGlobGrepВложенные файлы
FAQ
Что делает скилл spec-critique?
Self-critique specification documents using extended thinking — surfaces hidden assumptions, contradictions, missing edge cases, and scope creep before implementation
Как установить скилл spec-critique?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл spec-critique запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic