Agent skill

github-draft-pr-creator

Create draft pull requests on GitHub

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/github-draft-pr-creator

SKILL.md

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.

Didn't find tool you were looking for?

Be as detailed as possible for better results