pr-creation

pr-creation is a skill for Claude Code, Codex from heristop/leclap. It costs 50 tokens per session (981 once invoked), scanned A, original, MIT.

A pull-request workflow defines how this repository commits changes, writes pull-request descriptions, gathers evidence, and merges work.

In plain words
What is it for?
It is for committing changes, opening or updating pull requests, recording review evidence, and merging approved work.
Why use it?
It removes uncertainty about repository-specific rules, such as commit format, approval before publishing, and squash merging.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit It is for committing changes, opening or updating pull requests, recording review evidence, and merging approved work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/heristop/leclap/pr-creation
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 heristop/leclap --skill pr-creation
Clone the repo
git clone --depth 1 https://github.com/heristop/leclap

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/heristop/leclap/pr-creation/github.svg)](https://agentmods.dev/skills/heristop/leclap/pr-creation)
Your own site
<a href="https://agentmods.dev/skills/heristop/leclap/pr-creation"><img src="https://agentmods.dev/badge/skills/heristop/leclap/pr-creation/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 pr-creation

Your own site · 80×15
<a href="https://agentmods.dev/skills/heristop/leclap/pr-creation"><img src="https://agentmods.dev/badge/skills/heristop/leclap/pr-creation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 981 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.00050 $0.00981
Opus 5.5 $0.00020 $0.00392
Sonnet 5.5 $0.00010 $0.00196
Haiku 4.5 $0.00005 $0.00098

Measured 2d ago against content hash 5cbb94feea8e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pr-creation 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.

.agents/skills/pr-creation/SKILL.md · 66 lines

How it starts

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

Pull requests in this repo

The rule

A PR merges as one squash commit whose message is the PR title alone. Everything else (the description, the evidence, the review) lives on GitHub, never in git log.

1. Commits on the branch

  • Format: Conventional Commits, lowercase, subject only, no body: feat(engine): add the burst fx primitive. Scopes in use: engine, core, web, expo, cli, mcp, examples, skills, samples, pr-media, changelog, release.
  • Attribution: none, in commits or in PR bodies. No Co-Authored-By, no "Generated with" line.
  • Consent: commit, push, open or edit a PR only once the user has asked for it or approved it. Approval for one PR doesn't carry over to the next.
  • Small changes: a changelog-only or docs-only catch-up may go straight to main instead of a PR. Ask which.

2. The PR title

  • It becomes the squash commit's subject, so write it as one: conventional, lowercase, under ~72 characters, the user-visible outcome (feat(engine): keyframe tracks on image, animation and html layers).
  • One concern per PR. If the title needs "and" twice, split the PR.

3. The description

Readers are reviewers on GitHub, not git log. Keep it scannable:

  1. The reason first, in plain words: the defect, or what users couldn't do. Never lead with the change list, stars or download counts.
  2. The evidence right after, when the diff touches apps/leclap-web or apps/leclap-expo: before/after snapshots and a LeClap-made video, playing inline. Follow the pr-evidence skill (attach-video.js through the user's browser). With no visible change, say so in one line: No visible change: <why>.
  3. The change: API, how it lowers, on-device status, one short section each.
  4. Tests, with what was measured, not just "tests pass".
  5. Limits and follow-ups.

Pin raw media URLs to the full commit SHA. Name videos <project>-<ticket>-evidence.mp4.

4. CI

  • Watch it until it finishes: gh pr checks <n>, then read the failing log with gh run view <run-id> --log-failed.
  • Fix the cause, not the guard. A size budget, golden or lint rule that trips on every PR is a design signal: fix the structure, and raise a budget only with a comment saying what grew and why.
  • A test that only fails locally on a loaded host (timeouts) isn't a CI failure; say so and move on.

Read the full file on GitHub · 66 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 · 66 lines · 50 tokens per session scan A 5cbb94feea8e

Subscribe to this mod's changes

pr-creation is a skill published in the GitHub repository heristop/leclap (34 stars, last pushed yesterday), licensed MIT. It adds 50 tokens to every session and 981 once invoked, about $0.0002 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-10-14.