/taskmd:complete-taskfrom taskmd
Marks a task as completed using the taskmd CLI, with safety checks for git worktrees. Handles subtask verification, acceptance criteria, and workflow-aware status transitions.
Ships in taskmd. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Mark a task as completed using the taskmd CLI.
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.
⚠️ Worktree safety — never
cdbefore ataskmdwrite. Run everytaskmd set …command (including--verifyand thein-reviewbranch) from your current working directory. Do not prependcd /path/to/repoorcdinto a "primary working directory" first: inside a git worktree that path is a different checkout on a different branch. Unlike theEdit/Writetools (which the harness's worktree isolation guards), a shelltaskmdwrite is not isolated — after such acdit will silently flip the status in the wrong checkout. taskmd resolves its task directory from the current directory, so running in place is what keeps the write in this worktree. (Outside a git repo, running in place is already correct.)The CLI backs this up: in a multi-worktree repo,
taskmd setrefuses to write when the task exists only in a sibling worktree (task <id> exists only in worktree <path> …; run taskmd there). If you hit that error, you are in the wrong checkout — do not work around it bycd-ing; run the command from the worktree that owns the task.
Read the task file to understand the full task scope:
taskmd get <ID> to get the task contents- [ ] / - [x] items) in the task bodyVerify subtasks and acceptance criteria are met:
- [x]) any items that are complete but not yet checked off by editing the task fileAdd a final worklog entry (if worklogs are enabled):
.taskmd.yaml for worklogs: true -- worklogs are opt-in, so skip this step unless the key is explicitly set to truetasks/<group>/.worklogs/<ID>.md (or tasks/.worklogs/<ID>.md)Check the workflow mode in .taskmd.yaml (run these taskmd set commands from the current working directory — do not cd elsewhere first, see the ⚠️ note above):
workflow: pr-review is set, use taskmd set $ARGUMENTS --status in-review instead of completed (note: in pr-review mode, tasks are completed by merging the PR, not by setting status directly)solo mode), run taskmd set $ARGUMENTS --status completed --verify--verify flag runs any verification checks defined in the task before applying the status changeConfirm the status change to the user
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub driangle/taskmd --plugin taskmd13 skills in this plugin
/add-taskCreate a new task file following the taskmd specification. Use when the user wants to add a new task to the project./divide-and-conquerPick up a task and execute it using subagents to parallelize independent workstreams. Use when the user wants to work on a task with maximum concurrency./do-taskLook up a task by ID or name and start working on it. Use when the user wants to pick up and execute a task./get-taskGet details of a specific task by ID or name. Use when the user wants to view or look up a task./get-task-statusGet only the metadata/status of a task without full details. Use when the user wants to quickly check a task's status, priority, or other metadata./import-todosDiscover 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.Other plugins' skills for the same job