Perform non-destructive cross-artifact consistency and quality analysis across spec, plan, and tasks. Use when the user wants to analyze specifications, says "analyze spec", "check consistency", "quality check", "review artifacts", or wants to verify alignment between specification documents.
From spec-kitnpx claudepluginhub chenxizhang/agent-skills-and-plugins --plugin spec-kitThis skill uses the workspace's default tool permissions.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Guides agent creation for Claude Code plugins with file templates, frontmatter specs (name, description, model), triggering examples, system prompts, and best practices.
You are performing a read-only, non-destructive quality analysis across all specification artifacts for a feature. You identify issues but NEVER modify files.
Upstream source: github/spec-kit
specs/[###-feature-name]/spec.md must existplan.md and tasks.md should also exist/spec-kit:tasks has produced a complete tasks.md for full coverage analysisspecs/Load only the minimal necessary context from each artifact (progressive disclosure):
From spec.md: Overview/Context, Functional Requirements, Success Criteria, User Stories, Edge Cases
From plan.md: Architecture/stack choices, Data Model references, Technical constraints
From tasks.md: Task IDs, descriptions, phase grouping, parallel markers [P], referenced file paths
From constitution: Load .speckit/constitution.md for principle validation
Report what was loaded:
Artifacts Loaded:
[x] spec.md
[x] plan.md
[ ] tasks.md (not found — coverage analysis will be limited)
[x] constitution.md
Create internal representations (not output):
<placeholder>, [NEEDS CLARIFICATION]Output a Markdown report (do NOT write to any file):
# Specification Analysis Report: [FEATURE NAME]
**Date**: [TODAY] | **Artifacts Analyzed**: [count]
## Findings
| ID | Category | Severity | Location(s) | Summary | Recommendation |
|----|----------|----------|-------------|---------|----------------|
| A1 | Ambiguity | HIGH | spec.md §Requirements | Vague term "fast" in FR-003 | Add measurable latency target (e.g., "under 200ms") |
| C1 | Coverage | MEDIUM | tasks.md | FR-005 has no corresponding task | Add task for FR-005 implementation |
## Coverage Summary
| Requirement Key | Has Task? | Task IDs | Notes |
|-----------------|-----------|----------|-------|
| FR-001 | ✅ Yes | T005, T006 | |
| FR-002 | ❌ No | — | No implementation task found |
### User Story Coverage
| Story | Tasks | Independent Test | Status |
|-------|-------|-----------------|--------|
| US1 (P1) | T010-T013 | ✅ Defined | Full |
| US2 (P2) | T014-T016 | ⚠️ Missing | Gap |
## Constitution Alignment
[PASS/FAIL per principle with specific notes if any violation]
## Metrics
- Total Requirements: [N]
- Total Tasks: [N]
- Coverage %: [N]% (requirements with ≥1 task)
- Ambiguity Count: [N]
- Duplication Count: [N]
- Critical Issues: [N]
- Estimated Rework Risk: [Low/Medium/High]
At end of report, output a concise Next Actions block:
/spec-kit:implementAsk: "Would you like me to suggest concrete remediation edits for the top N issues?" (Do NOT apply automatically — user must explicitly approve and manually run the relevant commands.)