spec-kit/skills/analyze/SKILL.md
Use when the user invokes $spec-kit:analyze or /spec-kit:analyze, or asks to run read-only consistency analysis across spec, plan, tasks, and repo context.
npx skillsauth add grailautomation/claude-plugins analyzeInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This is a user-invoked Spec Kit workflow. Treat user text after the invocation as the workflow input.
Use the spec-kit plugin root when running bundled scripts. In Claude Code, ${CLAUDE_PLUGIN_ROOT} resolves to this plugin root. If that variable is unavailable, resolve the plugin root as the directory two levels above this SKILL.md.
User input:
$ARGUMENTS
Perform a read-only cross-artifact consistency and quality analysis. Do not modify files, do not mark tasks complete, and do not fix findings during this command.
Run from the project root:
bash "${CLAUDE_PLUGIN_ROOT}/scripts/setup-plan.sh" --no-context
Parse JSON for SPECS_DIR, FEATURE_SPEC, IMPL_PLAN, FEATURE_SOURCE, and
PROJECT_CONTEXT. Derive:
SPECS_DIR/spec.mdSPECS_DIR/plan.mdSPECS_DIR/tasks.mdAbort with a clear message if spec.md, plan.md, or tasks.md is missing.
Load:
spec.mdplan.mdtasks.md.specify/memory/constitution.md, if present.specify/memory/project-context.md, if presentBuild deterministic inventories:
[P] markerThen check:
[P] tasks touch same file or hidden dependencyEmit Markdown only:
## Specification Analysis Report
| ID | Category | Severity | Location(s) | Summary | Recommendation |
|----|----------|----------|-------------|---------|----------------|
| A1 | ... | ... | spec.md:12 | ... | ... |
### Coverage Summary
| Requirement Key | Has Task? | Task IDs | Notes |
|----------------|-----------|----------|-------|
### Unmapped Tasks
[task IDs or "None"]
### Constitution Alignment
[issues or "No conflicts detected"]
### Brownfield Fit
[issues or "Plan and tasks follow detected repo context"]
### Metrics
- Total Requirements: N
- Total Tasks: N
- Coverage: N%
- Ambiguities: N
- Duplications: N
- Critical Issues: N
Use stable IDs by category prefix and sorted location order so reruns without file changes produce consistent IDs.
If CRITICAL or HIGH issues exist, recommend resolving before implementation. If
only LOW/MEDIUM issues exist, say whether /spec-kit:implement next is
reasonable. Ask whether the user wants concrete remediation edits; do not apply
them in this command.
development
Parse and analyze Workato recipe JSON exports. Use when the user asks about a Workato recipe's logic, data flow, field mappings, error handling, or control flow. Also use when the user references a .recipe.json file or asks to debug a Workato integration.
databases
Review implementation plans as a staff software engineer. Use when the user asks for staff engineer feedback, senior engineering review, plan review, architecture review, implementation-plan critique, approval before proceeding, risk review, or feedback on a proposed technical plan.
tools
Use when the user invokes $spec-kit:tasks or /spec-kit:tasks, or asks to generate dependency-ordered tasks from the plan and repo context.
testing
Use when the user invokes $spec-kit:specify or /spec-kit:specify, or asks to create a brownfield-aware feature specification from a natural language description.