todo-add
First, resolve the user's home directory by running echo $HOME via Bash. The todo file is at <home>/.claude/todo.md. The plan directories live under <home>/.claude/todo/.
Add a new task to the todo file.
Use $ARGUMENTS as the task description. If no arguments provided, ask the user what task to add.
Every task MUST have a Directory field. If the user did not specify a directory, ask them: "What directory should this task start from?"
To determine the next task number, read the file and find the highest existing ### N. heading, then increment by 1.
Two edits are required:
-
Add a row to the summary table (in the
## Summarysection) with columns:#,Task,Dir,Plan,Status. Set Plan to—and Status topending. -
Append the full task entry under
## Tasks: