go-service-template

Review PR

A bare $review-pr (Codex) or /review-pr (Claude Code) invocation is an explicit current-request instruction to run the full workflow for the current repository: review and validate local changes, commit them, force-push the branch, and open a draft pull request. It does not require an in SCOPE suffix. If an existing PR or draft description would be updated, ask before replacing it; future changes do not carry forward permission to push again.

Before executing this workflow, read references/plan.md and use it to maintain the active execution plan. The active plan is runtime state; do not write it into the repository unless the human explicitly asks for a durable plan file. Use runtime goals only when explicitly authorized; otherwise keep permission, validation, review, PR drafting, and remote-write state in the active plan.

Invocation

Model selection stays enabled in both assistants so explicit natural-language requests can reach this workflow. Loading the skill does not authorize its actions; establish current-request intent before executing it. A request such as prepare a review PR from these local changes qualifies. A question such as what does review-pr do? remains informational; a code-review request alone authorizes review without commit, push, or PR creation.

Steps

Follow references/plan.md#execution-plan.

These rules remain mandatory:

AI-assisted-by: [Codex](https://openai.com/codex/)
AI-assisted-by: [Claude Code](https://claude.com/claude-code)
mktemp "${TMPDIR:-/tmp}/review-pr.XXXXXX"
make review msg="unprefixed subject" desc_file="/returned/path/review-pr.ABC123"

References

Notes