pflow-commit
Installation
SKILL.md
On any failure (non-zero exit from a Shell command OR an error field in JSON output) print ⚠️ <error message> and stop immediately.
Steps
-
Get the context:
.claude/skills/pflow-commit/scripts/git-commit-context.sh. If the output isNo changes detected., tell the user there is nothing to commit and stop. -
Compose MESSAGE (see format below).
-
Commit and push:
.claude/skills/pflow-commit/scripts/git-commit-push.sh --message "MESSAGE". The script prints JSON:{commit_hash, branch_name, push_status}on success, or{…, error:{step, message}}on failure. Iferroris present, print⚠️ <error.message>and stop. -
Reply exactly, substituting values from the JSON:
✅ Commit message: MESSAGE ✅ Committed and pushed: Hash: <commit_hash> | Branch: <branch_name> | Status: <push_status>