بنقرة واحدة
todo
File-based persistent todos. Add, list, complete — survives sessions.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
File-based persistent todos. Add, list, complete — survives sessions.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Run multiple phases hands-free. Chains discuss, plan, build, and verify automatically.
Start a new project. Deep questioning, research, requirements, and roadmap.
Execute all plans in a phase. Spawns agents to build in parallel, commits atomically.
Configure settings: depth, model profiles, features, git, and gates.
Execute the next logical step automatically. No prompts, no decisions — just do it.
Systematic debugging with hypothesis testing. Persistent across sessions.
| name | todo |
| description | File-based persistent todos. Add, list, complete — survives sessions. |
| allowed-tools | Read, Write, Bash, Glob, Grep, Skill, AskUserQuestion |
| argument-hint | add <description> | list [theme] | done <NNN> | work <NNN> |
STOP — DO NOT READ THIS FILE. You are already reading it. This prompt was injected into your context by Claude Code's plugin system. Using the Read tool on this SKILL.md file wastes ~7,600 tokens. Begin executing Step 1 immediately.
Before ANY tool calls, display this banner:
╔══════════════════════════════════════════════════════════════╗
║ PLAN-BUILD-RUN ► TODO ║
╚══════════════════════════════════════════════════════════════╝
Then proceed to Step 1.
Native Claude Code Tasks are session-scoped — they vanish when the conversation ends. Plan-Build-Run todos are individual .md files in .planning/todos/ that persist across sessions, context resets, and compactions.
Parse $ARGUMENTS to determine the subcommand:
add <description>Run the CLI to create the todo:
pbr-tools todo add "{description}"
This handles NNN generation, slug creation (via slug-generate internally), duplicate detection, and file creation. If the CLI fails, display a branded ERROR box and stop.
Parse the CLI JSON output to extract the created file path, NNN, and slug for the confirmation display.
CRITICAL -- DO NOT SKIP: Update STATE.md Pending Todos section
If the Write fails, display:
╔══════════════════════════════════════════════════════════════╗
║ ERROR ║
╚══════════════════════════════════════════════════════════════╝
Failed to write todo file.
**To fix:** Check that `.planning/todos/pending/` exists and is writable.
Confirm with branded output:
╔══════════════════════════════════════════════════════════════╗
║ PLAN-BUILD-RUN ► TODO ADDED ✓ ║
╚══════════════════════════════════════════════════════════════╝
**Todo {NNN}:** {description}
╔══════════════════════════════════════════════════════════════╗
║ ▶ NEXT UP ║
╚══════════════════════════════════════════════════════════════╝
**Work on it now** or see your task list
`/pbr:quick`
<sub>`/clear` first → fresh context window</sub>
**Also available:**
- `/pbr:check-todos` — see all pending todos
- `/pbr:progress` — see project status
list [theme].planning/todos/pending/Pending Todos:
| # | Title | Priority | Theme | Created |
|---|-------|----------|-------|---------|
| 074 | Status-line customization options | P2 | capability | 2026-02-10 |
| 075 | Add WebSearch/WebFetch/Context7 to researcher | P2 | capability | 2026-02-10 |
╔══════════════════════════════════════════════════════════════╗
║ ▶ NEXT UP ║
╚══════════════════════════════════════════════════════════════╝
**Pick a todo** — mark one done or start working
`/pbr:todo work <NNN>` — start working on a todo
`/pbr:todo done <NNN>` — mark a todo as complete
**Also available:**
- `/pbr:progress` — see project status
done <NNN>pbr-tools todo done {NNN}
This handles finding the file, updating frontmatter, safe write-to-done-then-delete-pending, and verification.
If the CLI fails (e.g., NNN not found), display a branded ERROR box and stop.╔══════════════════════════════════════════════════════════════╗
║ PLAN-BUILD-RUN ► TODO COMPLETED ✓ ║
╚══════════════════════════════════════════════════════════════╝
**Todo {NNN}:** {title}
╔══════════════════════════════════════════════════════════════╗
║ ▶ NEXT UP ║
╚══════════════════════════════════════════════════════════════╝
**See remaining tasks**
`/pbr:check-todos`
<sub>`/clear` first → fresh context window</sub>
**Also available:**
- `/pbr:continue` — execute next logical step
- `/pbr:progress` — see project status
work <NNN>Find .planning/todos/pending/{NNN}-*.md (match by number prefix)
If not found, display the same error block as done — suggest /pbr:check-todos
Read the todo file content (frontmatter + body)
Extract the title from frontmatter and the full body (Goal, Scope, Acceptance Criteria sections)
Assess complexity to choose the right skill. Evaluate the todo content against these criteria:
| Signal | Route to |
|---|---|
| Single file change, small fix, simple addition | /pbr:quick |
| Multiple acceptance criteria, multi-file scope, architectural decisions, needs research | /pbr:plan-phase (requires an active phase) |
| Investigation needed, unclear root cause | /pbr:debug |
| Open-ended exploration, no clear deliverable | /pbr:explore |
If unsure, ask the user via AskUserQuestion:
Todo {NNN} could be handled as a quick task or may need full planning.
Which approach?
- Quick task (/pbr:quick) — single executor, atomic commit
- Full planning (/pbr:plan-phase) — research, plan, build cycle
- Debug (/pbr:debug) — systematic investigation
- Explore (/pbr:explore) — open-ended investigation
╔══════════════════════════════════════════════════════════════╗
║ PLAN-BUILD-RUN ► WORKING ON TODO {NNN} ║
╚══════════════════════════════════════════════════════════════╝
**Todo {NNN}:** {title}
**Routing to:** /pbr:{chosen-skill}
{title}
Context from todo {NNN}:
{body content — Goal, Scope, Acceptance Criteria sections}
For /pbr:plan-phase, if no phase exists for this work yet, suggest the user run /pbr:plan-phase add first to create one, then re-run /pbr:todo work {NNN}.
╔══════════════════════════════════════════════════════════════╗
║ ▶ NEXT UP ║
╚══════════════════════════════════════════════════════════════╝
**Mark this todo as done if the work is complete**
`/pbr:todo done {NNN}`
Show a brief summary: count of pending todos, grouped by theme, plus usage hint.
After any todo operation, update the "Pending Todos" section of STATE.md with the current count and list.
Reference: skills/shared/error-reporting.md for branded error output patterns.
Reference: skills/shared/commit-planning-docs.md for the standard commit pattern.
If planning.commit_docs: true in config, commit todo changes:
docs(planning): add todo {NNN}docs(planning): complete todo {NNN}