plugins/handbook-structured-plan-mode/skills/structured-plan-mode/SKILL.md
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.
npx skillsauth add nikiforovall/claude-code-rules structured-plan-modeInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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:
development
Generate beautiful, self-contained HTML pages that visually explain systems, code changes, plans, and data. Use when the user asks for a diagram, architecture overview, diff review, plan review, project recap, comparison table, or any visual explanation of technical concepts. Also use proactively when you are about to render a complex ASCII table (4+ rows or 3+ columns) — present it as a styled HTML page instead.
tools
Expert guidance for using the GitLab CLI (glab) to manage GitLab issues, merge requests, CI/CD pipelines, repositories, and other GitLab operations from the command line. Use this skill when the user needs to interact with GitLab resources or perform GitLab workflows.
tools
--- name: reflect description: Analyze a Claude Code session for "wrong-turn" moments (corrections, retries, waste, reversals, dead-ends) and produce an interactive HTML dashboard with copy-able recommendations (CLAUDE.md rules, docs, scripts, hooks, memory entries, sub-skills, etc.) that would help future agents reach the goal faster. Defaults to reflecting on the current in-context session; optionally accepts a session ID or JSONL path. Use when the user invokes /reflect or asks to learn from
tools
--- name: reflect-tree description: Visualize a Claude Code session as a quest/skill tree — a navigable SVG graph where nodes are turns and edges show flow, with distinct visual encoding for normal flow, dead-ends, corrections, retries, reversals, and backtracking. Sibling to /reflect (which produces an incidents+recommendations dashboard); this one shows the journey itself. Defaults to the current in-context session; optionally accepts a session ID or JSONL path. Use when the user invokes /refl