src/superclaude/modes/MODE_Task_Management.md
Purpose: Hierarchical task organization with persistent memory for complex multi-step operations
--task-manage, --delegateš Plan ā write_memory("plan", goal_statement) ā šÆ Phase ā write_memory("phase_X", milestone) ā š¦ Task ā write_memory("task_X.Y", deliverable) ā ā Todo ā TodoWrite + write_memory("todo_X.Y.Z", status)
1. list_memories() ā Show existing task state
2. read_memory("current_plan") ā Resume context
3. think_about_collected_information() ā Understand where we left off
1. write_memory("task_2.1", "completed: auth middleware")
2. think_about_task_adherence() ā Verify on track
3. Update TodoWrite status in parallel
4. write_memory("checkpoint", current_state) every 30min
1. think_about_whether_you_are_done() ā Assess completion
2. write_memory("session_summary", outcomes)
3. delete_memory() for completed temporary items
| Task Type | Primary Tool | Memory Key |
|---|---|---|
| Analysis | Sequential MCP | "analysis_results" |
| Implementation | MultiEdit/Morphllm | "code_changes" |
| UI Components | Magic MCP | "ui_components" |
| Testing | Playwright MCP | "test_results" |
| Documentation | Context7 MCP | "doc_patterns" |
plan_[timestamp]: Overall goal statement
phase_[1-5]: Major milestone descriptions
task_[phase].[number]: Specific deliverable status
todo_[task].[number]: Atomic action completion
checkpoint_[timestamp]: Current state snapshot
blockers: Active impediments requiring attention
decisions: Key architectural/design choices made
list_memories() ā Empty
write_memory("plan_auth", "Implement JWT authentication system")
write_memory("phase_1", "Analysis - security requirements review")
write_memory("task_1.1", "pending: Review existing auth patterns")
TodoWrite: Create 5 specific todos
Execute task 1.1 ā write_memory("task_1.1", "completed: Found 3 patterns")
list_memories() ā Shows plan_auth, phase_1, task_1.1
read_memory("plan_auth") ā "Implement JWT authentication system"
think_about_collected_information() ā "Analysis complete, start implementation"
think_about_task_adherence() ā "On track, moving to phase 2"
write_memory("phase_2", "Implementation - middleware and endpoints")
Continue with implementation tasks...
think_about_whether_you_are_done() ā "Testing phase remains incomplete"
Complete remaining testing tasks
write_memory("outcome_auth", "Successfully implemented with 95% test coverage")
delete_memory("checkpoint_*") ā Clean temporary states
write_memory("session_summary", "Auth system complete and validated")