ワンクリックで
create-pr
Create a pull request with a structured description. Use when the user says "create pr", "open pr", or "pull request".
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Create a pull request with a structured description. Use when the user says "create pr", "open pr", or "pull request".
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Pick a bug from Linear, fix it test-first, verify, and update. Use when the user says "fix issue", "fix bug", "work on known issue", or "pick a bug".
Create a new ticket for task tracking. Use when the user says "create ticket", "new ticket", or "track this".
Diagnose an integration/E2E test log, classify failures by severity, and batch-create issues. Use when the user says "smoke test", "diagnose log", "triage test log", or provides a test log.
Pull Linear issues and generate a local snapshot for quick reference. Use when the user says "sync linear", "pull linear issues", "update from linear", or "show my issues".
Triage, prioritize, and groom Linear issues. Use when the user says "triage linear", "review inbox", "prioritize issues", "groom backlog", or "clean up issues".
Investigate a bug using structured differential diagnosis. Use when the user says "diagnose", "investigate this", "what's causing this", or "figure out why".
| name | create-pr |
| description | Create a pull request with a structured description. Use when the user says "create pr", "open pr", or "pull request". |
| argument-hint | [base-branch] |
| user-invocable | true |
| allowed-tools | Bash, Read, Grep, Glob |
| model | sonnet |
Create a well-formatted PR from the current branch.
Gather context:
git branch --show-current
git log --oneline main..HEAD # or dev..HEAD depending on base
git diff main..HEAD --stat # summary of all changes
If $ARGUMENTS is provided, use it as the base branch. Otherwise, determine the base branch from CLAUDE.md Production Protection section (typically dev or main).
Analyze ALL commits in the branch (not just the latest) to understand the full scope of changes.
Generate PR content:
Show the proposed PR to the user for approval before creating it.
Push and create the PR:
git push -u origin $(git branch --show-current)
gh pr create --title "<title>" --body "$(cat <<'EOF'
## Summary
- <bullet 1>
- <bullet 2>
## Changes
- <file/module>: <what changed>
## Test Plan
- [ ] <test step 1>
- [ ] <test step 2>
EOF
)"
Return the PR URL.
-u flag to set upstream tracking