pflow-task-finish

Installation
SKILL.md

If task-finish.sh fails (non-zero exit, or an error field / "status":"error" in its JSON) print ⚠️ <message> and stop. A missing or failing git-commit-context.sh is not a stop — see step 1.

Steps

  1. Compose MESSAGE (see format below). Run .agents/skills/pflow-commit/scripts/git-commit-context.sh (read-only) and write a Conventional Commit message for the diff. If the script reports no changes, fails, or is missing because pflow-commit isn't installed, use a minimal message like chore: finish task <title>. Optionally add a kebab-case SLUG; otherwise the script derives one from the task title.
  2. Run once: .agents/skills/pflow-task-finish/scripts/task-finish.sh --message "MESSAGE" [--slug "SLUG"] [--dev "BRANCH"]. It prints one JSON line; act on status:
    • no_current_task — tell the user there's nothing to finish.
    • closed_no_git — task closed, git skipped; print the JSON warning so they install pflow-commit.
    • finished — report the result:
Installs
16
First Seen
Jun 6, 2026