How this skill is triggered — by the user, by Claude, or both
Slash command
/spec-kitty:spec-kitty-analyzeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
> **Source**: This skill augments the baseline workflow located at [`./workflows/spec-kitty.analyze.md`](./workflows/spec-kitty.analyze.md).
Source: This skill augments the baseline workflow located at
./workflows/spec-kitty.analyze.md. It acts as an intelligent wrapper that is continuously improved with each execution.
$ARGUMENTS
You MUST consider the user input before proceeding (if not empty).
In repos with multiple features, always pass --feature <slug> to every spec-kitty command.
Identify inconsistencies, duplications, ambiguities, and underspecified items across the three core artifacts (spec.md, plan.md, tasks.md) before implementation. This command MUST run only after /tasks has successfully produced a complete tasks.md.
STRICTLY READ-ONLY: Do not modify any files. Output a structured analysis report. Offer an optional remediation plan (user must explicitly approve before any follow-up editing commands would be invoked manually).
Constitution Authority: The project constitution (/constitution/constitution.md) is non-negotiable within this analysis scope. Constitution conflicts are automatically CRITICAL and require adjustment of the spec, plan, or tasks—not dilution, reinterpretation, or silent ignoring of the principle. If a principle itself needs to change, that must occur in a separate, explicit constitution update outside /analyze.
Run spec-kitty agent feature check-prerequisites --json --include-tasks once from repo root and parse JSON for feature_dir, available_docs, target_branch, and base_branch. Derive absolute paths:
Abort with an error message if any required file is missing (instruct the user to run missing prerequisite command).
Load only the minimal necessary context from each artifact:
From spec.md:
From plan.md:
From tasks.md:
From constitution:
/constitution/constitution.md for principle validationCreate internal representations (do not include raw artifacts in output):
user-can-upload-file)Focus on high-signal findings. Limit to 50 findings total; aggregate remainder in overflow summary.
<placeholder>, etc.)Use this heuristic to prioritize findings:
Output a Markdown report (no file writes) with the following structure:
| ID | Category | Severity | Location(s) | Summary | Recommendation |
|---|---|---|---|---|---|
| A1 | Duplication | HIGH | spec.md:L120-134 | Two similar requirements ... | Merge phrasing; keep clearer version |
(Add one row per finding; generate stable IDs prefixed by category initial.)
Coverage Summary Table:
| Requirement Key | Has Task? | Task IDs | Notes |
|---|
Constitution Alignment Issues: (if any)
Unmapped Tasks: (if any)
Metrics:
At end of report, output a concise Next Actions block:
/implementAsk the user: "Would you like me to suggest concrete remediation edits for the top N issues?" (Do NOT apply them automatically.)
$ARGUMENTS
npx claudepluginhub richfrem/agent-plugins-skills --plugin spec-kittyAnalyzes spec.md, plan.md, and tasks.md for inconsistencies, gaps, and quality issues after task generation. Read-only cross-artifact review to catch problems before implementation.
Analyzes consistency and quality across spec.md, design.md, and tasks.md, then auto-fixes all found issues without user prompts. Use after generating tasks.md or when asked to verify cross-artifact coherence.
Reviews spec.md files for completeness, clarity, implementability, testability, and structure. Identifies ambiguities, gaps, and missing sections before implementation.