Get Task
Retrieve full details of a specific task — no CLI required.
Instructions
The user's query is in $ARGUMENTS (a task ID like 077 or a task name/keyword).
Find the task directory:
- Read
.taskmd.yamlif it exists to check for a customdirfield - Default to
tasksif not configured
- Read
Find the task file:
- Use
Globfor<task-dir>/**/*$ARGUMENTS*.mdto find files matching the ID or keyword - If multiple matches, read each file's frontmatter to find the one with
idmatching$ARGUMENTS - If no match by filename, use
Globfor<task-dir>/**/*.mdand read frontmatter of each to find a matchingid - If still no match, list available tasks and ask the user which one they meant
- Use
Read the full task file using the
ReadtoolPresent the task including:
- All frontmatter fields (ID, title, status, priority, effort, type, tags, owner, dependencies, etc.)
- The full markdown body (objective, tasks/subtasks, acceptance criteria)
- The file path for reference
See SPEC_REFERENCE.md (in the plugin root) for valid field values and frontmatter schema.