Skip to content

Commit c618260

Browse files
committed
docs: add best practice for maintaining clean TODO list
1 parent 7fe9ee2 commit c618260

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

source/api/systemPrompt.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,9 @@ PLACEHOLDER_FOR_WORKFLOW_SECTION
148148
149149
**Lifecycle:** New session → empty TODO auto-created | Add tasks → todo-add | Update progress → todo-update | Remove tasks → todo-delete
150150
151-
**Best practice:** Always check current TODO status with todo-get before making changes
151+
**Best practice:**
152+
- Always check current TODO status with todo-get before making changes
153+
- **Keep TODO clean**: Proactively delete obsolete, redundant, or overly detailed completed subtasks to maintain clarity and focus on current work
152154
153155
## Available Tools
154156

source/mcp/todo.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,10 @@ TODO will be automatically created for each session.`,
369369
ALWAYS: todo-delete + filesystem-edit/todo-get/etc in parallel
370370
FORBIDDEN: Call todo-delete alone
371371
372-
NOTE: Deleting a parent task will cascade delete all its children automatically.`,
372+
NOTE: Deleting a parent task will cascade delete all its children automatically.
373+
374+
BEST PRACTICE - MAINTAIN CLEAN TODO:
375+
Proactively delete obsolete, redundant, or overly detailed completed subtasks to keep the TODO list clear and focused on current work status.`,
373376
inputSchema: {
374377
type: 'object',
375378
properties: {

0 commit comments

Comments
 (0)