SuperAPI AI Directory

pflow-task-add

Office & productivity

View repository

Updated 10-16 09:51

About this skill

If task-add-run.sh fails (non-zero exit or "status":"error" in its JSON) print ⚠️ <error.message> and stop.

Steps

  1. 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 in vX.Y.Z format (optional, only if the user specifies one).
  2. 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.
  • --description inserts indented lines under the task in the markdown file, visible via mdtodo list.