Spec Kit タスク分解
承認されたSpec Kit(計画と仕様)に基づき、依存関係を考慮してタスクを分解し、タスクリストを作成・更新することで、計画や変更後のタスク管理を効率化するSkill。
📜 元の英語説明(参考)
Use when an approved Spec Kit `plan.md` + `spec.md` must be decomposed into dependency-ordered `tasks.md`, or when `tasks.md` is missing/stale after planning or reconciliation changes.
🇯🇵 日本人クリエイター向け解説
承認されたSpec Kit(計画と仕様)に基づき、依存関係を考慮してタスクを分解し、タスクリストを作成・更新することで、計画や変更後のタスク管理を効率化するSkill。
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o spec-kit-tasks.zip https://jpskill.com/download/10653.zip && unzip -o spec-kit-tasks.zip && rm spec-kit-tasks.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/10653.zip -OutFile "$d\spec-kit-tasks.zip"; Expand-Archive "$d\spec-kit-tasks.zip" -DestinationPath $d -Force; ri "$d\spec-kit-tasks.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
spec-kit-tasks.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
spec-kit-tasksフォルダができる - 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 Tasks
Spec Kit の設計成果物から、実装準備が整った tasks.md を生成します。
どのような時に使うか
plan.mdとspec.mdが存在し、実装のための実行可能なタスクが必要な場合。tasks.mdが存在しない、古い、または現在の plan/spec 成果物(spec-kit-reconcile後の更新を含む)と整合していない場合。- ユーザーストーリーのスコープを持つタスクフェーズを、明確な依存関係と並列化のシグナルとともに必要とする場合。
どのような時に使わないか
- 機能仕様書が存在しない場合(最初に
spec-kit-specifyを実行)。 - 影響の大きい曖昧さが、設計上の決定を依然として妨げている場合(最初に
spec-kit-clarifyを実行)。 - 技術設計の成果物が最終決定されていない場合(最初に
spec-kit-planを実行)。 - タスクを生成するのではなく、実行している場合(
spec-kit-implementを実行)。
ルーターの適合性
spec-kit-plan後のspec-kitからの主要なルート。spec-kit-implementの前に完了する必要があります。- 構造化された実装意図を生成することにより、
spec-kit-analyzeおよびspec-kit-reconcileをサポートします。
前提条件
- リポジトリのルート(またはその中のサブディレクトリ)から実行します。
- アクティブな機能コンテキストが、1つの
specs/<feature>/ディレクトリに解決されること。 plan.mdが存在し、最新の承認された設計を反映していること。
ワークフロー
-
機能パスと前提条件ゲートを解決します。
scripts/check-prerequisites.sh --jsonを正確に1回実行します。FEATURE_DIRとAVAILABLE_DOCSを解析します。- 以下を導出します。
FEATURE_SPEC = FEATURE_DIR/spec.mdIMPL_PLAN = FEATURE_DIR/plan.mdTASKS = FEATURE_DIR/tasks.md
spec.mdが存在しない場合は、停止してspec-kit-specifyにルーティングし、次にspec-kit-planにルーティングします。
-
生成入力をロードします。
- 必須:
plan.md,spec.md。 - オプション(存在する場合):
research.md,data-model.md,contracts/,quickstart.md。 - テンプレートの優先順位:
{REPO_ROOT}/templates/tasks-template.md{REPO_ROOT}/.specify/templates/tasks-template.md- フォールバック:
assets/tasks-template.md
- 必須:
-
計画コンテキストを抽出します。
plan.mdから: スタック、アーキテクチャ、制約、プロジェクト構造。spec.mdから: 優先順位付けされたユーザーストーリー、受け入れ基準、独立したテスト意図。- オプションのドキュメントから: 共有エンティティ、外部インターフェース、およびセットアップの決定。
-
タスクフェーズを構築します。
- フェーズ 1: セットアップ。
- フェーズ 2: すべてのストーリーをブロックする基礎的な前提条件。
- フェーズ 3+: 優先順位順にユーザーストーリーごとに1つのフェーズ。
- 最終フェーズ: 仕上げ/横断的な懸念事項。
-
厳密なチェックリスト形式でタスクを生成します。
- 必須パターン:
- [ ] T### [P?] [US#?] Action with file path。 [US#]は、ユーザーストーリーフェーズのみに含めます。[P]は、タスクが安全に並行して実行できる場合にのみ含めます。- すべての実装/テストタスクの説明に、正確なファイルパスを含めます。
- テストタスクは、spec/user によって明示的に要求された場合にのみ追加します。
- 必須パターン:
-
書き込み前に、カバレッジと順序を検証します。
- すべてのユーザーストーリーには、独立してテスト可能なタスクがあります。
- 依存関係は明示的であり、フェーズの順序を尊重します。
- すべてのタスクが、形式要件(チェックボックス、ID、ラベル、ファイルパス)を満たしています。
- マップされたタスクのない孤立したエンティティ/コントラクトはありません。
-
tasks.mdを書き込みます。- 選択したテンプレートの見出しの順序を保持します。
- テンプレートのプレースホルダーとサンプルコンテンツを、具体的な機能タスクに置き換えます。
-
完了を報告します。
- 絶対
tasks.mdパス。 - 合計タスク数とストーリーごとの数。
- 並列化の機会。
- 推奨される MVP スライス(通常は最初の優先順位のストーリー)。
spec-kit-implementのための準備完了の引き渡し。
- 絶対
タスク形式のガイダンス
形式の構成要素
- チェックボックス: 常に
- [ ](markdown チェックボックス) で開始します。 - タスク ID: 実行順の連番 (
T001,T002,T003, ...)。 [P]マーカー: タスクが並列化可能な場合にのみ含めます(異なるファイル、未完了のタスクへの依存関係がない)。[Story]ラベル: ユーザーストーリーフェーズのタスクにのみ必須。- 形式:
[US1],[US2],[US3], など (spec.mdのユーザーストーリーにマップされます)。 - セットアップフェーズ: ストーリーラベルなし
- 基礎フェーズ: ストーリーラベルなし
- ユーザーストーリーフェーズ: ストーリーラベルが必須
- 仕上げフェーズ: ストーリーラベルなし
- 形式:
- 説明: 正確なファイルパスを含む明確なアクション。
例
- 正しい:
- [ ] T001 実装計画に従ってプロジェクト構造を作成する - 正しい:
- [ ] T005 [P] src/middleware/auth.py に認証ミドルウェアを実装する - 正しい:
- [ ] T012 [P] [US1] src/models/user.py に User モデルを作成する - 正しい:
- [ ] T014 [US1] src/services/user_service.py に UserService を実装する - 間違い:
- [ ] User モデルを作成する(タスク ID とストーリーラベルがありません) - 間違い:
T001 [US1] モデルを作成する(チェックボックスがありません) - 間違い:
- [ ] [US1] User モデルを作成する(タスク ID がありません) - 間違い:
- [ ] T001 [US1] モデルを作成する(ファイルパスがありません)
出力
- 依存関係で順序付けられた、ストーリーのスコープを持つタスクを含む、アクティブな機能ディレクトリ下の
tasks.md。 - タスク数、依存関係のハイライト、および MVP の推奨事項を含む完了サマリー。
主要なルール
- 各ストーリーを独立して実装および検証できるように、ユーザーストーリーごとにタスクを整理します。
- タスクの粒度を実装準備が整うように保ちます。曖昧な一行記述や巨大な包括的なタスクは避けてください。
- ID と依存関係の順序で実行の真実を保持します (
T001,T002, ...)。 - 基礎的な作業は、明示的に独立していて並列処理が安全でない限り、ブロックするものとして扱います。
- デフォルトでテストを考案しないでください。テスト作業は要求された場合にのみ含めます。
よくある間違い
plan.mdの制約を使用せずに、spec.mdのみからタスクを生成する。- テンプレートからサンプルタスクをコピーする代わりに、置き換えない。
- ユーザーストーリーフェーズでファイルパスまたはストーリーラベルが欠落している。
- 同じファイル/依存関係に触れるにもかかわらず、競合するタスクを
[P]としてマークする。 - 各ストーリーの独立したテスト基準を満たすことができないタスクを生成する。
参考文献
- タスク生成が Spec Kit シーケンス全体にどのように適合するかについては、
references/spec-kit-workflow.dotを参照してください。 scripts/check-prerequisites.shassets/tasks-template.md- `https://github.com/github/spec-kit/blob/9111699cd27879e3e6301651a03e502ecb6dd65d/te
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
Spec Kit Tasks
Generate an implementation-ready tasks.md from Spec Kit design artifacts.
When to Use
plan.mdandspec.mdexist and you need executable tasks for implementation.tasks.mdis missing, stale, or not aligned with current plan/spec artifacts (including post-spec-kit-reconcileupdates).- You need user-story-scoped task phases with clear dependency and parallelization signals.
When Not to Use
- The feature spec is missing (
spec-kit-specifyfirst). - High-impact ambiguity still blocks design decisions (
spec-kit-clarifyfirst). - Technical design artifacts are not finalized (
spec-kit-planfirst). - You are executing tasks rather than generating them (
spec-kit-implement).
Router Fit
- Primary route from
spec-kitafterspec-kit-plan. - Must complete before
spec-kit-implement. - Supports
spec-kit-analyzeandspec-kit-reconcileby producing structured implementation intent.
Preconditions
- Run from repository root (or a subdirectory inside it).
- Active feature context resolves to one
specs/<feature>/directory. plan.mdexists and reflects the latest approved design.
Workflow
-
Resolve feature paths and prerequisite gate:
- Run
scripts/check-prerequisites.sh --jsonexactly once. - Parse
FEATURE_DIRandAVAILABLE_DOCS. - Derive:
FEATURE_SPEC = FEATURE_DIR/spec.mdIMPL_PLAN = FEATURE_DIR/plan.mdTASKS = FEATURE_DIR/tasks.md
- If
spec.mdis missing, stop and route tospec-kit-specifythenspec-kit-plan.
- Run
-
Load generation inputs:
- Required:
plan.md,spec.md. - Optional (when present):
research.md,data-model.md,contracts/,quickstart.md. - Template preference:
{REPO_ROOT}/templates/tasks-template.md{REPO_ROOT}/.specify/templates/tasks-template.md- fallback:
assets/tasks-template.md
- Required:
-
Extract planning context:
- From
plan.md: stack, architecture, constraints, project structure. - From
spec.md: prioritized user stories, acceptance criteria, independent test intent. - From optional docs: shared entities, external interfaces, and setup decisions.
- From
-
Build task phases:
- Phase 1: Setup.
- Phase 2: Foundational prerequisites blocking all stories.
- Phase 3+: one phase per user story in priority order.
- Final phase: Polish/cross-cutting concerns.
-
Generate tasks in strict checklist format:
- Required pattern:
- [ ] T### [P?] [US#?] Action with file path. - Include
[US#]only for user-story phases. - Include
[P]only when tasks can run safely in parallel. - Include exact file paths in every implementation/test task description.
- Add test tasks only when explicitly requested by spec/user.
- Required pattern:
-
Validate coverage and ordering before writing:
- Every user story has independently testable tasks.
- Dependencies are explicit and respect phase order.
- Every task matches format requirements (checkbox, ID, labels, file path).
- No orphaned entities/contracts without mapped tasks.
-
Write
tasks.md:- Preserve heading order from the selected template.
- Replace template placeholders and sample content with concrete feature tasks.
-
Report completion:
- Absolute
tasks.mdpath. - Total task count and per-story counts.
- Parallel opportunities.
- Suggested MVP slice (typically first priority story).
- Readiness handoff for
spec-kit-implement.
- Absolute
Task Format Guidance
Format Components
- Checkbox: ALWAYS start with
- [ ](markdown checkbox). - Task ID: Sequential number (
T001,T002,T003, ...) in execution order. [P]marker: Include ONLY if the task is parallelizable (different files, no dependencies on incomplete tasks).[Story]label: REQUIRED for user story phase tasks only.- Format:
[US1],[US2],[US3], etc. (maps to user stories fromspec.md) - Setup phase: no story label
- Foundational phase: no story label
- User story phases: MUST have story label
- Polish phase: no story label
- Format:
- Description: Clear action with exact file path.
Examples
- CORRECT:
- [ ] T001 Create project structure per implementation plan - CORRECT:
- [ ] T005 [P] Implement authentication middleware in src/middleware/auth.py - CORRECT:
- [ ] T012 [P] [US1] Create User model in src/models/user.py - CORRECT:
- [ ] T014 [US1] Implement UserService in src/services/user_service.py - WRONG:
- [ ] Create User model(missing Task ID and Story label) - WRONG:
T001 [US1] Create model(missing checkbox) - WRONG:
- [ ] [US1] Create User model(missing Task ID) - WRONG:
- [ ] T001 [US1] Create model(missing file path)
Output
tasks.mdunder the active feature directory with dependency-ordered, story-scoped tasks.- Completion summary with task counts, dependency highlights, and MVP recommendation.
Key Rules
- Organize tasks by user story so each story can be implemented and validated independently.
- Keep task granularity implementation-ready: no vague one-liners and no giant umbrella tasks.
- Preserve execution truth in IDs and dependency order (
T001,T002, ...). - Treat foundational work as blocking unless it is explicitly independent and parallel-safe.
- Never invent tests by default; include test work only when requested.
Common Mistakes
- Generating tasks from
spec.mdalone without usingplan.mdconstraints. - Copying sample tasks from the template instead of replacing them.
- Missing file paths or story labels in user-story phases.
- Marking conflicting tasks as
[P]even though they touch the same files/dependencies. - Producing tasks that cannot satisfy each story's independent test criteria.
References
references/spec-kit-workflow.dotfor where task generation fits in the full Spec Kit sequence.scripts/check-prerequisites.shassets/tasks-template.mdhttps://github.com/github/spec-kit/blob/9111699cd27879e3e6301651a03e502ecb6dd65d/templates/commands/tasks.md