draft-pr

draft-pr is a skill for Claude Code from CocoRoF/Geny. It costs 22 tokens per session (453 once invoked), scanned A, original, Apache-2.0.

A guide for turning the current Git changes into a GitHub pull request title and description. A pull request is a proposed set of changes for review before merging them into a project.

In plain words
What is it for?
Use it to inspect the current diff, classify the change, write an imperative title, and produce summary, test-plan, and risk sections for a pull request.
Why use it?
It removes the effort of reconstructing what changed and formatting a review-ready description. It also keeps the title aligned with the repository's existing commit style.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to inspect the current diff, classify the change, write an imperative title, and produce summary, test-plan, and risk sections for a pull request.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cocorof/geny/draft_pr
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add CocoRoF/Geny --skill draft_pr
Clone the repo
git clone --depth 1 https://github.com/CocoRoF/Geny

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for draft-pr

README.md
[![agentmods](https://agentmods.dev/badge/skills/cocorof/geny/draft_pr/github.svg)](https://agentmods.dev/skills/cocorof/geny/draft_pr)
Your own site
<a href="https://agentmods.dev/skills/cocorof/geny/draft_pr"><img src="https://agentmods.dev/badge/skills/cocorof/geny/draft_pr/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for draft-pr

Your own site · 80×15
<a href="https://agentmods.dev/skills/cocorof/geny/draft_pr"><img src="https://agentmods.dev/badge/skills/cocorof/geny/draft_pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 453 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00022 $0.00453
Opus 5.5 $0.00009 $0.00181
Sonnet 5.5 $0.00004 $0.00091
Haiku 4.5 $0.00002 $0.00045

Measured 1mo ago against content hash e65032dfcd23, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

draft-pr scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

backend/skills/bundled/draft_pr/SKILL.md · 36 lines

What it actually says

Draft PR

You are writing a pull request description for the changes the operator has staged. Workflow:

  1. Inspect. Run these via Bash:

    • git status -s — what's changed?
    • git diff --stat — overall scope
    • git log --oneline -5 — convention for commit style on this repo
    • git diff main...HEAD (or git diff for unstaged) — read the actual changes

    Don't read every file — use git diff summary first, then drill into specific files via Read only when the diff alone doesn't tell the story.

  2. Classify. What kind of change is this? feat / fix / refactor / docs / test / chore. The repo's recent history (step 1) is the source of truth on convention.

  3. Title. One imperative-mood sentence under 70 characters, prefixed by the type. E.g. feat(canvas): widen pipeline visualization to 21 stages. NO emoji, NO "feat!:" syntax unless the repo already uses it.

  4. Body. Three sections:

    • Summary — 2–4 sentence prose describing what + why. Link to issue / cycle docs if the diff references one.
    • Test plan — bullet list of test commands or manual steps.
    • Risk — one sentence on rollback path or "additive — safe revert".
  5. Output. Print the title on the first line, then a blank line, then the body. The operator will copy-paste into gh pr create.

Don't invent context that isn't in the diff. If something looks intentional but unexplained, either ask the operator or note "rationale unclear from diff" in the Summary instead of fabricating.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 36 lines · 22 tokens per session scan A e65032dfcd23

Subscribe to this mod's changes

draft-pr is a skill published in the GitHub repository CocoRoF/Geny (11 stars, last pushed 16d ago), licensed Apache-2.0. It adds 22 tokens to every session and 453 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.