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
- 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 becausepflow-commitisn't installed, use a minimal message likechore: finish task <title>. Optionally add a kebab-case SLUG; otherwise the script derives one from the task title. - Run once:
.agents/skills/pflow-task-finish/scripts/task-finish.sh --message "MESSAGE" [--slug "SLUG"] [--dev "BRANCH"]. It prints one JSON line; act onstatus:no_current_task— tell the user there's nothing to finish.closed_no_git— task closed, git skipped; print the JSONwarningso they installpflow-commit.finished— report the result: