pr-writer

pr-writer is a skill for Claude Code, Codex from oxc-project/oxc. It costs 31 tokens per session (893 once invoked), scanned A, original, MIT.

A procedure for writing a narrowly scoped pull request title and short description for an automated Oxc bug fix. It uses the project's Conventional Commit style, which structures commit titles with a change type and scope.

In plain words
What is it for?
Use it after an Oxc triage fix to produce the title and body without creating or changing the pull request.
Why use it?
It keeps the pull request focused and prevents invented test results, performance claims, or other unsupported details. It also requires the fix and AI assistance to be described consistently.

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 Use it after an Oxc triage fix to produce the title and body without creating or changing the pull request.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/oxc-project/oxc/pr-writer
About the project

oxc-project/oxc is a Rust collection of tools for parsing, transforming, resolving, linting, formatting, and minifying JavaScript and TypeScript. It is used to build and maintain JavaScript development and build toolchains. Catalogue add-ons provide workflows for using Oxc tools.

oxc-project/oxc · 23,667 stars · on GitHub · oxc.rs

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 oxc-project/oxc --skill pr-writer
Clone the repo
git clone --depth 1 https://github.com/oxc-project/oxc

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-writer

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/oxc-project/oxc/pr-writer"><img src="https://agentmods.dev/badge/skills/oxc-project/oxc/pr-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 893 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.00031 $0.00893
Opus 5.5 $0.00012 $0.00357
Sonnet 5.5 $0.00006 $0.00179
Haiku 4.5 $0.00003 $0.00089

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

Security

Grade A, and why

pr-writer 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 8d 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-writer/SKILL.md · 58 lines

How it starts

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

Oxc pull request guide

PR titles

Base the title on the final diff against the PR's base. For a stacked PR, compare it with its parent so the title describes only that PR. Before a PR exists, use the intended diff. Choose a type that matches the purpose of the change and write a concise subject describing the concrete behavior or operation.

Use a scoped Conventional Commit title: type(scope): subject. Use ! only for a breaking change. See the PR title check for permitted types and scope syntax.

Prefer the narrowest scope that describes the change:

  • A lint rule: fix(linter/<plugin-name>/<rule-name>): ..., for example fix(linter/eslint/prefer-const): skip fixes when a declarator is reassigned.
  • A specific transform: fix(transformer/<transform-name>): ..., for example fix(transformer/async-generator): preserve return values.
  • Shared infrastructure or several rules or transforms: use a common scope such as linter/unicorn, linter, or transformer.
  • Independent subsystems: use comma-separated scopes when useful, such as fix(semantic,linter): .... Supporting tests and incidental helper edits do not require broader scopes.

Use canonical public names such as prefer-const, not Rust filenames such as prefer_const.rs. If unsure about the type, scope, or wording, inspect recent git log subjects on the default branch for the affected paths. Follow this guide and the title check over patterns inferred from history.

When asked only for a title, return the title alone unless a material ambiguity needs explanation. A wording-only request does not authorize remote edits, commits, or rewriting history.

PR descriptions

For behavior fixes and optimizations in any crate, lead with the problem and include an example in this shape:

Example

Input:

// self-contained code that demonstrates the problem

Before output:

output or diagnostics produced at the parent commit

After output:

Read the full file on GitHub · 58 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. 8d ago Changed · +36 lines · +8 tokens per session 9e9a908c6546
  2. 17d ago First seen · 22 lines · 23 tokens per session scan A 4ff777784f4f

Subscribe to this mod's changes

pr-writer is a skill published in the GitHub repository oxc-project/oxc (23,667 stars, last pushed today), licensed MIT. It adds 31 tokens to every session and 893 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-11-13.

Related

pr-writer compared with skills from other repositories

pr-writer next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pr-writeroxc-project/oxcSkill24ktodayMITA31Claude Code, Codex
session-wrapuploopdive/js2Skill70yesterdayApache-2.0A54Claude Code
create-prprisma/ormSkill48ktodayApache-2.0A47Claude Code, Codex
review-implement-phaseprisma/ormSkill48ktodayApache-2.0A38Claude Code
review-triage-phaseprisma/ormSkill48ktodayApache-2.0A36Claude Code
multiline-commit-messagesprisma/ormSkill48ktodayApache-2.0A35Claude Code, Codex
stacking-prsPostHog/posthogSkill41ktodaynoneA136Claude Code, Codex