pr-create
Use when the user asks to open a PR, create a PR, or push and create a pull request.
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Use when the user asks to open a PR, create a PR, or push and create a pull request.
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
Use when the user says "capture", or wants to remember, save, or note something for later.
Use when the user says "closeday", "close my day", or "end of day". End-of-day consolidation appended to today's Inbox note.
Use when the user says "today", "morning plan", "plan my day", "what should I work on", or asks about their priorities for the day.
Use whenever `jj root` succeeds. Use `jj` for all version-control operations; do not use `git`.
Use when the user asks to create a GitHub issue, file a bug, or track a task. Also use when the user describes a problem they found and wants to capture it.
Use when the user asks to open a PR, create a PR, or push and create a pull request.
| name | pr-create |
| description | Use when the user asks to open a PR, create a PR, or push and create a pull request. |
Push the current branch and open a PR.
Before using the fallback template below, search for existing project templates (case-insensitive — GitHub accepts mixed case):
.github/PULL_REQUEST_TEMPLATE.md (or pull_request_template.md).github/PULL_REQUEST_TEMPLATE/ directory (if multiple, ask user which one)docs/pull_request_template.mdPULL_REQUEST_TEMPLATE.md in the repo rootIf a project template exists, use it. The guidelines below still apply for writing quality content within whatever structure the template provides.
gh auth status. If it fails, tell the user and stop.gh pr view --json url 2>/dev/null. If a PR already exists for this branch, show its URL and ask if the user wants to update it (gh pr edit) instead of creating a new one.gh repo view --json defaultBranchRef -q .defaultBranchRef.name. If the branch was based on something other than the default (e.g., stacked PRs, release branches), ask the user to confirm..env, credentials, secrets. Warn before including.git push -u origin HEAD.gh pr create --title "..." --body "$(cat <<'EOF' ... EOF)". The single-quoted 'EOF' delimiter prevents shell interpretation of markdown # headings. Never run interactively, never write temp files.Suggest --draft when tests aren't passing, there are known TODOs, or the user wants early feedback.
Discover the project's title convention before writing one. Check recently merged PR titles and recent commit messages on the default branch.
Match the pattern you see (conventional commits, imperative mood, ticket prefixes, casing, etc.). If the repo is new or inconsistent, fall back to capitalized imperative mood with no prefix.
## Summary
<1-3 sentences: what changed and why>
## References
<Links to spec or issue — omit section if none>
## Decisions & callouts
<Non-obvious choices, trade-offs, or areas needing reviewer attention — omit section if none>
## Manual testing
<Checkbox list of manual steps the reviewer should perform — omit section if none>
https://github.com/org/repo/blob/<sha>/path/to/fileowner/repo#123 format or full URL..opencode/plans/) — these are not committed and meaningless to reviewers.gh api or curl -s -o /dev/null -w '%{http_code}' to confirm each returns 200.- [ ] Step one — expected outcome
- [ ] Step two — expected outcome