create-pr

create-pr is a skill for Claude Code, Codex from hoangatg/ai-agent-toolkit. It costs 34 tokens per session (688 once invoked), scanned A, original, MIT.

A guide to preparing a pull request, the package of code changes submitted for review, with a clear title, description, test notes, and checklist.

In plain words
What is it for?
Use it when turning a completed feature or fix into a focused, reviewable pull request with changelog notes, screenshots, testing details, and related issue links.
Why use it?
It helps reviewers understand what changed, why it changed, and how it was checked before merging.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

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.

agentmods
npx agentmods add skills/hoangatg/ai-agent-toolkit/create-pr
Any agent
npx skills add hoangatg/ai-agent-toolkit --skill create-pr
Clone the repo
git clone --depth 1 https://github.com/hoangatg/ai-agent-toolkit

Made for: Claude Code, Codex.

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 create-pr

README.md
[![agentmods](https://agentmods.dev/badge/skills/hoangatg/ai-agent-toolkit/create-pr.svg)](https://agentmods.dev/skills/hoangatg/ai-agent-toolkit/create-pr)
Your own site
<a href="https://agentmods.dev/skills/hoangatg/ai-agent-toolkit/create-pr"><img src="https://agentmods.dev/badge/skills/hoangatg/ai-agent-toolkit/create-pr.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 688 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00034 $0.00688
Opus 5 $0.00017 $0.00344
Sonnet 5 $0.00007 $0.00138
Haiku 4.5 $0.00003 $0.00069

Measured 2d ago against content hash fc469c8262af, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

create-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 2d 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.

.agent/skills/create-pr/SKILL.md · 125 lines

How it starts

The opening of the file, as written. The whole thing — 125 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Create PR

Package your work so reviewers say "yes" quickly.


1. Before Creating PR

Pre-PR Checklist

Check Action
Tests pass Run full test suite locally
Lint clean No warnings or errors
Self-review Read your own diff first
Small scope One feature/fix per PR
Branch updated Rebase on latest main
No debug code Remove console.logs, TODO hacks

2. PR Title

Format

<type>(<scope>): <short description>

Examples

Good ✅ Bad ❌
feat(auth): add JWT refresh token flow update auth
fix(api): handle null response in user endpoint fix bug
refactor(db): migrate to connection pooling changes

3. PR Description Template

## Summary
One paragraph explaining what this PR does and why.

## Changes
- Added X to handle Y
- Refactored Z for better performance
- Fixed bug where A caused B

## Testing
- [ ] Unit tests added for new logic
- [ ] Manual testing: describe what you tested
- [ ] Edge cases considered: list them

## Screenshots / Recordings
(For UI changes — before/after)

## Related
- Closes #123
- Depends on #456

4. Changelog Entry

Format (Keep a Changelog)

## [Unreleased]

### Added
- JWT refresh token flow for seamless re-authentication

### Fixed
- Null response handling in user API endpoint

### Changed
- Database connection pooling for improved throughput

5. Review-Friendly Practices

Practice Why
Annotate your PR Add comments explaining tricky code
Stack PRs Break large features into reviewable parts
Highlight risks Flag areas that need careful review
Respond promptly Don't let review feedback go stale
Don't take it personally Reviews improve code, not judge you

6. Merge Strategy

Strategy When
Squash merge Feature branches → clean history
Merge commit Preserve full branch history
Rebase Linear history, small PRs

Read the full file on GitHub · 125 lines

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. 2d ago First seen · 125 lines · 34 tokens per session scan A fc469c8262af

Subscribe to this mod's changes

create-pr is a skill published in the GitHub repository hoangatg/ai-agent-toolkit (1 stars, last pushed 5mo ago), licensed MIT. It adds 34 tokens to every session and 688 once invoked, about $0.0002 per session on Opus 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-09-03.