analyze
БесплатноБез исполняемых скриптовНе проверенAnalyze consistency across spec, plan, tasks, and checklist. Use before implementation. Triggers on: analyze consistency, check artifacts, validate feature.
Об этом скилле
Cross-Artifact Consistency Analyzer
Validate consistency across feature artifacts before implementation.
SpecKit Workflow
This skill is Step 5 of 6 in the Relentless workflow:
specify → plan → tasks → convert → analyze → implement
Prerequisites (ALL must exist):
spec.md- Feature specificationplan.md- Technical implementation plantasks.md- User stories and tasksprd.json- Converted PRD with routing metadata (run convert first)checklist.md- Quality validation checklist (recommended)
Purpose:
- Validate consistency across ALL artifacts
- Catch gaps before implementation begins
- Ensure TDD and routing compliance
- Verify quality gates are defined
The Job
- Read all feature artifacts
- Check for consistency issues
- Validate TDD compliance
- Validate routing metadata
- Validate quality gates
- Validate against constitution
- Generate analysis report
Files to Analyze
Required:
relentless/constitution.mdrelentless/features/NNN-feature/spec.mdrelentless/features/NNN-feature/plan.mdrelentless/features/NNN-feature/tasks.mdrelentless/features/NNN-feature/prd.jsonrelentless/features/NNN-feature/checklist.md
Optional:
relentless/features/NNN-feature/progress.txt
Validation Checks
1. Completeness
- All functional requirements from spec have tasks
- All tasks reference spec requirements
- Plan addresses all spec requirements
- Checklist covers all tasks
2. TDD Compliance Validation (MANDATORY)
Verify that:
- Every story in tasks.md has test acceptance criteria
- Test specifications exist in plan.md
- Checklist includes test validation items
- No stories marked "tests optional"
- Given/When/Then format used in acceptance criteria
Flag as CRITICAL if TDD requirements are missing.
3. Routing Metadata Validation (MANDATORY)
Verify that prd.json contains for EVERY story:
-
routing.complexity- simple/medium/complex/expert -
routing.harness- claude/gemini/codex/opencode/amp/droid -
routing.model- specific model name -
routing.mode- free/cheap/good/genius -
routing.estimatedCost- cost in USD
Also verify:
- Routing preference in spec.md matches prd.json routing mode
- Complexity classifications are reasonable for story scope
Flag as CRITICAL if routing metadata is missing.
4. Quality Gates Validation (MANDATORY)
Verify that ALL THREE quality gates are present in acceptance criteria:
- Typecheck requirement (
bun run typecheckpasses with 0 errors) - Lint requirement (
bun run lintpasses with 0 errors AND 0 warnings) - Test requirement (
bun testpasses)
Flag as CRITICAL if any quality gate is missing.
5. Constitution Compliance
- Plan follows MUST rules
- Tasks include required quality checks
- Testing requirements met
- Security requirements addressed
- No
anytypes planned
6. Dependency Consistency
- Task dependencies are valid (no circular refs)
- Referenced dependencies exist
- Dependency order makes sense
7. Scope Consistency
- Plan doesn't include out-of-scope items
- Tasks match plan scope
- No scope creep in checklist
8. Data Model Consistency
- Entities mentioned in spec are in plan
- Plan data models match spec requirements
- Tasks create required entities
9. API Consistency
- Endpoints in plan match spec scenarios
- Tasks implement all planned endpoints
- Checklist validates all endpoints
10. Testing Coverage
- Each task has test acceptance criteria
- Checklist includes test validation
- Test types match constitution requirements
Issue Severity
CRITICAL: Blocks implementation - MUST fix before proceeding
- Constitution MUST rule violations
- Missing TDD requirements
- Missing routing metadata in prd.json
- Missing quality gate requirements
- Circular dependencies
- Missing required artifacts
WARNING: Should fix before implementation
- Incomplete coverage of requirements
- Ambiguous acceptance criteria
- Missing test criteria for some stories
- Routing preference mismatch (spec vs prd.json)
INFO: Nice to have
- Style inconsistencies
- Minor gaps in checklist
- Optimization opportunities
Report Format
Use the template at templates/analysis-report.md:
# Consistency Analysis Report
**Feature:** [feature-name]
**Date:** [date]
**Status:** [PASS | FAIL | WARNINGS]
## Summary
| Category | Status | Issues |
|----------|--------|--------|
| Completeness | ✅/❌ | [count] |
| TDD Compliance | ✅/❌ | [count] |
| Routing Validation | ✅/❌ | [count] |
| Quality Gates | ✅/❌ | [count] |
| Constitution | ✅/❌ | [count] |
| Dependencies | ✅/❌ | [count] |
## Critical Issues
### CRIT-001: [Issue Title]
**Location:** [file]
**Details:** [description]
**Fix:** [required action]
## Recommendations
Установить analyze в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл analyze?
Analyze consistency across spec, plan, tasks, and checklist. Use before implementation. Triggers on: analyze consistency, check artifacts, validate feature.
Как установить скилл analyze?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл analyze запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
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