Automated summary
Creates a pull request from the current branch using GitHub CLI with a structured format and pre-flight checks.
Strengths
- Automates PR creation with GitHub CLI and a standardized format.
- Includes pre-flight checks (commits, push) to prevent errors.
- Generates a concise title and structured body with summary and test plan.
Limitations
- Requires GitHub CLI to be installed and authenticated.
- Only creates PRs against the 'main' branch by default.
- Does not support adding reviewers, labels, or other advanced options.
Use this skill after committing changes on a branch when you want to open a pull request with a clean format.
Avoid using it if you need complex PR setup (reviewers, milestones) or if you are not using GitHub.
Security analysis
SafeThe skill runs standard git and gh commands for creating a pull request. It does not execute destructive actions, expose secrets, or use obfuscated payloads. Pre-flight checks ensure changes are committed and pushed, making it a safe automation.
No concerns found
How this analysis is madeExamples
Create a pull request for my current branch with a summary of changes and a test plan.Open a pull request titled 'Fix login error on mobile' and include a test plan that checks mobile login flow.I've committed my changes. Please create a PR with a clear summary and test plan.name: pr description: Create a pull request for the current branch using GitHub CLI. Use after committing changes when ready to open a PR. allowed-tools: Bash
Create Pull Request
Create a pull request for the current branch against main using the GitHub CLI.
Instructions
- Run
git statusto check for uncommitted changes (warn if any exist) - Check if the branch has an upstream and is pushed
- Run
git log main..HEAD --onelineto see all commits in this branch - Run
git diff main...HEAD --statto understand the full scope of changes - Create a PR with
gh pr create
PR Format
Use a HEREDOC for the body to ensure proper formatting:
gh pr create --title "<concise title>" --body "$(cat <<'EOF'
## Summary
<1-3 bullet points describing what this PR does>
## Test plan
- [ ] <how to verify this works>
EOF
)"
Title Guidelines
- Keep under 72 characters
- Use imperative mood ("Add feature" not "Added feature")
- Be specific about what changed
Body Guidelines
- Summary: 1-3 bullet points explaining what and why
- Test plan: Checklist of verification steps
Pre-flight Checks
Before creating the PR:
- Ensure all changes are committed
- Ensure branch is pushed to remote
- If not pushed, run
git push -u origin HEADfirst
Example
gh pr create --title "Fix cron machine image updates in CI/CD" --body "$(cat <<'EOF'
## Summary
- Fix CI/CD to explicitly pass --image when updating cron machines
- Cron machines created via `flyctl machine run` don't auto-update with app releases
- Fetches image from deployed app machines and passes it to machine update
## Test plan
- [ ] Deploy to staging and verify cron machine gets updated
- [ ] Check cron logs after next scheduled run
EOF
)"
After Creation
Return the PR URL so the user can review it.
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-mmk3ni0z/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-mmk3ni0z' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/create-pull-request-mmk3ni0z/download' --output '.skill-downloads/create-pull-request-mmk3ni0z/SKILL.md.part' && mv '.skill-downloads/create-pull-request-mmk3ni0z/SKILL.md.part' '.skill-downloads/create-pull-request-mmk3ni0z/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): Bash
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
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/create-pull-request-mmk3ni0z/SKILL.md' && test -s '.skill-downloads/create-pull-request-mmk3ni0z/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/pr' && cp -R '.skill-downloads/create-pull-request-mmk3ni0z' '.claude/skills/pr'Cursor
test -f '.skill-downloads/create-pull-request-mmk3ni0z/SKILL.md' && test -s '.skill-downloads/create-pull-request-mmk3ni0z/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/pr' && cp -R '.skill-downloads/create-pull-request-mmk3ni0z' '.cursor/skills/pr'Codex
test -f '.skill-downloads/create-pull-request-mmk3ni0z/SKILL.md' && test -s '.skill-downloads/create-pull-request-mmk3ni0z/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/pr' && cp -R '.skill-downloads/create-pull-request-mmk3ni0z' '.agents/skills/pr'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/create-pull-request-mmk3ni0z'openskills read 'create-pull-request-mmk3ni0z'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual 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-mmk3ni0z/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.