This skill should be used when planning and tracking complex feature implementations that require systematic task decomposition. Use this skill to break down large features into manageable, well-documented tasks with clear dependencies, action items, and success criteria. The skill provides a structured template and methodology for iterative planning and tracking throughout implementation.
This skill provides a structured approach for planning and tracking complex feature implementations through systematic task decomposition. It helps break down large, multi-component features into manageable tasks with clear goals, dependencies, and success criteria.
Use this skill when:
Do NOT use this skill for:
IMPORTANT: This is a PHASED approach. Complete each phase BEFORE moving to the next.
Actions:
.plans/[feature-name]/ directory (in current project directory)assets/plan-template.md to .plans/[feature-name]/plan.md.plans/[feature-name]/tasks/ directory for task files[Feature Name] with your feature name in plan.mdTaskCreate: subject="Phase 1: Setup template with Research section", activeForm="Setting up plan template"
TaskCreate: subject="Phase 2: Conduct research and iterate with user", activeForm="Researching codebase"
TaskCreate: subject="Phase 3: Finalize selected approach", activeForm="Finalizing approach"
TaskCreate: subject="Phase 4: Create implementation tasks (T01-T0N)", activeForm="Creating implementation tasks"
Mark Phase 1 as completed via TaskUpdate (status: completed)
Output: Skeleton plan document with Research section defined and native tasks created for phases 1-4
Research Process (Iterative):
AskUserQuestion to clarify requirements and constraintsCRITICAL:
Mark Phase 2 as in_progress via TaskUpdate when starting, completed when user confirms research is complete
Output: Research with 2-3 Strategy Proposals documented and reviewed with user
Actions:
Mark Phase 3 as in_progress via TaskUpdate when starting, completed once Selected Approach section is fully documented
Output: Research fully documented with clear decision and rationale
IMPORTANT: Before creating tasks, read references/task-planning-guide.md to understand:
Actions:
NOW create T01, T02, T03, ...T0N as separate files in .plans/[feature-name]/tasks/ based on selected approach
Step-by-Step: Creating a Task File
For each task you need to create:
cp [path-to-task-template.md] .plans/[feature-name]/tasks/T01.md
T0X with actual task number (T01, T02, etc.)- [ ] [**T01**: Task Name](tasks/T01.md) - Status: 🟡 PlannedTaskCreate: subject="T01: [Task Name]", description="[Goal from task file]", activeForm="Implementing [task name]"
If tasks have dependencies, use TaskUpdate to set addBlockedBy relationships matching the plan.Mark Phase 4 as completed via TaskUpdate
Output: Complete task breakdown (T01.md - T0N.md files) in tasks/ folder, all linked from plan.md Progress Summary, all registered as native tasks
Note: Phase 5 tasks are tracked in task files, plan.md, AND the native task system via TaskUpdate.
IMPORTANT: Before starting work on ANY task, read references/task-planning-guide.md for:
When to consult task-planning-guide.md:
CRITICAL RULE: Work on ONE task at a time. Do NOT start the next task until the current task is FULLY completed.
Task Status Flow:
Starting a Task:
references/task-planning-guide.md - Review relevant sections before beginning work**Status**: 🟢 **In Progress**- [ ] [**T01**: Task Name](tasks/T01.md) - Status: 🟢 In ProgressTaskUpdate: taskId=[id], status=in_progressDuring Task Execution: 4. Work through Action Items, checking off boxes as you complete them:
- [x] Create API endpoint
- [x] Add request validation
- [ ] Add error handling ← Currently working here
- [ ] Write tests
Completing a Task:
7. Verify ALL action items are checked: [x]
8. Fill in "Execution Summary" section in task file:
## Execution Summary
**Completed**: 2025-01-08 14:30
**What was implemented**:
- Added /api/users endpoint with validation
- Implemented error handling for edge cases
**Challenges encountered**:
- Had to refactor auth middleware to support new endpoint
**Status**: ✅ **Completed**- [x] [**T01**: Task Name](tasks/T01.md) - Status: ✅ CompletedTaskUpdate: taskId=[id], status=completedWhen completing T01, you must update BOTH locations:
In tasks/T01.md (lines 7-9):
**Status**: ✅ **Completed**
**Effort**: Medium
**Blocked By**: None
In plan.md Progress Summary (line ~18):
- [x] [**T01**: Add API endpoint](tasks/T01.md) - Status: ✅ Completed
In native task system:
TaskUpdate: taskId=[id for T01], status=completed
Why triple-tracking?
~/.claude/tasks/If you cannot complete a task:
If you discover additional work during Phase 5:
T06.md) in tasks/ directoryRemember: ONE task at a time. Complete it FULLY (all checkboxes, three locations updated, Execution Summary filled), then ASK USER for confirmation before moving to the next.
Note: Phase 6 is tracked directly in the plan document.
After feature completion:
TaskCreate registers phases 1-4 at setup, then T01-T0N at Phase 4:
Phase tasks (created in Phase 1):
TaskCreate: "Phase 1: Setup template with Research section"
TaskCreate: "Phase 2: Conduct research and iterate with user"
TaskCreate: "Phase 3: Finalize selected approach"
TaskCreate: "Phase 4: Create implementation tasks (T01-T0N)"
Implementation tasks (created in Phase 4):
TaskCreate: "T01: [Task Name]"
TaskCreate: "T02: [Task Name]"
...
Phase-by-Phase Workflow:
Phase 1 - Setup:
.plans/[feature-name]/ and .plans/[feature-name]/tasks/ directories.plans/[feature-name]/plan.mdPhase 2 - Research & Iterate (AskUserQuestion REQUIRED):
Phase 3 - Finalize:
Phase 4 - Create Tasks:
references/task-planning-guide.md before creating tasks.plans/[feature-name]/tasks/Phase 5 - Implementation (ONE task at a time):
references/task-planning-guide.md before starting EACH taskPhase 6 - Review:
During research phase, research existing similar features and match their architecture exactly. Benefit: Consistent codebase, faster implementation, reduced bugs.
During research, look for ways to simplify (e.g., avoid unnecessary API calls). Benefit: Reduced dependencies, better performance, easier maintenance.
Research phase may reveal the work is already done - mark task complete. Benefit: Avoids duplicate work, leverages tested code.
During research phase, use the "Selected Approach" section to document WHY you chose one approach over alternatives. Include: decision, rationale, key findings, and implementation plan. Benefit: Future developers understand rationale, prevents second-guessing, provides clear starting point.
Break large tasks into smaller chunks that are independently testable. Benefit: Steady progress, clear milestones, easier to parallelize.
CRITICAL: references/task-planning-guide.md is NOT just for planning - read it throughout implementation.
Read references/task-planning-guide.md:
Remember:
npx skills add NikiforovAll/structured-plan-mode下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer