with one click
create-pr
Create a PR from the current commits.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Create a PR from the current commits.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
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.
Based on SOC occupation classification
| 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.