create-pr
What it does
This skill guides your AI through preparing and opening a pull request on GitHub. It is for developers who want a well-described, reviewable change.
When to use it
- ✓When you have finished work on a branch and want to open a pull request.
- ✓When you want the pull request description to follow the project's template.
- ✓When you want the pull request opened as a draft for safe review.
Skill link
https://github.com/DevCaress/guia-entrevistas-de-programacion/blob/main/.claude/skills/create-pr/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Prepare a pull request for my branch using the project template and open it as a draft.”
5 new skills a week. 1 minute to read.
How it works
The skill inspects the branch and its diff, runs the repository's checks and writes a title and description from the template. It pushes and opens a draft pull request only when you have asked it to.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Create Pull Request
Prepare reviewable pull requests for main. Keep the branch focused, preserve unrelated work, and never merge or modify another person's pull request.
Workflow
Inspect the current branch,
git status --short, the diff againstmain, recent commits, and any existing pull request for the branch.Confirm the branch is not
mainand that it contains a small, coherent change. If the scope, target branch, or included files are unclear, ask before proceeding.Ensure all intended work is committed. Use the
create-commitskill if a commit is needed.Run the relevant validation commands from
CONTRIBUTING.md. Report failures accurately; do not weaken checks or use bypass flags.Derive a concise Conventional Commit-style PR title, such as
docs(react): add testing resources. Reuse a suitable user-provided title.Build the description from
.github/pull_request_template.md:- Explain what changed and why.
- Add
Closes #<number>only when an issue is known. - Mark only validation commands that actually passed.
- Keep unchecked items unchecked and do not claim work that was not performed.
If the user asked to open the PR, push the current branch and create a draft pull request targeting
main. Use GitHub CLI or an authenticated GitHub integration. If the user asked only to prepare it, provide the title and body without pushing or creating anything.Return the PR URL, target branch, title, validation results, and any limitations.
Safety rules
- Do not push or create a PR unless the user explicitly requested that external action.
- Do not use
--force, alter branch history, merge, approve, or request review unless explicitly asked. - Do not include secrets, generated output, local configuration, or unrelated changes.
- Do not create a duplicate PR. Update or report an existing PR instead.
- Use
mainas the base branch unless the user specifies another target.
FAQ
Is the pull request opened as a draft?
Yes, a draft is the default unless you ask for something else.
Does it merge the pull request?
No. The skill never merges or changes someone else's pull request.
Will it claim checks passed when they did not?
No. The skill says to report failures accurately and mark only the validations that actually passed.
Details
Original description by the author
Prepare and open a safe GitHub pull request for this repository. Use when the user asks to create, open, or prepare a pull request from completed branch work. Inspect the branch and diff, validate changes, follow the repository PR template, push only when authorized, and open a draft PR by default.
Popularity
- GitHub stars
- 8.2k
- Ranking position
- #12546
- License
- MIT
- Updated
- 8/8/2026
Comments
- …
More skills from this repository
Similar skills
diffs
394kLets your agent produce a real, shareable diff of edits as a viewer link or image file, instead of a hand-written summary.
coding-agent
394kHelps your agent hand a larger coding job to Codex, Claude Code, or OpenCode as a background worker, then check on its progress.
gh-issues
394kHelps your agent find GitHub issues, pick the ones to work on, and open pull requests with fixes, including follow-up on review comments.