Agent skill

Create Draft PR

by jnsahaj in jnsahaj/skills

Commit, push, and create a draft PR using the pr-description format, with UX flow context when relevant.

No licenceAuto-check passedDevelopment

Install Create Draft PR

skills CLI
$ npx skills add jnsahaj/skills --skill create-draft-pr -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jnsahaj/skills create-draft-pr --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jnsahaj/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/create-draft-pr .claude/skills/create-draft-pr && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
create-draft-pr
GitHub stars
105
Used in
1 other repo
Token cost
~590 tokens
SKILL.md length
277 words
Files
1
Skills in repo
8
Repo updated
First seen
Licence
None found

At a glance

Commit, push, and create a draft PR using the pr-description format, with UX flow context when relevant.

  • Works in 10 steps: Run git status to see changes → Run git diff to understand what changed → Run git log to see commit message style → …
  • Tasks that involve Pull requests
  • SKILL.md covers Steps, PR Body Format and Rules
  • Calls git and gh

What it does

Create Draft PR is an agent skill from jnsahaj/skills. Commit, push, and create a draft PR using the pr-description format, with UX flow context when relevant.

Its SKILL.md is about 590 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Pull requests. It works with Git. The repository describes itself as: Agent skills I use daily.

When your agent uses it

  • Tasks that involve Pull requests

Example prompts

  • “/create-draft-pr”

Workflow steps

10 steps, taken from the first numbered list in SKILL.md.

  1. Run git status to see changes
  2. Run git diff to understand what changed
  3. Run git log to see commit message style
  4. If on main, create a new branch in the format / or the project's branch naming convention, then switch to it
  5. Stage and commit changes with a concise message
  6. Push branch to remote with -u flag
  7. Generate the PR description using the pr-description skill's description format.
  8. If the change is user-facing, workflow-oriented, or architectural, include a concise UX flow section using the ux-flow-plan style.
  9. Create draft PR using gh pr create --draft
  10. If you created the branch (were on main), switch back to main after the PR is created

What it can do on your machine

Read from SKILL.md and the folder at commit 170b0b9. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • gh

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git and gh, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Create Draft PR loads about 590 tokens when it runs. Until then it costs about 30 tokens; SKILL.md has 277 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~30
When it runs · the whole SKILL.md, loaded when a task matches
~590

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 277 words (~590 tokens).

“Commit all changes, push to remote, and create a draft pull request with a focused generated description.”

— opening of SKILL.md by jnsahaj
name
create-draft-pr
user-invocable
true

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/create-draft-pr of jnsahaj/skills.

Open the folder on GitHubat commit 170b0b9

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in jnsahaj/skills, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Create Draft PR next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Create Draft PR compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Create Draft PR this skilljnsahaj/skills1051 repos~590Automated safety check: PassNone
Finishing a Development Branchobra/superpowers297k5 repos~1.9kAutomated safety check: PassMIT
Contributor-First PR MergeHKUDS/OpenHarness16k1 repos~847Automated safety check: PassMIT
Open Code Review CLIalibaba/open-code-review45k—~3.1kAutomated safety check: PassApache-2.0
Create Pull Requestcline/cline70k1 repos~1.6kAutomated safety check: PassApache-2.0
Pull Request Title and Body Writeropeninterpreter/openinterpreter69k2 repos~1.1kAutomated safety check: PassApache-2.0

Similar skills

  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    297k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Merges external GitHub pull requests while keeping the original author credited, and fixes conflicts after the merge instead of rewriting the contribution.

    16k GitHub starsUsed in 1 repo~847 tokens
    DevelopmentAuto-check passed
  • Open Code Review CLI

    alibaba/open-code-review

    Runs the ocr command-line tool to review Git changes, a commit or a branch comparison with an AI model, returning line-level comments and optionally applying fixes.

    45k GitHub stars~3.1k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Opens a GitHub pull request from your current branch with the gh CLI, after reviewing the commits and diff and gathering the details the PR needs.

    70k GitHub starsUsed in 1 repo~1.6k tokens
    DevelopmentAuto-check passed
  • Pull Request Title and Body Writer

    openinterpreter/openinterpreter

    Rewrites the title and body of one or more pull requests with gh, leading with why the change was made, then what changed, and describing only the net result.

    69k GitHub starsUsed in 2 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Understand Diff Analysis

    Egonex-AI/Understand-Anything

    Reads your git changes or a pull request against a prebuilt knowledge graph of the project to explain what changed, which components are affected and what is risky.

    86k GitHub stars~1.4k tokensUpdated today
    DevelopmentAuto-check passed

More from jnsahaj/skills

All 8 skills in this repo
  • Ga PR

    jnsahaj/skills

    Kick off follow-up work on an existing PR in a parallel tmux/agent session.

    105 GitHub starsUsed in 1 repo~441 tokens
    Auto-check passed
  • Analyze the current branch's diff from main and related PR to build context for followup requests.

    105 GitHub starsUsed in 1 repo~552 tokens
    Auto-check passed
  • Ga

    jnsahaj/skills

    Kick off a new feature or fix in a parallel clone with Pi working autonomously.

    105 GitHub starsUsed in 1 repo~756 tokens
    Auto-check passed
  • Pit Of Success

    jnsahaj/skills

    Review or refactor code so the correct behavior is the default path; use when APIs, setters, hooks, helpers, or component props have footguns where a natural call bypasses required semantics.

    105 GitHub starsUsed in 1 repo~500 tokens
    Auto-check passed
  • UX Flow Plan

    jnsahaj/skills

    Create UX-first plans as flow trees, then attach concrete function names, files, and implementation anchors after the high-level flow is clear.

    105 GitHub starsUsed in 1 repo~468 tokens
    Auto-check passed
  • Zero Tech Debt

    jnsahaj/skills

    Rework a change as if the intended UX and architecture existed from day one, deleting compatibility cruft and accidental complexity.

    105 GitHub starsUsed in 1 repo~354 tokens
    Auto-check passed

Works with

Categories

Questions about Create Draft PR

What does Create Draft PR do?

Commit, push, and create a draft PR using the pr-description format, with UX flow context when relevant. Create Draft PR is an agent skill from jnsahaj/skills. Commit, push, and create a draft PR using the pr-description format, with UX flow context when relevant.

When should I use Create Draft PR?

Create Draft PR fits situations like: tasks that involve Pull requests.

How do I install Create Draft PR in Claude Code?

Run `npx skills add jnsahaj/skills --skill create-draft-pr -a claude-code`. Or copy the skill folder (skills/create-draft-pr in jnsahaj/skills) into .claude/skills/create-draft-pr in your project. Claude Code loads it when a task matches its description.

How do I install Create Draft PR in Codex?

Run `npx skills add jnsahaj/skills --skill create-draft-pr -a codex`. Or copy the skill folder (skills/create-draft-pr in jnsahaj/skills) into .agents/skills/create-draft-pr in your project. Codex loads it when a task matches its description.

Can I use Create Draft PR in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jnsahaj/skills --skill create-draft-pr -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/create-draft-pr, .gemini/skills/create-draft-pr, .github/skills/create-draft-pr and .opencode/skills/create-draft-pr in your project.

What does Create Draft PR need to run?

Going by SKILL.md and its folder, Create Draft PR needs the command-line tools its instructions call (git and gh).

Does Create Draft PR access the network?

SKILL.md contains no URLs. Its commands use git and gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Create Draft PR safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Create Draft PR use?

No licence was found for Create Draft PR or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Create Draft PR use?

About 590 tokens (SKILL.md is roughly 2.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Create Draft PR?

Skills that share tags, products or a category with Create Draft PR: Finishing a Development Branch (obra/superpowers, 297k stars), Contributor-First PR Merge (HKUDS/OpenHarness, 16k stars), Open Code Review CLI (alibaba/open-code-review, 45k stars) and Create Pull Request (cline/cline, 70k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Create Draft PR?

jnsahaj (a GitHub user) maintains it in jnsahaj/skills, which has 105 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on October 5, 2026.

Source: jnsahaj/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.