con un clic
pr
Create a GitHub pull request
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Create a GitHub pull request
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
| name | pr |
| description | Create a GitHub pull request |
| allowed-tools | Bash(git *), Bash(gh *), Bash(jq *) |
| model | haiku |
<current_branch>
!git branch --show-current
</current_branch>
<branch_status>
!git status --short
</branch_status>
<commits_on_branch>
!git log main..HEAD --oneline
</commits_on_branch>
<commit_details>
!git log main..HEAD --pretty=format:"### %s%n%n%b%n---"
</commit_details>
<diff_stat>
!git diff main..HEAD --stat
</diff_stat>
branch_status is non-empty, stop and ask the user to commit firstcurrent_branch is main or master, stop and inform the usergh pr view --json number,title,state,url to check; if a PR exists, show the URL and stoppackage.json for scripts named lint, lint:fix, format, or fmt; prefer lint:fix and format (auto-fixing variants)make lint, eslint --fix, prettier --write, biome check --write, ruff check --fix && ruff format, black ., golangci-lint runFormat: <type>(<scope>): <description>
<scope> is the Linear ticket ID when available (check current_branch for pattern [A-Z]+-[0-9]+, e.g. CUT-123); omit scope if no ticket<type>: feat, fix, docs, refactor, chore, perf, test, ciExamples:
feat(CUT-123): add partlist template exportfix(CUT-456): resolve race condition on savechore: upgrade Node to 22Keep it short. The commit log is already part of the PR — don't repeat it.
## Why
<1–3 sentences: motivation or problem being solved. Omit entirely if the title and
commits tell the story.>
## Test plan
- [ ] <manual step or automated test>
- [ ] <edge case, if non-obvious>
<Omit test plan entirely for trivial changes (docs, config, typos).>
Don'ts:
Single-commit branch — use --fill-first to auto-populate from the commit:
git push -u --force-with-lease
gh pr create --draft --fill-first
Multi-commit branch — craft title and body manually:
git push -u --force-with-lease
gh pr create --draft --title "<title>" --body "$(cat <<'EOF'
<body>
EOF
)"
Then request Copilot review:
PR_NUMBER=$(gh pr view --json number | jq -r '.number')
REPO=$(gh repo view --json nameWithOwner | jq -r '.nameWithOwner')
gh save-me-copilot "$REPO" "$PR_NUMBER" > /dev/null 2>&1
Print the PR URL.