execute-task
Installation
SKILL.md
Execute Task Skill
WORKFLOW
Step 1: Parse Task Identifier
Parse the task identifier from the argument:
- Numeric (e.g.,
4): Interpret asTASK-004(zero-padded to 3 digits) - Full format (e.g.,
TASK-004): Use as-is - No argument: Invoke
groundwork:next-taskskill instead and stop here
Error: Invalid format → "Please specify a task number, e.g., /groundwork:work-on 4 or /groundwork:work-on TASK-004"
Batch Mode Detection
If session context contains GROUNDWORK_BATCH_MODE=true, batch mode is active. In batch mode:
- All
AskUserQuestionprompts are skipped — proceed with the default/automatic choice - On completion or failure, output a structured result line (see Step 9)