complete-task
Complete Task
Mark a task as completed using the taskmd CLI.
Instructions
The user's query is in $ARGUMENTS (a task ID like 077). If $ARGUMENTS is empty or does not contain a task ID, infer the task from conversation context (e.g., the task currently being worked on). If the task cannot be determined, ask the user which task to complete.
-
Read the task file to understand the full task scope:
- Run
taskmd get <ID>to get the task contents - Identify all subtask checklists (
- [ ]/- [x]items) in the task body - Identify any acceptance criteria section
- Run
-
Verify subtasks and acceptance criteria are met:
- Review each subtask checklist item — confirm the work has been done
- Review each acceptance criterion — confirm it is satisfied
- Check off (
- [x]) any items that are complete but not yet checked off by editing the task file - If any items are genuinely incomplete, report them to the user and ask how to proceed — do NOT mark the task as completed
More from driangle/taskmd
do-task
Look up a task by ID or name and start working on it. Use when the user wants to pick up and execute a task.
25add-task
Create a new task file following the taskmd specification. Use when the user wants to add a new task to the project.
23import-todos
Discover TODO/FIXME comments in the codebase and convert selected ones into task files. Use when the user wants to turn code TODOs into tracked tasks.
23next-task
Get the next recommended task to work on. Use when the user asks what to work on next or needs a task assignment.
22get-task
Get details of a specific task by ID or name. Use when the user wants to view or look up a task.
21verify-task
Run verification checks for a task and evaluate results. Use when the user wants to verify a task's acceptance criteria.
21