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

  1. Get the context: .claude/skills/pflow-commit/scripts/git-commit-context.sh. If the output is No changes detected., tell the user there is nothing to commit and stop.

  2. Compose MESSAGE (see format below).

  3. 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. If error is present, print ⚠️ <error.message> and stop.

  4. Reply exactly, substituting values from the JSON:

    ✅ Commit message:
    MESSAGE
    
    ✅ Committed and pushed:
    Hash: <commit_hash> | Branch: <branch_name> | Status: <push_status>
    

Gotchas

Installs
4
First Seen
7 days ago
pflow-commit — phpinfo/pflow-skills