Do Task
Look up a task and start working on it — no CLI required.
Instructions
The user's query is in $ARGUMENTS (a task ID like 077 or a task name/keyword).
Find the task file:
- Read
.taskmd.yamlfor customdir(default:tasks) - Use
Globfor<task-dir>/**/*$ARGUMENTS*.md - If multiple matches, read frontmatter to find the exact ID match
- If not found, scan all task files and list available tasks for the user to choose
- Read
Read the task file with the
Readtool to get the full description, subtasks, and acceptance criteriaMark the task as in-progress:
- Use
Editto changestatus: pending(or current status) tostatus: in-progressin the frontmatter
- Use
Start a worklog entry (only if worklogs are enabled):
- Check
.taskmd.yamlforworklogs: true. Worklogs are opt-in — an absent key means disabled. If it is not explicitly enabled, skip all worklog steps silently — do not mention worklogs, do not tell the user they are disabled, just move on. - If enabled, find or create the worklog file at
<task-dir>/<group>/.worklogs/<ID>.md(or<task-dir>/.worklogs/<ID>.mdfor root tasks) - Append a timestamped entry noting your approach and initial findings
- Check
Do the task: Follow the task description and complete the work described
- Use
EnterPlanModefor non-trivial implementation tasks - Check off subtasks (
- [x]) in the task file usingEditas you complete them - Append worklog entries when you make key decisions, hit blockers, or complete significant subtasks
- In the Plan, include a reference to the original task ID and task file path
- Use
Write a final worklog entry (only if worklogs are enabled — otherwise skip silently) summarizing what was done, decisions made, and any open items
Mark the task as done: Use the
/complete-taskskill (invoke it with the task ID) to complete the task. It handles verification and status changes automatically.
Worklog Format
Each worklog entry uses a timestamp heading followed by free-form notes:
## 2026-02-15T10:30:00Z
Started implementation of the search feature.
**Approach:** Using full-text search with the existing SQLite database
rather than adding Elasticsearch — simpler and sufficient for our scale.
**Completed:**
- [x] Added search query parser
- [x] Created search index
**Next:** Add result ranking and write tests.
See SPEC_REFERENCE.md (in the plugin root) for frontmatter schema, field values, and workflow modes.