with one click
github-workflow
// Guides Claude through the full GitHub PR lifecycle — branch naming, push, review responses, and merge. Loaded automatically before any push, PR creation, review response, or merge action.
// Guides Claude through the full GitHub PR lifecycle — branch naming, push, review responses, and merge. Loaded automatically before any push, PR creation, review response, or merge action.
| name | github_workflow |
| description | Guides Claude through the full GitHub PR lifecycle — branch naming, push, review responses, and merge. Loaded automatically before any push, PR creation, review response, or merge action. |
| user-invocable | false |
| effort | high |
| allowed-tools | Bash(git *) Bash(gh *) Bash(.claude/scripts/*) Read |
Load this skill before any push, PR creation, review response, or merge action.
project-init source repo note: Root
.claude/scripts/lifecycle scripts exist here but may not have all variants — those scripts are scaffolded-project artifacts. If a script is missing, use the equivalentgit/ghcommands directly while preserving the same lifecycle behavior described below.
| Step | Pattern |
|---|---|
| Branch | <type>/PI-<n>-<kebab-slug> e.g. feat/PI-42-add-oauth |
| PR title | [PI-N][type] description e.g. [PI-42][feat] Add OAuth login |
| No-issue PR | [nojira][type] description e.g. [nojira][fix] Fix typo |
| PR body | Must include Closes #N (skip for nojira) |
Types: feat fix chore docs test
Start work — use the start_task skill. It creates a branch and draft PR.
For minor no-issue work, use .claude/scripts/create_nojira_pr.sh <type> "description".
Push during development:
.claude/scripts/push_branch.sh
Never use bare git push in this repo — push_branch.sh retries transient
GitHub errors and verifies the remote SHA.
Finish — push, mark ready, and merge:
.claude/scripts/finish_pr.sh [pr-number]
Or manually:
.claude/scripts/push_branch.sh
.claude/scripts/promote_review.sh [pr-number] # gh pr ready <n>
.claude/scripts/monitor_pr.sh <pr-number> --merge
monitor_pr.sh --merge exits 2 when review/decision fails and cycles remain.
gh pr comment <pr-number> --body "**Review response:**
- [comment]: Fixing — <reason>
- [comment]: Not applying — <reason>"
.claude/scripts/push_branch.sh.claude/scripts/monitor_pr.sh <pr-number> --merge --review-cycle <N>
--admin.Before applying any comment: read the current file state. Check whether the comment is stale (already fixed), contradicts conventions, or is correct. Never blindly apply a suggestion — post reasoning even when rejecting.
[type] — PR titles become merge commit messages in git log.Closes #N needed.[HINT] Download the complete skill directory including SKILL.md and all related files