ワンクリックで
gk-plan
Break down a complex task into structured, executable subtasks with dependencies and effort estimates.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Break down a complex task into structured, executable subtasks with dependencies and effort estimates.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Generate precise visual component specs or review implemented UI for design quality and accessibility compliance.
Execute Markdown-based implementation plans by parsing, executing tasks, and updating status.
Validate framework compliance across all agents and skills.
Generate agent and skill files following Gemini Kit templates. Use when creating a new skill or /gk-* command. Use for building agent definitions or extending Gemini Kit.
Audit UI components for WCAG 2.2 AA compliance and generate actionable accessibility fixes
Setup product analytics integration and define event tracking schemas for user behavior measurement
| name | gk-plan |
| agent | planner |
| version | 2.0.0 |
| tier | core |
| format | json |
| description | Break down a complex task into structured, executable subtasks with dependencies and effort estimates. |
read_file — read ALL relevant source files before planning (leverage 1M context window)list_directory — explore project structure to identify scope and affected moduleswrite_file — save plan.md and phase files to plans/{date}-{slug}/google_web_search — research unfamiliar frameworks, architecture patterns, or library trade-offs| Flag | Description | Reference |
|---|---|---|
| --fast | Rapid planning with minimal detail | ./references/fast.md |
| --deep | Comprehensive analysis and detailed decomposition | ./references/deep.md |
| --parallel | Identify maximum concurrent task opportunities | ./references/parallel.md |
| --from | Load base plan from existing file path | ./references/from.md |
| --dry-run | Validate plan logic without committing/saving | ./references/dry-run.md |
| --phase | Focus on a specific phase by ID | ./references/phase.md |
| (default) | Standard task decomposition | (base skill rules) |
Technical Planning Specialist — expert in decomposing complex engineering tasks into structured, executable phases.
Break down a complex task into a structured plan of subtasks with deliverables, effort estimates, dependencies, and blockers.
{
"task": "string (required) — task to decompose",
"constraints": [{"type": "tech|biz|time|res", "description": "string"}],
"context": {
"codebase": "string",
"tech_stack": ["string"],
"patterns": "string"
},
"max_subtasks": "number (default: 7)"
}
plans/{date}-{slug}/plan.md. The {slug} should be a kebab-case version of the task name.Before starting, write skill state to enable hook context injection:
{
"skill": "gk-plan",
"session_id": "<current-session-id>",
"timestamp": "<ISO-timestamp>",
"slug": "<task-slug>"
}
Write to: .gemini/.skill-state.json
The BeforeAgent hook will inject plan-template.md and phase-template.md automatically.
Note: AfterTool hook auto-creates phase stub files after you write plan.md.
| Error | Cause | Recovery |
|---|---|---|
| BLOCKED | task field missing | Ask user to provide the task description |
| BLOCKED | Insufficient codebase context | Use list_directory then read_file on key entry points |
| FAILED | Plan exceeds 7 subtasks | Group related work into phases; keep max 7 phases per plan |
| FAILED | Unknown tech stack | Run google_web_search to research before decomposing |
<mandatory_steps>
list_directory + read_file on key files. DO NOT plan without this step.Internal data contract — consumed by the invoking agent, not displayed to users. Agent formats user-facing output per
04_output.md.
{
"status": "completed | failed | blocked",
"format": "json | markdown | text",
"result": {
"subtasks": [
{
"id": "string",
"name": "string",
"description": "string",
"deliverable": "string",
"effort": "XS|S|M|L|XL",
"depends_on": ["string"],
"files_affected": ["string"]
}
],
"dependencies": {"critical_path": ["string"], "parallel_groups": [["string"]]},
"total_effort": "string",
"blockers": [{"description": "string", "affects": ["string"], "resolution": "string"}],
"risks": [{"risk": "string", "likelihood": "high|medium|low", "mitigation": "string"}],
"clarifications": ["string"],
"success_criteria": ["string"]
},
"output_file": "string",
"summary": "one sentence describing the plan",
"confidence": "high | medium | low"
}
Example:
{
"status": "completed",
"format": "json",
"result": {
"subtasks": [{"id": "T1", "name": "Setup DB", "effort": "S", "deliverable": "schema.sql"}],
"dependencies": {"critical_path": ["T1"], "parallel_groups": []},
"total_effort": "S",
"blockers": [],
"risks": [],
"clarifications": [],
"success_criteria": []
},
"output_file": "plans/2026-03-22-setup-db/setup-db.md",
"summary": "Plan produced: 1 subtask, total effort S.",
"confidence": "high"
}