Index of every page on this site: llms.txt
All skills
kartikkabadi avatar

/todo-mastery

@02a497f
by Kartikkartikkabadi/skills10 stars
Run it yourself

Use Oh My Pi's todo tool to its full capability: phased, heavily decomposed task lists with real-time progress tracking, from one-session tasks to 1000-todo programs. Teaches the agent how to plan work as phases of small verifiable todos, how to calibrate granularity to avoid over- and under-decomposition, how to keep the list honest as it works, and how to work at scale with master files and live windows. Use when starting any multi-step task, when the user provides a plan or checklist, when the task spans phases or sessions, when progress must stay visible, or when the todo list has drifted from reality.

  • 3 files
  • 28.2 KB
  • Updated 4 months ago
  • GitHub
Use this Skill: https://skilld.dev/gh/kartikkabadi/skills/todo-mastery

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

EXAMPLES.md

≈1.3k tokens on demand. Your agent reads this file only when SKILL.md points to it.

Examples

1. Worked example: add OAuth login to the API

Request: "Add Google OAuth login to the API."

Good init:

init list:
Phase "Investigate":
  - "Read auth docs and existing user model"
  - "Decide provider library and token shape"
  - "Record decisions in ADR"
Phase "Implement":
  - "Add OAuth config and env vars"
  - "Implement auth callback route"
  - "Add token validation middleware"
  - "Wire user creation on first login"
Phase "Verify":
  - "Add integration tests for login flow"
  - "Run full test suite and fix failures"

Why it is right: three outcome-named phases; 3-4 todos per phase; every todo names its check ("Run full test suite and fix failures"); irreversible work (middleware) sits after cheap exploration; verification is its own phase.

Tracking while working, batched in real time:

turn 5:  read(auth docs)                    + todo done "Read auth docs and existing user model"
turn 6:  read(provider docs)                + todo done "Decide provider library and token shape"
                                            + todo append "Document token refresh flow" to Implement
turn 7:  edit(env sample)                   + todo done "Add OAuth config and env vars"

Each todo op rides with real work. The list never lags the work by more than one action.

2. Over-decomposed: before and after

Bad (ceremony, no verification, one action split into three):

Phase "Setup":
  - "Create todo list"
  - "Update todo list"
  - "Check progress"
  - "Review plan"
  - "Write schema file"
  - "Write migration file"
  - "Run migration"
  ... 20 items, most unverifiable

Good:

Phase "Schema":
  - "Write migration and apply it"
  - "Verify schema loads in dev"

The fix: ceremony todos deleted; the three schema entries merged into one verifiable action; a check added.

3. Under-decomposed: before and after

Bad (one giant todo, no checkpoints, silent stall):

Phase "Feature":
  - "Add OAuth login"

Good: the example 1 list. The fix: split by outcome (investigate / implement / verify), each todo small enough to finish and verify in one turn.

4. Block and unblock

Waiting on a user decision:

todo block task "Decide provider library and token shape" reason "waiting on Kartik: pick provider"

The system excludes it from reminders; auto-promotion skips it. When the answer lands:

todo unblock task "Decide provider library and token shape"

It returns to pending and auto-promotes if nothing else is active.

Blocker is agent-actionable (needs reading a doc first): do not block. Append an unblocking task ahead of it:

todo append phase "Investigate" items ["Read provider docs"]

5. Re-plan mid-task

Mid-task the user adds admin roles. If the rest of the plan still holds, append:

todo append phase "Admin" items ["Add admin role to user model", "Guard admin routes"]

If the change is structural, re-init the whole list (also refreshes the session title):

todo init list: [ ...original phases re-enumerated + "Admin" phase... ]

6. Subagents and todos

Todo is parent-owned: subagents do not get the tool. A parent tracks a subagent's work as a todo whose wording matches the subagent's description. When the subagent succeeds, the matching todo auto-completes (blocked ones included — completion is the unblock signal). Failed or aborted subagents leave the todo open: verify what actually happened before closing it manually.

7. A 100-phase migration: master file + live window

Task: "Migrate the monolith to services. 12 services, about 9 phases each. Keep CI green."

Step 1 — write the master plan as a file (100 phases, 1000 todos). This is the store:

# Monolith migration
## Baseline
- [ ] Record API contract and freeze it
- [ ] Add contract tests to CI
- [ ] Measure request latency baseline
## Auth service
- [ ] Extract user store
- [ ] Route /auth to new service
- [ ] Verify auth integration tests
## Billing service
- [ ] Extract billing store
- [ ] Route /billing to new service
- [ ] Verify billing integration tests
... 97 more phases

Step 2 — open the window: init the live list with the first two phases only.

init list:
Phase "Baseline":
  - "Record API contract and freeze it"
  - "Add contract tests to CI"
  - "Measure request latency baseline"
Phase "Auth service":
  - "Extract user store"
  - "Route /auth to new service"
  - "Verify auth integration tests"

98 phases stay in the file. The per-op summary stays small (about 29 tokens per task), the stop-time reminder stays small (only window items are open), and the HUD shows the counter Todos · 1/100.

Step 3 — at each phase boundary, keep the window moving:

todo done phase "Baseline"
todo rm phase "Baseline"          (the file keeps the record)
todo append phase "Auth service" items ["Extract user store", "Route /auth to new service", "Verify auth integration tests"]
todo append phase "Billing service" items ["Extract billing store", "Route /billing to new service", "Verify billing integration tests"]

Then update the master file: mark Baseline done, check the append matches the file.

Step 4 — on a fresh session, restore the window from the file with /todo import, then view to confirm. The file is the store; the list is the working set.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at 02a497f. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Steadyupdated 4 months ago

README badge

README badge for kartikkabadi/skills/todo-mastery