| name | do-next-todo |
|---|---|
| description | Use this skill when the user says "do next X todo" where X is a section header in plans/TODO.md (e.g. "do next small todo", "do next medium todo"). Finds the first unchecked item under that header and does it. |
| version | 1.0.0 |
The user wants to work on the first unchecked item in a specific section of plans/TODO.md.
Read the file and find the first - [ ] item under the section header matching what the user asked for (e.g. "Small", "Medium", "Large"). The match is case-insensitive. If the user didn't specify a section header, e.g. "do the next todo", then just pick the first - [ ] item from the top of the file.
If there are no unchecked items in the named section, tell the user and don't do anything else. Do not do items from another section if the user specified a section.
Carry out whatever that item describes — just as if the user had typed the request directly. Apply any relevant skills if they match. For items in the Medium and Large sections, do the work in a git worktree.
After completing the work you MUST update plans/TODO.md in three ways:
-
Change the checkbox:
- [ ]→- [x] -
Move the item: Remove it from its current section and append it at the bottom of the
## Donesection. -
If needed, add new item to Plans: If the work produced a plan file in
plans/, there are two sub steps you MUST complete:-
Append
(plan: plans/filename.md)to the end of the original todo item. -
Add an unchecked item at the bottom of the
## Planssection that says “Implement the plan in plans/…” with the name of the plan file filled in.
-
The first two steps are required every time. Do not leave a completed item in its original section. And the third step is required if you wrote a plan.