Spec Kit ルーティング
Spec Kit を用いた作業で、適切な `spec-kit-*` サブスキルを選択したり、成果物の順序管理を徹底したり、シーケンス違反や仕様のずれといった問題の修正作業を適切に指示したりするSkill。
📜 元の英語説明(参考)
Use when work involves Spec Kit and you need to choose the correct `spec-kit-*` sub-skill, enforce artifact-order gates, or route remediation work (for example sequence violations or specification drift at any stage).
🇯🇵 日本人クリエイター向け解説
Spec Kit を用いた作業で、適切な `spec-kit-*` サブスキルを選択したり、成果物の順序管理を徹底したり、シーケンス違反や仕様のずれといった問題の修正作業を適切に指示したりするSkill。
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o spec-kit.zip https://jpskill.com/download/10654.zip && unzip -o spec-kit.zip && rm spec-kit.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/10654.zip -OutFile "$d\spec-kit.zip"; Expand-Archive "$d\spec-kit.zip" -DestinationPath $d -Force; ri "$d\spec-kit.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
spec-kit.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
spec-kitフォルダができる - 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
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
Spec Kit Skill ルーター
インストールされている最小限の spec-kit-* スキルにリクエストをルーティングします。
ルートはデフォルトとして扱います。リポジトリの制約により異なるシーケンスが必要な場合は、逸脱とそのリスクを明記してください。
呼び出し通知
- このスキルが名前
spec-kitで呼び出されたときに、ユーザーに通知します。
トリガーテスト
- トリガーされるべき場合:
- "Which spec-kit skill should I run next?"
- "Route this feature request through Spec Kit."
- "I have
tasks.md; can we implement now?"
- トリガーされるべきでない場合:
- "Write a Conventional Commit message."
- "Debug Python concurrency bugs unrelated to Spec Kit."
インテントによるルーティング
| ユーザーインテント | ルート | 必要な成果物 |
|---|---|---|
| ガバナンス/原則の作成または更新 | spec-kit-constitution |
なし |
| 機能要件の草案作成または修正 | spec-kit-specify |
constitution を推奨 |
| 計画前に影響の大きい曖昧さを解消 | spec-kit-clarify |
spec.md |
| 技術設計成果物の作成 | spec-kit-plan |
spec.md + constitution |
| 依存関係順に並べられた実装タスクの生成 | spec-kit-tasks |
plan.md (+ spec.md) |
| 成果物間の整合性の監査 (読み取り専用) | spec-kit-analyze |
spec.md + plan.md + tasks.md |
| どの段階でも仕様のずれを調整 | spec-kit-reconcile |
ギャップレポート + 既存の機能成果物 |
| 要件品質チェックリストの生成 | spec-kit-checklist |
spec.md |
| タスクからの実装の実行 | spec-kit-implement |
tasks.md |
ルーティングフローチャート
機能作業のシーケンスに使用します。 ゲートチェックは必須です。
digraph feature_route {
rankdir=TB;
node [fontname="Helvetica", fontsize=10];
edge [fontname="Helvetica", fontsize=9];
start [label="Feature request", shape=oval];
reconcile_gate [label="Need reconcile now\n(drift detected)?", shape=diamond];
has_const [label="constitution exists?", shape=diamond];
constitution [label="spec-kit-constitution", shape=box];
has_spec [label="spec.md exists?", shape=diamond];
specify [label="spec-kit-specify", shape=box];
clarify_gate [label="Spec ambiguity blocks planning?", shape=diamond];
clarify [label="spec-kit-clarify", shape=box];
plan [label="spec-kit-plan", shape=box];
tasks [label="spec-kit-tasks", shape=box];
analyze_gate [label="Run spec-kit-analyze?", shape=diamond];
analyze [label="spec-kit-analyze", shape=box];
analyze_blocking [label="Blocking findings?", shape=diamond];
reconcile [label="spec-kit-reconcile", shape=box];
has_tasks [label="tasks.md exists?", shape=diamond];
stop_tasks [label="STOP:\nrun spec-kit-tasks first", shape=octagon, style=filled, fillcolor=red, fontcolor=white];
implement [label="spec-kit-implement", shape=box];
post_impl_gaps [label="Post-implementation\ngaps found?", shape=diamond];
done [label="Feature complete", shape=doublecircle];
start -> reconcile_gate;
reconcile_gate -> reconcile [label="yes"];
reconcile_gate -> has_const [label="no"];
reconcile -> has_const [label="continue"];
has_const -> constitution [label="no"];
has_const -> has_spec [label="yes"];
constitution -> has_spec;
has_spec -> specify [label="no"];
has_spec -> clarify_gate [label="yes"];
specify -> clarify_gate;
clarify_gate -> clarify [label="yes"];
clarify_gate -> plan [label="no"];
clarify -> plan;
plan -> tasks;
tasks -> has_tasks;
has_tasks -> analyze_gate [label="yes"];
has_tasks -> stop_tasks [label="no"];
analyze_gate -> analyze [label="recommended"];
analyze_gate -> implement [label="skip"];
analyze -> analyze_blocking;
analyze_blocking -> reconcile [label="yes"];
analyze_blocking -> implement [label="no"];
reconcile -> implement;
implement -> post_impl_gaps;
post_impl_gaps -> done [label="no"];
post_impl_gaps -> reconcile [label="yes"];
}
シーケンスルール
spec.mdなしでspec-kit-planを実行しないでください。tasks.mdなしでspec-kit-implementを実行しないでください。- 曖昧さがアーキテクチャ、データモデル、テスト、UX、運用、またはコンプライアンスを変更する可能性がある場合は、計画の前に
spec-kit-clarifyを実行します。 - どの段階でもずれが検出された場合は、続行する前に
spec-kit-reconcileを実行します。
ルーターの動作
- 最初にユーザーの意図を分類し、次にルートテーブルから1つ以上の子スキルを選択します。
- ダウンストリームスキルを呼び出す前に、成果物ゲートを強制します。
- 最小限の次のステップを優先します。要求されない限り、完全なパイプラインを実行しないでください。
- 要求されたステップがゲートに違反する場合、不足している前提条件にルーティングし、依存関係を説明します。
- 開発者から報告されたずれは、分析/実装の外部で発生した場合でも、
spec-kit-reconcileに直接ルーティングします。
共有リソースの所有権 (親スキル)
skills/spec-kit/scripts/*は、共有シェルヘルパーの信頼できる情報源です。- 子スキルはこれらのスクリプトをシンボリックリンクできます。すべての依存する子がまとめて更新されない限り、スクリプト名と引数の契約を保持してください。
skills/spec-kit/references/spec-kit-workflow.dotは、複数の子スキルでシンボリックリンクによって共有されており、ルーターの正確性を維持する必要があります。
このリポジトリでサポートされていないもの
spec-kit-taskstoissuesはサポートされていません。- ユーザーが
tasks.mdから GitHub issue のエクスポートを要求した場合、spec-kit-*エクスポータースキルは利用できないことを伝え、手動によるガイダンスまたは利用可能なスキルを続行します。
参考文献
references/spec-kit-workflow.dot- アップストリームベースライン:
https://github.com/github/spec-kit(スナップショット:9111699cd27879e3e6301651a03e502ecb6dd65d)
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
Spec Kit Skill Router
Route requests to the smallest set of installed spec-kit-* skills.
Treat routes as defaults; if repository constraints require a different sequence, state the deviation and risk.
Invocation Notice
- Inform the user when this skill is invoked by name:
spec-kit.
Trigger Tests
- Should trigger:
- "Which spec-kit skill should I run next?"
- "Route this feature request through Spec Kit."
- "I have
tasks.md; can we implement now?"
- Should not trigger:
- "Write a Conventional Commit message."
- "Debug Python concurrency bugs unrelated to Spec Kit."
Route by Intent
| User Intent | Route | Required artifacts |
|---|---|---|
| Create or update governance/principles | spec-kit-constitution |
none |
| Draft or revise feature requirements | spec-kit-specify |
constitution recommended |
| Resolve high-impact ambiguity before planning | spec-kit-clarify |
spec.md |
| Produce technical design artifacts | spec-kit-plan |
spec.md + constitution |
| Generate dependency-ordered implementation tasks | spec-kit-tasks |
plan.md (+ spec.md) |
| Audit cross-artifact consistency (read-only) | spec-kit-analyze |
spec.md + plan.md + tasks.md |
| Reconcile specification drift at any stage | spec-kit-reconcile |
gap report + existing feature artifacts |
| Generate requirements-quality checklist | spec-kit-checklist |
spec.md |
| Execute implementation from tasks | spec-kit-implement |
tasks.md |
Routing Flowchart
Use this for feature-work sequencing. Gate checks are mandatory.
digraph feature_route {
rankdir=TB;
node [fontname="Helvetica", fontsize=10];
edge [fontname="Helvetica", fontsize=9];
start [label="Feature request", shape=oval];
reconcile_gate [label="Need reconcile now\n(drift detected)?", shape=diamond];
has_const [label="constitution exists?", shape=diamond];
constitution [label="spec-kit-constitution", shape=box];
has_spec [label="spec.md exists?", shape=diamond];
specify [label="spec-kit-specify", shape=box];
clarify_gate [label="Spec ambiguity blocks planning?", shape=diamond];
clarify [label="spec-kit-clarify", shape=box];
plan [label="spec-kit-plan", shape=box];
tasks [label="spec-kit-tasks", shape=box];
analyze_gate [label="Run spec-kit-analyze?", shape=diamond];
analyze [label="spec-kit-analyze", shape=box];
analyze_blocking [label="Blocking findings?", shape=diamond];
reconcile [label="spec-kit-reconcile", shape=box];
has_tasks [label="tasks.md exists?", shape=diamond];
stop_tasks [label="STOP:\nrun spec-kit-tasks first", shape=octagon, style=filled, fillcolor=red, fontcolor=white];
implement [label="spec-kit-implement", shape=box];
post_impl_gaps [label="Post-implementation\ngaps found?", shape=diamond];
done [label="Feature complete", shape=doublecircle];
start -> reconcile_gate;
reconcile_gate -> reconcile [label="yes"];
reconcile_gate -> has_const [label="no"];
reconcile -> has_const [label="continue"];
has_const -> constitution [label="no"];
has_const -> has_spec [label="yes"];
constitution -> has_spec;
has_spec -> specify [label="no"];
has_spec -> clarify_gate [label="yes"];
specify -> clarify_gate;
clarify_gate -> clarify [label="yes"];
clarify_gate -> plan [label="no"];
clarify -> plan;
plan -> tasks;
tasks -> has_tasks;
has_tasks -> analyze_gate [label="yes"];
has_tasks -> stop_tasks [label="no"];
analyze_gate -> analyze [label="recommended"];
analyze_gate -> implement [label="skip"];
analyze -> analyze_blocking;
analyze_blocking -> reconcile [label="yes"];
analyze_blocking -> implement [label="no"];
reconcile -> implement;
implement -> post_impl_gaps;
post_impl_gaps -> done [label="no"];
post_impl_gaps -> reconcile [label="yes"];
}
Sequence Rules
- Never run
spec-kit-planwithoutspec.md. - Never run
spec-kit-implementwithouttasks.md. - Run
spec-kit-clarifybefore planning when ambiguity can change architecture, data model, testing, UX, operations, or compliance. - Run
spec-kit-reconcilewhenever drift is detected at any stage before continuing.
Router Behavior
- Classify user intent first, then select one or more child skills from the route table.
- Enforce artifact gates before invoking downstream skills.
- Prefer the minimal next step; do not run the full pipeline unless requested.
- If the requested step violates a gate, route to the missing prerequisite and explain the dependency.
- Route developer-reported drift directly to
spec-kit-reconcile, even if raised outside analyze/implement.
Shared Resource Ownership (Parent Skill)
skills/spec-kit/scripts/*is the source of truth for shared shell helpers.- Child skills may symlink these scripts; preserve script names and argument contracts unless all dependent children are updated together.
skills/spec-kit/references/spec-kit-workflow.dotis shared by symlink in multiple child skills and must stay router-accurate.
Unsupported in This Repo
spec-kit-taskstoissuesis not supported.- If the user asks for GitHub issue export from
tasks.md, state that nospec-kit-*exporter skill is available and continue with manual guidance or available skills.
References
references/spec-kit-workflow.dot- Upstream baseline:
https://github.com/github/spec-kit(snapshot:9111699cd27879e3e6301651a03e502ecb6dd65d)