| name | create-pr |
| description | Create PR — commit, push, PR, wait for merge. |
Execute each line literally (scripts MUST be run, not reimplemented):
S="${CLAUDE_PLUGIN_ROOT}/skills/create-pr/scripts"
"$S/preflight-check.sh"
git add <files> && git commit -m "type(scope): msg"
git push -u origin HEAD
gh pr create --title "$(git log -1 --pretty=%s)" --body "<body>"
If user requests auto merge: gh pr merge --auto --squash → invoke "$S/wait-for-merge.sh"
via the Monitor tool. Each check: <name>: <bucket> line streams as a notification; the
terminal event has one of these prefixes — branch on it:
MERGED: → done
AWAITING_REVIEW: → CI green, needs reviewer
CI_FAILED: <url> run-id=<id> → gh run view <run-id> --log-failed → fix the failure once →
re-enable gh pr merge --auto --squash → re-invoke Monitor. Stop if unclear or still failing.
CLOSED: → stop.
PR body: fill PR template if exists, else summary+changes+tests.