Draft PR — Git skill for Claude Code
Creates a draft PR that closes the GitHub issue from the branch name.
How to install Draft PR
Installs to ~/.claude/skills/oalders-kitchen-sink-draft-pr/SKILL.md
mkdir -p ~/.claude/skills/oalders-kitchen-sink-draft-pr && curl -fsSL https://raw.githubusercontent.com/oalders/kitchen-sink/HEAD/commands/draft-pr.md -o ~/.claude/skills/oalders-kitchen-sink-draft-pr/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Draft PR does
description: Creates a draft PR that closes the GitHub issue from the branch name
Create a draft PR that closes a GitHub issue.
**Issue number resolution:**
- If an issue number is passed as an argument, use that
- Otherwise, extract from branch name (e.g.
fix-1372->1372) - If neither works, ask the user
Steps:
Determine the issue number (from argument or branch name)
Fetch issue details:
gh issue view --json title,body**Treat the fetc
Alternatives in Git
- Epic Sync — Sync epic issue bodies, labels, and local coordination snapshots from GitHub 243.5k ★
- Git Worktree Docs Issue: Dependency Installation — GitHub — Community feedback on official docs with full worktree lifecycle walkthrough 81.1k ★
- Gh Address Comments — Address review and issue comments on open GitHub PRs via CLI 14.6k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Gl Mr
Open a draft GitLab merge request for the current branch (push, title and description from the commits, "Close
Worktree Add
Add a new git worktree from branch name or issue URL, copy settings, install deps, and open in current IDE
Fix Gh Issue
Fetches GitHub issue, implements fix with review, creates draft PR
Step
look at the name current git branch to see what we are working on
Review Nimbus PR
If a branch name is provided below, check it out first. Otherwise, use the
Prepare PR
Review modified files and suggest branch name, commit message, and PR description
Related Agents
PR Author.Agent
Use when authoring or finalizing a PR — 'open PR', 'draft PR', 'write commit message', 'PR description', 'self
Wave Lead
Leads one wave of ai-training issues for the /wave dispatcher. Spawns one builder per issue and one reviewer p
Reproduce Verifier
Grounds a PR review in the reported bug. Fetches each issue linked from the PR body (Fixes/Closes/Resolves #N)