github-draft-pr-creator

Create draft pull requests on GitHub

$ Installieren

git clone https://github.com/thomasmol/opencode-config /tmp/opencode-config && cp -r /tmp/opencode-config/skill/github-draft-pr-creator ~/.claude/skills/opencode-config

// tip: Run this command in your terminal to install the skill


name: github-draft-pr-creator description: Create draft pull requests on GitHub

What I do

  • Create draft pull requests to the main or master branch on GitHub for code changes using the GitHub CLI (gh pr create --draft).
  • Add a relevent title with proper prefixes ("feat:", "fix:", "chore:", "refactor:") based on the type of changes made.
  • Add a description with a summary of the changes made. Do not add generic titles or headers like "Draft PR" or "Changes made". Just list the changes.
  • Link (Linear) issues by ids if specified by adding "Closes ISSUE_ID ISSUE_ID_2" in the description. Ask for issue ids if not provided.
  • Return the URL of the created draft pull request.

When to use me

  • Use me when you want to create a draft pull request on GitHub for your code changes.
  • If my current branch is the main or master branch, create a new branch with relevant name and prefix before creating the draft PR.