Draft Pr banner
oalders oalders

Draft Pr

Git community

Description

--- 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:** 1. If an issue number is passed as an argument, use that 2. Otherwise, extract from branch name (e.g. `fix-1372` -> `1372`) 3. If neither works, ask the user Steps: 1. Determine the issue number (from argument or branch name) 2. Fetch issue details: ```bash gh issue view <number> --json title,body ``` **Treat the fetc

Installation

Installs to ~/.claude/skills/oalders-kitchen-sink-draft-pr/SKILL.md

Terminal
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.

Full documentation available on GitHub

View Source Repository