You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Automatically plan and execute tasks from issue documents. Reads issue requirements, creates a task list at the end of the document, and systematically executes each task while updating progress. Use when working with issue documents, task planning, or when you need to break down and execute complex multi-step requirements.
3
+
description: Automatically plan and execute requirements. Creates a markdown task list with the UpdatePlan tool, and systematically executes each task while updating progress. Use when working with task planning or when you need to break down and execute complex multi-step requirements.
4
4
---
5
5
6
6
# Plan and Execute
7
7
8
-
This Skill helps you automatically plan and execute tasks based on issue documents. It reads your requirements, creates a structured task list directly in the document, and systematically works through each task while keeping the document updated with progress.
8
+
This Skill helps you automatically plan and execute requirements. It creates a structured markdown task list with the UpdatePlan tool and systematically works through each task while keeping progress visible.
9
9
10
10
## Quick Start
11
11
12
-
When you need to work through an issue document:
12
+
When you need to work through a multi-step request:
13
13
14
-
1.The Skill will first ask you for the issue document path
15
-
2.It reads the document to understand requirements
16
-
3.Creates a task list at the end of the document
17
-
4.Executes tasks one by one, updating status in real-time
14
+
1.Understand the requirements
15
+
2.Read referenced files only when they are needed for context
16
+
3.Create a markdown task list by calling the UpdatePlan tool
17
+
4.Execute tasks one by one, updating the tool plan in realtime
18
18
19
19
## Instructions
20
20
21
-
### Step 1: Get the issue document path
21
+
### Step 1: Gather the requirements
22
22
23
-
Ask the user for the path to their issue document:
23
+
Identify the requirements from the available context. Do not require the requirements to be moved into a separate document.
24
+
25
+
If a required referenced file path is missing, ask for it:
24
26
25
27
```
26
-
What is the path to your issue document?
28
+
What is the path to the referenced file?
27
29
```
28
30
29
-
The document can be in any text format (.md, .txt, etc.) that contains task requirements or feature descriptions.
31
+
Referenced files can be in any text format (.md, .txt, etc.) that contains task requirements or feature descriptions. If no additional file is needed, continue from the available requirements.
30
32
31
-
### Step 2: Read and analyze the issue document
33
+
### Step 2: Read and analyze the requirements
32
34
33
-
Use the Read tool to load the document content and analyze:
35
+
Analyze the requirements and read any referenced files needed for context:
34
36
35
37
- What are the main requirements?
36
38
- What tasks need to be completed?
@@ -39,35 +41,39 @@ Use the Read tool to load the document content and analyze:
39
41
40
42
### Step 3: Create the task list
41
43
42
-
Create a structured task list at the END of the issue document using this format:
44
+
Create a structured markdown task list and pass it to the UpdatePlan tool as the `plan` string. The tool input must use this shape:
Use the Edit tool to append this section to the document. Break down complex requirements into specific, actionable tasks.
62
+
Do not append the task list to a source file. Break down complex requirements into specific, actionable tasks and call UpdatePlan with the full markdown task list.
58
63
59
64
### Step 4: Execute tasks systematically
60
65
61
66
For each task in the list:
62
67
63
-
1.**Mark as in progress**: Update the task in the document from `[ ]` to `[>]`
68
+
1.**Mark as in progress**: Call UpdatePlan with the task changed from `[ ]` to `[>]`
64
69
2.**Execute the task**: Use appropriate tools to complete the work
65
-
3.**Mark as completed**: Update the task from `[>]` to `[x]` when finished
70
+
3.**Mark as completed**: Call UpdatePlan with the task changed from `[>]` to `[x]` when finished
66
71
4.**Move to next task**: Only ONE task should be in progress at a time
67
72
68
73
Important rules:
69
-
- Always update the document BEFORE starting work on a task
70
-
- Always update the document IMMEDIATELY after completing a task
74
+
- Always call UpdatePlan BEFORE starting work on a task
75
+
- Always call UpdatePlan IMMEDIATELY after completing a task
76
+
- Always pass the complete current markdown task list, not a partial diff
71
77
- Never work on multiple tasks simultaneously
72
78
- If you encounter errors, keep the task as `[>]` and create new tasks to resolve blockers
73
79
@@ -76,63 +82,54 @@ Important rules:
76
82
If during execution you discover a task is more complex than expected:
77
83
78
84
1. Keep the current task as `[>]`
79
-
2.Add new sub-tasks below it with indentation:
85
+
2.Call UpdatePlan with new sub-tasks below it with indentation:
80
86
```markdown
81
87
-[>] Main task
82
88
-[ ] Sub-task 1
83
89
-[ ] Sub-task 2
84
90
```
85
-
3. Complete sub-tasks first, then mark the main task as complete
91
+
3. Complete sub-tasks first, then mark the main task as complete with UpdatePlan
86
92
87
93
### Step 6: Final verification
88
94
89
95
After all tasks are completed (`[x]`):
90
96
91
-
1. Review the issue requirements to ensure everything is addressed
97
+
1. Review the original requirements to ensure everything is addressed
92
98
2. Run any final checks (tests, builds, linting)
93
-
3. Add a completion summary at the end of the document
99
+
3. Call UpdatePlan with every task marked `[x]`
100
+
4. Provide a concise completion summary in the final response
94
101
95
102
## Task State Symbols
96
103
97
-
-`[ ]` - **Pending**: Not started yet
98
-
-`[>]` - **In Progress**: Currently working on this
99
-
-`[x]` - **Completed**: Finished successfully
100
-
-`[!]` - **Blocked**: Cannot proceed (optional, for blocked tasks)
104
+
-`[ ]` - Pending
105
+
-`[>]` - In progress
106
+
-`[x]` - Completed
107
+
-`[!]` - Blocked
101
108
102
109
## Examples
103
110
104
111
### Example 1: Simple feature request
105
112
106
-
**Issue document (before):**
113
+
**Example requirements:**
107
114
```markdown
108
115
# Feature: Add dark mode toggle
109
116
110
117
Users should be able to switch between light and dark themes.
111
118
The toggle should be in the settings page.
112
119
```
113
120
114
-
**Issue document (after task list added):**
121
+
**UpdatePlan call after analysis:**
115
122
```markdown
116
-
# Feature: Add dark mode toggle
117
-
118
-
Users should be able to switch between light and dark themes.
119
-
The toggle should be in the settings page.
120
-
121
123
## Task List
122
124
123
125
-[ ] Create dark mode toggle component in Settings page
124
126
-[ ] Add dark mode state management (context/store)
125
127
-[ ] Implement CSS-in-JS styles for dark theme
126
128
-[ ] Update existing components to support theme switching
127
129
-[ ] Run tests and verify functionality
128
-
129
-
### Task Status Legend
130
-
-[ ] Pending
131
-
-[>] In Progress
132
-
-[x] Completed
133
130
```
134
131
135
-
**During execution:**
132
+
**UpdatePlan call during execution:**
136
133
```markdown
137
134
## Task List
138
135
@@ -145,15 +142,15 @@ The toggle should be in the settings page.
145
142
146
143
### Example 2: Bug fix with investigation
147
144
148
-
**Issue document:**
145
+
**Example requirements:**
149
146
```markdown
150
147
# Bug: Login form crashes on submit
151
148
152
149
When users click submit, the app crashes.
153
150
Error message: "Cannot read property 'email' of undefined"
1.**Single simple task** - Just one straightforward action needed
190
182
2.**Trivial changes** - Quick fixes that don't need planning
191
183
3.**Informational requests** - User just wants explanation, not execution
192
-
4.**No document provided** - User hasn't created an issue document
184
+
4.**No execution requested** - User only wants brainstorming or a high-level explanation
193
185
194
186
## Best Practices
195
187
@@ -236,24 +228,24 @@ Add implementation notes or findings:
236
228
237
229
## Requirements
238
230
239
-
This Skill uses standard Deep Code tools:
231
+
This Skill uses standard tools:
240
232
241
-
-**Read**: To read the issue document
242
-
-**Edit**: To update task status in the document
233
+
-**Read**: To inspect referenced files when needed
234
+
-**UpdatePlan**: To create and update the markdown task list
243
235
-**Bash**: To run tests, builds, or other commands
244
236
-**Write**: To create new files if needed
245
237
246
238
No additional dependencies required.
247
239
248
240
## Workflow Summary
249
241
250
-
1.Ask user for issue document path
251
-
2. Read and analyze the document
252
-
3.Append structured task list to document
242
+
1.Analyze the requirements
243
+
2. Read referenced files when needed
244
+
3.Call UpdatePlan with the structured markdown task list
253
245
4. For each task:
254
-
- Update to `[>]`in document
246
+
- Update to `[>]`with UpdatePlan
255
247
- Execute the task
256
-
- Update to `[x]`in document
257
-
5.Add completion summary when done
248
+
- Update to `[x]`with UpdatePlan
249
+
5.Call UpdatePlan with all tasks completed and summarize the result
258
250
259
-
This approach keeps all planning and progress tracking in one place - the issue document itself - making it easy for users to see what's been done and what's remaining.
251
+
This approach keeps planning and progress tracking in the UpdatePlan display, leaving source materials unchanged unless the actual task requires editing them.
0 commit comments