jpskill.com
📦 その他 コミュニティ

Spec Kit 実装実行

spec-kit-implement

承認された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本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
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
🪟 Windows (PowerShell)
$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. 1. 下の青いボタンを押して spec-kit-implement.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → spec-kit-implement フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

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-specifyspec-kit-clarifyspec-kit-plan)。
  • 実行ではなく、読み取り専用の一貫性分析が必要な場合(spec-kit-analyze)。
  • ギャップが発見された後に、調整された成果物の修正が必要な場合(spec-kit-reconcile)。

ルーターの適合性

  • spec-kit-tasks 後の spec-kit からの主要なルート。
  • アクティブなフィーチャブランチの計画 + タスク成果物が必要です。
  • 実行によって発見された成果物のずれを spec-kit-reconcile にルーティングします。

前提条件

  • リポジトリのルート(またはその中のサブディレクトリ)から実行します。
  • アクティブなフィーチャコンテキストが単一の specs/<feature>/ ディレクトリに解決されること。
  • tasks.md が現在の承認された plan.md を反映していること。

ワークフロー

  1. フィーチャ成果物を解決し、実装ゲートを適用します。

    • scripts/check-prerequisites.sh --json --require-tasks --include-tasks を正確に1回実行します。
    • FEATURE_DIRAVAILABLE_DOCS を解析します。
    • 以下を導出します。
      • TASKS = FEATURE_DIR/tasks.md
      • IMPL_PLAN = FEATURE_DIR/plan.md
    • 前提条件が満たされない場合:
      • tasks.md が見つからない場合:停止して spec-kit-tasks にルーティングします。
      • plan.md が見つからない場合:停止して spec-kit-plan にルーティングします。
  2. チェックリストが存在する場合、チェックリストゲートを適用します。

    • FEATURE_DIR/checklists/ が存在する場合、すべてのチェックリストファイルをスキャンします。
    • チェックされていない項目が残っている場合、停止して続行するかどうかを尋ねます。
    • 明示的なユーザーの承認後にのみ続行します。
  3. 実行コンテキストをロードします。

    • 必須:tasks.mdplan.md
    • オプション(存在する場合):data-model.mdcontracts/research.mdquickstart.md
    • これらの成果物を信頼できる情報源として使用します。それらを超えた範囲を勝手に作り出さないでください。
  4. アクティブなツール用の ignore ファイルのカバレッジを確認します。

    • 関連する ignore ファイル(.gitignore.dockerignore.eslintignore.prettierignore など)を確認します。
    • 不足している重要なパターンのみを追加します。既存のユーザー/プロジェクトの規則を維持します。
  5. タスクを実行する前に、tasks.md を実行計画に解析します。

    • フェーズの境界とフェーズの意図(セットアップ/基礎、ユーザーストーリーフェーズ、仕上げ)を抽出します。
    • タスクごとのフィールド(タスク ID、説明、ファイルパス、[P] マーカー、およびオプションの [US#] ラベル)を抽出します。
    • タスク ID、フェーズの順序、および明示的な順序付けのメモから依存関係の順序を構築します。
    • この解析された構造を、進捗状況とエラー処理のための実行の真実として扱います。
  6. フェーズの順にタスクを実行します。

    • tasks.md からの順序付けと依存関係の制約を尊重します。
    • ファイルの重複や依存関係の結合がない場合にのみ、[P] タスクを並行して実行します。
    • テストタスクが存在する場合は、テストを実装前に行う順序に従います。
    • 次のフェーズに進む前に、各フェーズを完了します。
      • 最初にセットアップ/基礎作業、
      • 次に優先順位の高いユーザーストーリーフェーズ、
      • 最後に仕上げとクロス切断の検証。
  7. 進捗状況とエラーを継続的に追跡します。

    • 各タスクが完了したら、すぐに tasks.md[X] をマークします。
    • 重要なシーケンシャルタスクのエラーで停止し、ブロックしているコンテキストを報告します。
    • 並列バッチの場合、成功した項目を移動させ続け、失敗したタスクと次のアクションを報告します。
  8. 完了チェックを実行します。

    • 必要なタスクがすべて完了していること。
    • 実装が spec.md/plan.md の意図と一致していること。
    • プロジェクトの制約ごとに必要なテスト/検証に合格すること。
    • ギャップが残っている場合(たとえば、配線の欠落、受け入れの不一致、統合のずれ)、具体的なギャップレポートとともに spec-kit-reconcile にルーティングします。
  9. 実装結果を報告します。

    • 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.sh
  • https://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.md exists 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.md does not exist yet (spec-kit-tasks first).
  • 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-kit after spec-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.md reflects the current approved plan.md.

Workflow

  1. Resolve feature artifacts and enforce implementation gate:

    • Run scripts/check-prerequisites.sh --json --require-tasks --include-tasks exactly once.
    • Parse FEATURE_DIR and AVAILABLE_DOCS.
    • Derive:
      • TASKS = FEATURE_DIR/tasks.md
      • IMPL_PLAN = FEATURE_DIR/plan.md
    • If prerequisites fail:
      • missing tasks.md: stop and route to spec-kit-tasks
      • missing plan.md: stop and route to spec-kit-plan
  2. 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.
  3. 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.
  4. 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.
  5. Parse tasks.md into 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.
  6. 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.
  7. Track progress and failures continuously:

    • After each completed task, mark it [X] in tasks.md immediately.
    • 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.
  8. Run completion checks:

    • All required tasks are complete.
    • Implementation aligns with spec.md/plan.md intent.
    • Required tests/validation pass per project constraints.
    • If gaps remain (for example missing wiring, acceptance mismatch, integration drift), route to spec-kit-reconcile with a concrete gap report.
  9. Report implementation result:

    • Absolute path to tasks.md.
    • Completed vs remaining task counts.
    • Checklist gate outcome (if used).
    • Final status and recommended next step.

Output

  • Updated tasks.md completion 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.md ordering 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-reconcile for structured remediation.

Common Mistakes

  • Starting implementation with stale or missing tasks.md.
  • Skipping checklist acknowledgment when unresolved checklist items exist.
  • Forgetting immediate [X] updates in tasks.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.md informally during implementation instead of routing remediation through spec-kit-reconcile.

References

  • references/spec-kit-implement-flow.dot for implementation execution logic workflow
  • references/spec-kit-workflow.dot for overall context of how the implementation fits into the Spec Kit process.
  • scripts/check-prerequisites.sh
  • https://github.com/github/spec-kit/blob/9111699cd27879e3e6301651a03e502ecb6dd65d/templates/commands/implement.md