원클릭으로
create-pr
Create a PR from the current commits.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Create a PR from the current commits.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Commit changes in meaningful, well-scoped units.
Merge a PR and checkout the target branch.
Commit changes in meaningful units and create a PR.
Export only user inputs from the conversation. Copies to clipboard by default, or outputs to a file if a filepath is specified.
| name | create-pr |
| description | Create a PR from the current commits. |
Follow the steps below to create a PR.
The following options are accepted:
-b <base-branch>: Specify the base branch (default: main)-d: Create as a draft PR-p: Include session prompts in the PR bodyExamples:
/create-pr → Normal PR based on main/create-pr -b production → Normal PR based on production/create-pr -d → Draft PR based on main/create-pr -b production -d → Draft PR based on production/create-pr -p → Normal PR based on main (with prompt)/create-pr -b production -d -p → Draft PR based on production (with prompt)-b option is specified: Use that branch as base-b option is not specified: Use main as baseReview the commit log and diff against the base branch to understand the full scope of changes.
If the -p option is specified, execute the /export-prompt command and keep the retrieved prompts for later use.
Use the template (@.github/PULL_REQUEST_TEMPLATE.md) to compose the PR body.
Important: Do not stop and ask the user for input. Auto-generate everything from the commit log.
If the -p option is specified, append the following to the end of the template:
Important: Output backticks (`) as-is without escaping, as they are used for Markdown formatting.
## :robot: Prompt
<details>
<summary>Prompt</summary>
<p>
```
[Retrieved prompt content]
```
</p>
</details>
Always append the following line at the very end of the PR body:
---
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Push the branch and create the PR. Use --draft flag if -d option was specified.