description: Push the branch and open a pull request with template body, labels, and assignee argument-hint: "[issue-number]" allowed-tools: "Read, Bash(git *), Bash(gh *)"
Create Pull Request
Context
!git branch --show-current
!git log main..HEAD --oneline
!git diff main..HEAD --stat
Instructions
-
Never open a PR from
main. If the current branch ismain, create a branch first and move the commits onto it. -
Push:
git push -u origin HEAD -
Title — conventional commit style, under 70 chars:
<type>(<scope>): <description>. Derive the type from the branch prefix (feat/→ feat,fix/→ fix,ref/→ ref). If$ARGUMENTSholds an issue number, read its title for context:gh issue view <number> --json title -q '.title' -
Read
.github/PULL_REQUEST_TEMPLATE.mdand reuse its exact headers — do not hardcode them here. -
Create:
gh pr create --title "<title>" --assignee Chemaclass --label "<label>" --body "$(cat <<'EOF' <exact headers from the template, filled in> Closes #<issue-number> EOF )"Label — pick the single most relevant:
| Label | When | |---|---| |
bug| branch starts withfix/| |enhancement| branch starts withfeat/| |documentation| docs only | |refactoring| restructuring, no behavior change | |dependencies| dependency bumps |Body: what changed and why, not how. Under 15 lines. Use
Closes #<n>so merging closes the issue. -
Report the PR URL.
Note on emoji
The PR template headers carry emoji and should keep them. GitHub squash-merges copy the title verbatim into history — keep emoji out of the title.
Next.js App Router Expert
Development
A skill that turns Claude into a Next.js App Router expert.
README Generator
Development
Creates professional and comprehensive README.md files for your projects.
API Documentation Writer
Development
Generates comprehensive API documentation in OpenAPI/Swagger format.