Automated summary
Creates or updates a draft pull request for the current branch after checking the branch, commits, and any linked issue.
Strengths
- Refuses to commit directly to `main` and enforces a typed feature branch first
- Produces a structured PR title and body following a consistent conventional format
- Detects an existing PR and switches to updating its description automatically
- Relies on `gh` and provides ready-to-run commands
Limitations
- Assumes the GitHub CLI (`gh`) is installed and authenticated
- The body template is Rust-oriented (cargo test/clippy/fmt) and needs adapting for other stacks
- Does not handle review or merging, only creating/updating the draft
When you want to quickly open a clean draft PR from a feature branch that already has commits.
If you use GitLab or another host not supported by `gh`, or need a fully custom hand-written PR.
Security analysis
CautionThe skill is a straightforward git/gh workflow helper with no obfuscation, no secret exfiltration, no destructive commands, and no safety-disabling instructions. Risk is limited to legitimate but state-changing operations: branch creation, auto-committing working-tree changes, and pushing/editing PRs on GitHub via the gh CLI. Because it mutates repository and remote state without an explicit confirmation gate, 'caution' is more accurate than 'safe'.
- •No allowed-tools declared, yet the skill instructs execution of bash, git, and gh (network) commands
- •Auto-commits staged/unstaged changes without explicit per-file confirmation ('git add <relevant files>' then commit), which can capture unintended changes into a commit
- •Automatically creates/switches branches if on main, altering repo state without a confirmation step
- •Network side effects via `gh pr create`/`gh pr edit` (creates or rewrites PR content on a remote)
- •Heredoc body injection into `gh pr create --body "$(cat <<'EOF'...)"` is quoted correctly, so no command-substitution risk, but the pattern is easy to extend unsafely
Examples
/pr/pr https://github.com/acme/repo/pull/42name: pr description: Open or update a draft PR for the current branch. Use when: create PR, open PR, draft PR, pull request, prepare for review.
Draft PR Creator
Creates or updates a draft pull request for the current branch.
Usage
/pr- Create draft PR for current branch (or update if one exists)/pr <url>- Update existing PR description
Workflow
1. Ensure feature branch and commit
NEVER commit to main unless the user explicitly requests it.
git branch --show-current
git status
If on main, create and switch to a feature branch before doing anything else:
git checkout -b <type>/<short-name>
Branch naming follows the PR type prefix:
feat/— new featuresfix/— bug fixesrefactor/— refactoringtest/— test additionschore/— maintenancedocs/— documentation
After ensuring you're on a feature branch, check for uncommitted changes. If there are staged or unstaged changes, commit them using conventional commit format:
git add <relevant files>
git commit -m "<type>: <description>"
Only proceed once all changes are committed on a feature branch.
2. Gather context
git log main..HEAD --oneline
git diff main...HEAD --stat
2.5. Identify source issue
If the PR was created from a /dev <issue> workflow, you already have the issue number in context. Otherwise, check the branch name or commit messages for issue references.
3. Check if PR already exists
gh pr view --json number,title,body 2>/dev/null
4. Write PR description
Use the template below. Keep it concise and natural.
5a. If NO existing PR - Create draft PR
gh pr create --draft --title "<title>" --body "$(cat <<'EOF'
<body>
EOF
)"
5b. If PR already exists - Update description
gh pr edit --title "<title>" --body "$(cat <<'EOF'
<updated body>
EOF
)"
Report the PR URL to the user when done.
PR Title Format
<type>: <short description>
Types: feat:, fix:, refactor:, test:, chore:, docs:
Rules:
- Lowercase after prefix
- Present tense imperative ("add" not "added")
- Under 70 characters
PR Body Template
Closes #<issue_number>
## Summary
1-2 paragraphs explaining what this does and why.
## Changes
- Highlight 1
- Highlight 2
- Highlight 3
## Testing
- [ ] `cargo test` passes
- [ ] `cargo clippy` clean
- [ ] `cargo fmt --check` clean
Omit the Closes #... line if there is no source issue.
Style
- Fluid prose in Summary — natural writing, not robotic
- 2-3 bullet points in Changes — highlights only, not a file list
- No file lists — GitHub shows that in "Files changed"
Pipeline
/dev <issue> -> /review -> /commit -> /pr -> merge
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/draft-pr-creator-mrwak8js/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/draft-pr-creator-mrwak8js' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/draft-pr-creator-mrwak8js/download' --output '.skill-downloads/draft-pr-creator-mrwak8js/SKILL.md.part' && mv '.skill-downloads/draft-pr-creator-mrwak8js/SKILL.md.part' '.skill-downloads/draft-pr-creator-mrwak8js/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.
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/draft-pr-creator-mrwak8js/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.