spec-kit-analyze
Use when `spec.md`, `plan.md`, and `tasks.md` exist and you need a read-only Spec Kit audit for consistency, requirement-to-task coverage, ambiguity, duplication, or constitution conflicts before implementation.
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o spec-kit-analyze.zip https://jpskill.com/download/10645.zip && unzip -o spec-kit-analyze.zip && rm spec-kit-analyze.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/10645.zip -OutFile "$d\spec-kit-analyze.zip"; Expand-Archive "$d\spec-kit-analyze.zip" -DestinationPath $d -Force; ri "$d\spec-kit-analyze.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
spec-kit-analyze.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
spec-kit-analyzeフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 1
📖 Claude が読む原文 SKILL.md(中身を展開)
この本文は AI(Claude)が読むための原文(英語または中国語)です。日本語訳は順次追加中。
Spec Kit Analyze
Run a non-destructive cross-artifact quality audit before implementation.
When to Use
tasks.mdexists and you want a pre-implementation consistency check across spec/plan/tasks.- You suspect coverage gaps, requirement drift, ambiguous language, or contradictory artifacts.
- You need a constitution-alignment gate without editing artifacts yet.
When Not to Use
- Any prerequisite artifact is missing (
spec-kit-specify,spec-kit-plan, orspec-kit-tasksfirst). - You need targeted remediation edits now (
spec-kit-reconcile). - You are executing implementation work (
spec-kit-implement).
Router Fit
- Primary route from
spec-kitafterspec-kit-tasks. - Read-only quality gate before
spec-kit-implement. - Default handoff to
spec-kit-reconcilewhen findings require coordinated artifact updates.
Critical Constraints
- Strictly read-only: do not modify files.
- Treat
memory/constitution.mdas authoritative; any MUST-level conflict isCRITICAL.
Preconditions
- Run from repository root (or a subdirectory inside it).
- Active feature context resolves to one feature directory with
spec.md,plan.md, andtasks.md.
Workflow
-
Resolve artifact paths and enforce prerequisite gate:
- Run
scripts/check-prerequisites.sh --json --require-tasks --include-tasksexactly once. - Parse:
FEATURE_DIRAVAILABLE_DOCS
- Derive:
SPEC = FEATURE_DIR/spec.mdPLAN = FEATURE_DIR/plan.mdTASKS = FEATURE_DIR/tasks.md
- If any required artifact is missing, stop and route to the owning sibling skill.
- Run
-
Load focused sections from:
spec.md: requirements, stories, acceptance criteria, edge cases.plan.md: architecture/stack decisions, phases, constraints.tasks.md: task IDs, phase grouping,[P]markers, referenced paths.memory/constitution.md: principle names and normative MUST/SHOULD statements.
-
Build internal maps:
- Requirement inventory (functional + non-functional) with stable keys.
- Story/action inventory with acceptance-test intent.
- Task-to-requirement/story coverage mapping.
- Constitution obligations relevant to spec/plan/tasks scope.
-
Detect and classify issues:
- Duplication: overlapping or near-duplicate requirements.
- Ambiguity/placeholders: vague quality terms, TODO/TKTK/placeholder tokens.
- Underspecification: requirements lacking measurable outcomes or clear objects.
- Constitution conflicts: violations against MUST principles (
CRITICAL). - Coverage gaps: requirements without tasks and tasks without mapped requirement/story.
- Cross-artifact inconsistency: terminology drift, entity mismatch, ordering contradictions.
- Cap findings at 50 rows; summarize overflow counts by category.
-
Assign severity and output a compact report with stable IDs, coverage table, and metrics.
CRITICAL: constitution MUST violations, missing core coverage that blocks baseline behavior.HIGH: conflicting/duplicate requirements, untestable or high-risk ambiguity.MEDIUM: terminology drift, non-functional coverage gaps, underspecified edge cases.LOW: wording/style cleanup without execution impact.
-
Recommend next actions:
- If
CRITICAL/HIGHfindings require cross-artifact edits, blockspec-kit-implementand route tospec-kit-reconcilewith a concise gap summary. - If only one artifact needs focused updates, route to its owner skill (
spec-kit-specify,spec-kit-plan, orspec-kit-tasks). - Otherwise provide prioritized improvements and whether implementation can proceed.
- If
-
Offer follow-up only:
- Ask whether to run
spec-kit-reconcileusing top findings as the gap report. - Do not apply any edits in this skill.
- Ask whether to run
Output
- Markdown report only (no file writes) containing:
- Findings table:
ID | Category | Severity | Location(s) | Summary | Recommendation - Requirement coverage table:
Requirement Key | Has Task? | Task IDs | Notes - Constitution alignment issues (if any)
- Unmapped tasks (if any)
- Metrics:
- Total requirements
- Total tasks
- Coverage percentage
- Ambiguity count
- Duplication count
- Critical issues count
- Next-step routing recommendation
- Findings table:
References
references/command-analyze.mdscripts/check-prerequisites.shhttps://github.com/github/spec-kit/blob/9111699cd27879e3e6301651a03e502ecb6dd65d/templates/commands/analyze.md