Spec Kit 実装実行
承認されたSpec Kitのタスクを実装変更に反映したり、タスク実行が機能完成前のチェックリストで阻まれたりした場合に、そのタスクを確実に実行に移せるように支援するSkill。
📜 元の英語説明(参考)
Use when approved Spec Kit `tasks.md` must be executed into implementation changes, or when task execution is blocked by sequencing/checklist gates before feature completion.
🇯🇵 日本人クリエイター向け解説
承認されたSpec Kitのタスクを実装変更に反映したり、タスク実行が機能完成前のチェックリストで阻まれたりした場合に、そのタスクを確実に実行に移せるように支援するSkill。
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o spec-kit-implement.zip https://jpskill.com/download/10649.zip && unzip -o spec-kit-implement.zip && rm spec-kit-implement.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/10649.zip -OutFile "$d\spec-kit-implement.zip"; Expand-Archive "$d\spec-kit-implement.zip" -DestinationPath $d -Force; ri "$d\spec-kit-implement.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
spec-kit-implement.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
spec-kit-implementフォルダができる - 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 Implement
承認されたフィーチャタスクを依存関係の順に実行し、tasks.md のステータスを正確に保ちます。
どのような時に使うか
tasks.mdが存在し、フィーチャを提供するために段階的に実行する必要がある場合。- 実装作業は開始されているが、タスクの順序付け、チェックリストゲート、または進捗状況の追跡に一貫性がない場合。
- 引き渡しまたはリリース準備チェックの前に、決定的な実行動作が必要な場合。
どのような時に使わないか
tasks.mdがまだ存在しない場合(最初にspec-kit-tasksを実行)。- 要件/設計成果物の作成または修正をまだ行っている場合(
spec-kit-specify、spec-kit-clarify、spec-kit-plan)。 - 実行ではなく、読み取り専用の一貫性分析が必要な場合(
spec-kit-analyze)。 - ギャップが発見された後に、調整された成果物の修正が必要な場合(
spec-kit-reconcile)。
ルーターの適合性
spec-kit-tasks後のspec-kitからの主要なルート。- アクティブなフィーチャブランチの計画 + タスク成果物が必要です。
- 実行によって発見された成果物のずれを
spec-kit-reconcileにルーティングします。
前提条件
- リポジトリのルート(またはその中のサブディレクトリ)から実行します。
- アクティブなフィーチャコンテキストが単一の
specs/<feature>/ディレクトリに解決されること。 tasks.mdが現在の承認されたplan.mdを反映していること。
ワークフロー
-
フィーチャ成果物を解決し、実装ゲートを適用します。
scripts/check-prerequisites.sh --json --require-tasks --include-tasksを正確に1回実行します。FEATURE_DIRとAVAILABLE_DOCSを解析します。- 以下を導出します。
TASKS = FEATURE_DIR/tasks.mdIMPL_PLAN = FEATURE_DIR/plan.md
- 前提条件が満たされない場合:
tasks.mdが見つからない場合:停止してspec-kit-tasksにルーティングします。plan.mdが見つからない場合:停止してspec-kit-planにルーティングします。
-
チェックリストが存在する場合、チェックリストゲートを適用します。
FEATURE_DIR/checklists/が存在する場合、すべてのチェックリストファイルをスキャンします。- チェックされていない項目が残っている場合、停止して続行するかどうかを尋ねます。
- 明示的なユーザーの承認後にのみ続行します。
-
実行コンテキストをロードします。
- 必須:
tasks.md、plan.md。 - オプション(存在する場合):
data-model.md、contracts/、research.md、quickstart.md。 - これらの成果物を信頼できる情報源として使用します。それらを超えた範囲を勝手に作り出さないでください。
- 必須:
-
アクティブなツール用の ignore ファイルのカバレッジを確認します。
- 関連する ignore ファイル(
.gitignore、.dockerignore、.eslintignore、.prettierignoreなど)を確認します。 - 不足している重要なパターンのみを追加します。既存のユーザー/プロジェクトの規則を維持します。
- 関連する ignore ファイル(
-
タスクを実行する前に、
tasks.mdを実行計画に解析します。- フェーズの境界とフェーズの意図(セットアップ/基礎、ユーザーストーリーフェーズ、仕上げ)を抽出します。
- タスクごとのフィールド(タスク ID、説明、ファイルパス、
[P]マーカー、およびオプションの[US#]ラベル)を抽出します。 - タスク ID、フェーズの順序、および明示的な順序付けのメモから依存関係の順序を構築します。
- この解析された構造を、進捗状況とエラー処理のための実行の真実として扱います。
-
フェーズの順にタスクを実行します。
tasks.mdからの順序付けと依存関係の制約を尊重します。- ファイルの重複や依存関係の結合がない場合にのみ、
[P]タスクを並行して実行します。 - テストタスクが存在する場合は、テストを実装前に行う順序に従います。
- 次のフェーズに進む前に、各フェーズを完了します。
- 最初にセットアップ/基礎作業、
- 次に優先順位の高いユーザーストーリーフェーズ、
- 最後に仕上げとクロス切断の検証。
-
進捗状況とエラーを継続的に追跡します。
- 各タスクが完了したら、すぐに
tasks.mdで[X]をマークします。 - 重要なシーケンシャルタスクのエラーで停止し、ブロックしているコンテキストを報告します。
- 並列バッチの場合、成功した項目を移動させ続け、失敗したタスクと次のアクションを報告します。
- 各タスクが完了したら、すぐに
-
完了チェックを実行します。
- 必要なタスクがすべて完了していること。
- 実装が
spec.md/plan.mdの意図と一致していること。 - プロジェクトの制約ごとに必要なテスト/検証に合格すること。
- ギャップが残っている場合(たとえば、配線の欠落、受け入れの不一致、統合のずれ)、具体的なギャップレポートとともに
spec-kit-reconcileにルーティングします。
-
実装結果を報告します。
tasks.mdへの絶対パス。- 完了したタスクと残りのタスクの数。
- チェックリストゲートの結果(使用した場合)。
- 最終ステータスと推奨される次のステップ。
出力
- アクティブなフィーチャの更新された
tasks.mdの完了状態。 - ブロッカー/エラーを含む実装の進捗状況の概要(存在する場合)。
- 実装後の検証/レビューのための最終的な準備完了シグナル。
主要なルール
tasks.mdの順序を、実行の真実として扱います。- 作業と検証が完了する前に、タスクに
[X]をマークしないでください。 - 同じファイルまたは依存リソースに触れる場合は、
[P]タスクを同時に実行しないでください。 - 前提条件の成果物が不足しているか無効な場合は、停止して再ルーティングします。
- 実行中に spec/plan/tasks にアドホックにパッチを適用しないでください。構造化された修正には
spec-kit-reconcileを使用してください。
よくある間違い
- 古いまたは不足している
tasks.mdで実装を開始すること。 - 未解決のチェックリスト項目が存在する場合に、チェックリストの確認をスキップすること。
tasks.mdでの即時の[X]の更新を忘れること。これにより、現実と成果物の状態の間にずれが生じます。- ファイル/依存関係の競合があるにもかかわらず、
[P]タスクを一緒に実行すること。 - 停止して報告する代わりに、重要なシーケンシャルエラーを乗り越えて続行すること。
spec-kit-reconcileを介して修正をルーティングする代わりに、実装中にspec.md/plan.md/tasks.mdを非公式に編集すること。
参考文献
- 実装実行ロジックワークフローのための
references/spec-kit-implement-flow.dot - 実装が Spec Kit プロセスにどのように適合するかの全体的なコンテキストのための
references/spec-kit-workflow.dot。 scripts/check-prerequisites.shhttps://github.com/github/spec-kit/blob/9111699cd27879e3e6301651a03e502ecb6dd65d/templates/commands/implement.md
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
Spec Kit Implement
Execute approved feature tasks in dependency order and keep tasks.md status accurate.
When to Use
tasks.mdexists and you need to execute it phase-by-phase to deliver the feature.- Implementation work has started, but task sequencing, checklist gates, or progress tracking is inconsistent.
- You need deterministic execution behavior before handoff or release readiness checks.
When Not to Use
tasks.mddoes not exist yet (spec-kit-tasksfirst).- You are still writing or revising requirements/design artifacts (
spec-kit-specify,spec-kit-clarify,spec-kit-plan). - You need read-only consistency analysis rather than execution (
spec-kit-analyze). - You need coordinated artifact remediation after gaps are discovered (
spec-kit-reconcile).
Router Fit
- Primary route from
spec-kitafterspec-kit-tasks. - Requires planning + task artifacts for the active feature branch.
- Routes execution-discovered artifact drift to
spec-kit-reconcile.
Preconditions
- Run from repository root (or a subdirectory inside it).
- Active feature context resolves to a single
specs/<feature>/directory. tasks.mdreflects the current approvedplan.md.
Workflow
-
Resolve feature artifacts and enforce implementation gate:
- Run
scripts/check-prerequisites.sh --json --require-tasks --include-tasksexactly once. - Parse
FEATURE_DIRandAVAILABLE_DOCS. - Derive:
TASKS = FEATURE_DIR/tasks.mdIMPL_PLAN = FEATURE_DIR/plan.md
- If prerequisites fail:
- missing
tasks.md: stop and route tospec-kit-tasks - missing
plan.md: stop and route tospec-kit-plan
- missing
- Run
-
Enforce checklist gate when checklists exist:
- If
FEATURE_DIR/checklists/exists, scan all checklist files. - If any unchecked items remain, stop and ask whether to proceed anyway.
- Continue only after explicit user approval.
- If
-
Load execution context:
- Required:
tasks.md,plan.md. - Optional (when present):
data-model.md,contracts/,research.md,quickstart.md. - Use these artifacts as source of truth; do not invent scope beyond them.
- Required:
-
Verify ignore-file coverage for active tooling:
- Check relevant ignore files (
.gitignore,.dockerignore,.eslintignore,.prettierignore, etc.). - Add only missing critical patterns; preserve existing user/project conventions.
- Check relevant ignore files (
-
Parse
tasks.mdinto an execution plan before running tasks:- Extract phase boundaries and phase intent (setup/foundational, user-story phases, polish).
- Extract per-task fields: task ID, description, file path,
[P]marker, and optional[US#]label. - Build dependency order from task IDs, phase ordering, and explicit sequencing notes.
- Treat this parsed structure as execution truth for progress and failure handling.
-
Execute tasks in phase order:
- Respect ordering and dependency constraints from
tasks.md. - Run
[P]tasks in parallel only when there is no file overlap or dependency coupling. - Follow tests-before-implementation ordering where test tasks exist.
- Complete each phase before moving to the next:
- setup/foundational work first,
- then user-story phases in priority order,
- polish and cross-cutting validation last.
- Respect ordering and dependency constraints from
-
Track progress and failures continuously:
- After each completed task, mark it
[X]intasks.mdimmediately. - Halt on critical sequential task failures and report the blocking context.
- For parallel batches, keep successful items moving and report failed tasks with next actions.
- After each completed task, mark it
-
Run completion checks:
- All required tasks are complete.
- Implementation aligns with
spec.md/plan.mdintent. - Required tests/validation pass per project constraints.
- If gaps remain (for example missing wiring, acceptance mismatch, integration drift), route to
spec-kit-reconcilewith a concrete gap report.
-
Report implementation result:
- Absolute path to
tasks.md. - Completed vs remaining task counts.
- Checklist gate outcome (if used).
- Final status and recommended next step.
- Absolute path to
Output
- Updated
tasks.mdcompletion state for the active feature. - Implementation progress summary with blockers/failures (if any).
- Final readiness signal for post-implementation verification/review.
Key Rules
- Treat
tasks.mdordering as execution truth. - Never mark a task
[X]before its work and validations are complete. - Do not run
[P]tasks concurrently when they touch the same files or dependent resources. - Stop and reroute when prerequisite artifacts are missing or invalid.
- Do not patch spec/plan/tasks ad hoc during execution; use
spec-kit-reconcilefor structured remediation.
Common Mistakes
- Starting implementation with stale or missing
tasks.md. - Skipping checklist acknowledgment when unresolved checklist items exist.
- Forgetting immediate
[X]updates intasks.md, causing drift between reality and artifact state. - Running
[P]tasks together despite file/dependency conflicts. - Continuing past critical sequential failures instead of stopping and reporting.
- Editing
spec.md/plan.md/tasks.mdinformally during implementation instead of routing remediation throughspec-kit-reconcile.
References
references/spec-kit-implement-flow.dotfor implementation execution logic workflowreferences/spec-kit-workflow.dotfor overall context of how the implementation fits into the Spec Kit process.scripts/check-prerequisites.shhttps://github.com/github/spec-kit/blob/9111699cd27879e3e6301651a03e502ecb6dd65d/templates/commands/implement.md