Automated summary
Pushes the current branch and opens a GitHub pull request with a conventional-commit title, a label derived from the branch prefix, and a body matching the repo template.
Strengths
- Reads .github/PULL_REQUEST_TEMPLATE.md and reuses its exact headers instead of hardcoding them
- Updates and commits CHANGELOG.md automatically when it was not touched for the change
- Derives the type, label and issue-closing line from the branch name and an optional issue number
Limitations
- Assumes a GitHub repo with an authenticated gh CLI and a main branch named main
- Does not handle code review, testing, or merge-conflict resolution before the PR is opened
- Model invocation is disabled, so the user must trigger the command explicitly
Use it when a branch is ready to publish and you want a well-formed pull request in a single command.
Avoid it on non-GitHub repositories, repos without a PR template, or when the description needs to be a long, hand-crafted writeup.
Security analysis
CautionThe skill uses git and gh commands to commit, push, and create a pull request. These are legitimate operations for the stated purpose but do modify repository state and push to remote, warranting caution.
- •Automatically commits changes to CHANGELOG.md and pushes the branch without explicit user confirmation.
- •Creates a pull request with automatic assignee and label, which modifies repository state on the remote.
Examples
/create-pr 142/create-prPush my current fix/ branch and open a pull request against main, linking the template sections and the right label.description: Push branch and create a PR with concise description and labels argument-hint: "[issue-number]" disable-model-invocation: true allowed-tools: "Read, Edit, Bash(git *), Bash(gh *)"
Create Pull Request
Context
!git branch --show-current
!git log main..HEAD --oneline
!git diff main..HEAD --stat
Instructions
-
Check CHANGELOG.md — if it wasn't updated for these changes, update it now and commit:
git add CHANGELOG.md && git commit -m "chore: update changelog" -
Push branch:
git push -u origin HEAD -
Generate PR title:
- If
$ARGUMENTScontains an issue number, fetch the issue title:gh issue view <number> --json title -q '.title' - PR title format:
<type>(<scope>): <short description>(conventional commit style, under 70 chars) - Derive the type from the branch prefix (
feat/→ feat,fix/→ fix,docs/→ docs)
- If
-
Read
.github/PULL_REQUEST_TEMPLATE.mdand use its exact section headers (including emojis) for the PR body. Do NOT hardcode headers — always read the template file first. -
Create PR using the headers from the template:
gh pr create --title "<title>" --assignee @me --label "<label>" --body "$(cat <<'EOF' <paste exact headers from .github/PULL_REQUEST_TEMPLATE.md> Closes #<issue-number> EOF )"Labels: Pick the single most relevant from:
bug— branch starts withfix/enhancement— branch starts withfeat/documentation— branch starts withdocs/refactoring— code restructuring with no behavior changepure testing— only test changesdependencies— dependency updates
Body guidelines:
- Focus on what and why, not implementation details
- Use
Closes #<number>so merging auto-closes the issue - Keep the entire body under 15 lines
-
Report the PR URL to the user.
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/create-pull-request-msmr5g94/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/create-pull-request-msmr5g94' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/create-pull-request-msmr5g94/download' --output '.skill-downloads/create-pull-request-msmr5g94/SKILL.md.part' && mv '.skill-downloads/create-pull-request-msmr5g94/SKILL.md.part' '.skill-downloads/create-pull-request-msmr5g94/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
Tools declared by the author (check availability in your agent): Read, Edit, Bash(git *), Bash(gh *)
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
This file does not provide a usable name/description header for this native procedure. It remains available to download and inspect; use the manual method below.
Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/create-pull-request-msmr5g94/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.