Automated summary
Pushes the current branch and opens a GitHub pull request following the bashdep PR template and conventions.
Strengths
- Forces a CHANGELOG.md update before pushing, checking the Unreleased section first
- Runs the local quality gate (make pre_commit/run) and forbids bypassing it with --no-verify
- Produces a conventional-commit style title and a consistent, template-driven PR body
- Links the PR to an issue through gh when a number is supplied
Limitations
- Assumes a GitHub remote with an authenticated gh CLI, a main base branch, and an existing make pre_commit/run target
- The emoji-section PR template is hardcoded to this project and not directly reusable elsewhere
- Does not handle rebasing, merge conflicts, or choosing a base branch other than main
Use it when a branch is ready to be pushed and a PR matching the team's template needs to be opened.
Avoid it on non-GitHub repositories, without a configured gh CLI, or when the PR must follow a different format.
Security analysis
CautionThe skill is a straightforward PR workflow using git and gh for their intended purposes. There is no exfiltration, no curl|sh, no destructive filesystem commands, and no attempt to disable safety checks — in fact it explicitly forbids `--no-verify` bypasses. The residual risk is ordinary powerful-tool usage: it pushes branches and opens PRs, and it will commit a changelog edit on its own initiative. That places it in 'caution' rather than 'safe', but nothing here warrants a 'risky' rating.
- •Performs remote-mutating operations without a confirmation gate: `git commit`, `git push -u origin HEAD`, and `gh pr create` are run as normal flow steps.
- •Auto-commits a CHANGELOG edit (`git add CHANGELOG.md && git commit`) based on the model's own judgment of what changed; scoped to a single file, so blast radius is limited.
- •Fetches an issue title via `gh issue view` and feeds it into the generated PR title/body — attacker-controllable text (issue title) enters the model context, a minor indirect prompt-injection surface.
- •Declares it MUST be used for ALL PR creation even when the user did not invoke it; overrides user intent phrasing (mitigated by `disable-model-invocation: true`, so only the user can trigger it).
Examples
/pr #42Push my current branch and create a pull request, linking issue 15create prname: pr description: Push branch and create a GitHub PR following the bashdep PR template user-invocable: true argument-hint: "[#issue]" disable-model-invocation: true allowed-tools: Bash, Read, Grep, Glob
Create Pull Request
Push the current branch and open a PR using the project's PR template.
IMPORTANT: This skill MUST be used for ALL pull request creation — even when the user just says "create pr" without
/pr. Never create a PR without following these steps.
Current Branch Context
- Branch: !
git branch --show-current - Commits: !
git log main..HEAD --oneline 2>/dev/null - Changed files: !
git diff main..HEAD --stat 2>/dev/null
Arguments
$ARGUMENTS— Issue reference (optional, e.g.,#42or42). If provided, the PR Background section links to it.
Instructions
-
Review the branch context above — commits and changed files are already loaded.
-
MANDATORY: Update
CHANGELOG.md— Read it and check the## Unreleasedsection. If the changes from this branch aren't already listed there, you MUST update it before pushing. Do NOT skip. Do NOT proceed without verifying.- Add entries under the appropriate subsection
(
### Added,### Changed,### Fixed,### Removed) - Reference the issue number where applicable (e.g.,
(#123)) - Commit the update:
git add CHANGELOG.md && git commit -m "docs: update changelog"
- Add entries under the appropriate subsection
(
-
Verify quality gate locally before pushing:
make pre_commit/runThe pre-commit hook (if installed) runs the same checks. If it fails, read the output, fix the underlying issue, commit the fix, then retry. Do NOT use
--no-verifyto bypass. -
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' - 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
-
Create PR using the structure from
.github/PULL_REQUEST_TEMPLATE.md:gh pr create --title "<title>" --assignee @me --body "$(cat <<'EOF' ### 🔗 Ticket <Related #<issue-number>, or "n/a"> ## 🤔 Background <1-2 sentences: motivation and context for the changes> ## 💡 Goal <One sentence: the outcome this PR delivers> ## 🔖 Changes - <bullet 1: what changed and why> - <bullet 2> - <bullet 3> (optional) ## 🖼️ Screenshots n/a EOF )"MANDATORY: Always follow the template structure (
🔗 Ticket→🤔 Background→💡 Goal→🔖 Changes→🖼️ Screenshots). Never use a different format.Assignee: Always assign to
@me.Issue linking: Use
Related #<n>in the Ticket section.Closes #<n>/Fixes #<n>are fine in commit bodies if the user wants auto-close, but keep the PR template's prose form.Body guidelines:
- Background: 1-2 sentences of context (the why)
- Goal: a single sentence framing the outcome
- Changes: 2-4 short bullets focused on what + why
- No file lists, no code snippets, no class names in the body
- Drop the
🖼️ Screenshotssection content for non-UI changes (replace withn/a)
-
Report the PR URL to the user.
Example Usage
/pr
/pr #42
/pr 15
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-a-github-pr-mrwakddf/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-a-github-pr-mrwakddf' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/create-a-github-pr-mrwakddf/download' --output '.skill-downloads/create-a-github-pr-mrwakddf/SKILL.md.part' && mv '.skill-downloads/create-a-github-pr-mrwakddf/SKILL.md.part' '.skill-downloads/create-a-github-pr-mrwakddf/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, Read, Grep, Glob
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-a-github-pr-mrwakddf/SKILL.md' && test -s '.skill-downloads/create-a-github-pr-mrwakddf/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/pr' && cp -R '.skill-downloads/create-a-github-pr-mrwakddf' '.claude/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-a-github-pr-mrwakddf'openskills read 'create-a-github-pr-mrwakddf'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-a-github-pr-mrwakddf/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.