If task-add-run.sh fails (non-zero exit or "status":"error" in its JSON) print ⚠️ <error.message> and stop.
Steps
-
Clarify. You MUST understand (a) what the task is about and (b) the expected result. If the user's description is ambiguous, ask — never assume. Formulate:
TITLE— concise task name (single line).DESCRIPTION— expected result and key details (optional, may be multiline).VERSION— version tag invX.Y.Zformat (optional, only if the user specifies one).
-
Add. Run → JSON
{status:"ok",title,version,mdtodo_file,has_description}:.agents/skills/pflow-task-add/scripts/task-add-run.sh --title "TITLE" [--description "DESCRIPTION"] [--version "VERSION"]Reply:
✅ Task added: <title>
File: <mdtodo_file>
Gotchas
- If the tasks file does not exist, the script creates an empty file before adding the task.
--descriptioninserts indented lines under the task in the markdown file, visible viamdtodo list.