.agents/skills/todo-create/SKILL.md
The .context/compound-engineering/todos/ directory is a file-based tracking system for code review feedback, technical debt, feature requests, and work items. Each todo is a markdown file with YAML frontmatter.
Legacy support: Always check both
.context/compound-engineering/todos/(canonical) andtodos/(legacy) when reading. Write new todos only to the canonical path. This directory has a multi-session lifecycle -- do not clean it up as scratch.
| Purpose | Path |
|---|---|
| Canonical (write here) | .context/compound-engineering/todos/ |
| Legacy (read-only) | todos/ |
{issue_id}-{status}-{priority}-{description}.md
pending | ready | completep1 (critical) | p2 (important) | p3 (nice-to-have)Example: 002-ready-p1-fix-n-plus-1.md
Each todo has YAML frontmatter and structured sections. Use the todo template included below when creating new todos.
---
status: ready
priority: p1
issue_id: "002"
tags: [rails, performance]
dependencies: ["001"] # Issue IDs this is blocked by
---
Required sections: Problem Statement, Findings, Proposed Solutions, Recommended Action (filled during triage), Acceptance Criteria, Work Log.
Optional sections: Technical Details, Resources, Notes.
Tool preference: Use native file-search/glob and content-search tools instead of shell commands for finding and reading todo files. Shell only for operations with no native equivalent (
mv,mkdir -p).
mkdir -p .context/compound-engineering/todos/[0-9]*-*.md, find the highest numeric prefix, increment, zero-pad to 3 digits.{NEXT_ID}-pending-{priority}-{description}.md.pending (needs triage) or ready (pre-approved).Create a todo when the work needs more than ~15 minutes, has dependencies, requires planning, or needs prioritization. Act immediately instead when the fix is trivial, obvious, and self-contained.
*-pending-*.md in both paths.pending -> ready in filename and frontmatter, fill Recommended Action.pending.Load the todo-triage skill for an interactive approval workflow.
dependencies: ["002", "005"] # Blocked by these issues
dependencies: [] # No blockers
To check blockers: search for {dep_id}-complete-*.md in both paths. Missing matches = incomplete blockers.
ready -> complete in filename and frontmatter.dependencies:.*"{issue_id}".| Trigger | Flow |
|---|---|
| Code review | /ce:review -> Findings -> /todo-triage -> Todos |
| Autonomous review | /ce:review mode:autofix -> Residual todos -> /todo-resolve |
| Code TODOs | /todo-resolve -> Fixes + Complex todos |
| Planning | Brainstorm -> Create todo -> Work -> Complete |
This skill manages durable, cross-session work items persisted as markdown files. For temporary in-session step tracking, use platform task tools (TaskCreate/TaskUpdate in Claude Code, update_plan in Codex) instead.
Replace with a concise title describing what needs to be done.
What is broken, missing, or needs improvement? Provide clear context about why this matters.
Example:
Investigation results, root cause analysis, and key discoveries.
Example format:
app/models/user_test.rbapp/models/post_test.rb (~8 scenarios)Present multiple options with pros, cons, effort estimates, and risk assessment.
Approach: Describe the solution clearly.
Pros:
Cons:
Effort: 2-3 hours
Risk: Low / Medium / High
Approach: Describe the solution clearly.
Pros:
Cons:
Effort: 4-6 hours
Risk: Low / Medium / High
(Include if you have alternatives)
To be filled during triage. Clear, actionable plan for resolving this todo.
Example: "Implement both unit tests (covering each scenario) and integration tests (full pipeline) before merging. Estimated 4 hours total effort. Target coverage > 85% for this module."
Affected files, related components, database changes, or architectural considerations.
Affected files:
app/models/user.rb:45 - full_name methodapp/services/user_service.rb:12 - validation logictest/models/user_test.rb - existing testsRelated components:
Database changes (if any):
Links to errors, tests, PRs, documentation, similar issues.
Testable checklist items for verifying completion.
Chronological record of work sessions, actions taken, and learnings.
By: Claude Code
Actions:
Learnings:
(Add more entries as work progresses)
Additional context, decisions, or reminders.