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. Pick the context source:

    • Conversation context is sufficient when every uncommitted change was made in this session and you know each changed file and what changed in it. In that case skip the script and go to step 2.
    • Otherwise (changes made outside this session, unknown working-tree state, or any doubt) run .agents/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) using ONLY the step-1 source — no other sources.

  3. Run the commit command in escalated execution mode from the start (for .git write access): .agents/skills/pflow-commit/scripts/git-commit-push.sh --message "MESSAGE". The script prints JSON: {commit_hash, branch_name, push_status, message} 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>
    
Installs
46
First Seen
May 29, 2026
pflow-commit — phpinfo/pflow-skills