2.8 KiB
2.8 KiB
/task
Create, update, complete, or list tasks. Single command for all task CRUD operations.
Subcommands
/task add [details]
/task (no args -- defaults to add)
Create a new task.
Shortcut mode: /task add "Title" high due:2026-04-15 initiative:Messaging-System effort:medium
Guided mode (no args or incomplete): Ask these questions one at a time:
- Task title -- short, action-oriented
- Initiative -- which initiative does this belong to? (list active initiatives from AGENTS.md, or "Personal", or "None")
- Priority -- High / Medium / Low
- Due date -- YYYY-MM-DD or TBD
- Effort -- Quick (<30 min) / Medium (30 min - 2h) / Deep (2h+)
- Context -- paths to context files in ~/LLM Context/ (or "none")
- Description -- what needs to be done
After gathering info:
- Create file at
todo/YYYY-MM-DD-short-slug.mdusing today's date - Use the template from
meta/templates/task-template.md - Remove the Completed field (not applicable in todo/)
- Confirm creation with: "Created:
todo/YYYY-MM-DD-slug.md"
/task update [search-term]
Modify an existing task.
- Search across
todo/,ongoing/, andblocked/for a task matching the search term (title match, fuzzy is fine) - If multiple matches, show them and ask which one
- Show the current task state
- Ask what to update -- offer these options:
- Priority
- Due date
- Effort
- Description
- Notes (append)
- Move to a different status folder
- Multiple fields at once
- Apply the update and confirm
If status changes: move the file to the new folder. If moving to done/, add Completed date (use /task done flow).
/task done [search-term]
Mark a task as completed.
- Search across
todo/,ongoing/, andblocked/for the task - Show the current task and ask for confirmation
- Ask: "Any notes to add before closing?"
- Add Completed date (today) to the task file
- Move file to
done/ - Confirm: "Completed: moved to
done/YYYY-MM-DD-slug.md"
/task list
Quick flat listing of all open tasks. Lightweight -- no inference, no analysis.
- Read all files in
todo/,ongoing/, andblocked/ - Output a simple table:
| Task | Initiative | Priority | Due | Folder |
|------|-----------|----------|-----|--------|
| ... | ... | ... | ... | todo/ongoing/blocked |
Sorted by priority then due date (same rules as /agenda).
Rules
- All task files live in
~/Workspace/Personal/Tasks/ - Use
meta/templates/task-template.mdas the canonical format - Filename convention:
YYYY-MM-DD-short-slug.md - When creating: date = today. When moving: keep the original filename (created date doesn't change)
- The Completed field only appears in files inside
done/ - When cancelling: move to
cancelled/, add reason in Notes