pr-writer

Write, scope, and size pull requests with Conventional-Commit titles and standalone descriptions.

1|Updated May 21, 2026
One-click install
npx skills add https://github.com/vnovakovits/claude-skills --skill pr-writer-vnovakovits
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: pr-writer
Source: https://github.com/vnovakovits/claude-skills/tree/main/plugins/engineering-practices/skills/pr-writer
Command: npx skills add https://github.com/vnovakovits/claude-skills --skill pr-writer-vnovakovits

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Pull requests that are too large, vaguely described, or mix multiple concerns get rubber-stamped instead of reviewed, leading to missed defects, slow merges, and un-revertable changes. This Skill guides you to write small, single-concern PRs with descriptions a reviewer can validate without opening the diff. ## Core Features & Use Cases - Scope & Splitting Rules: Enforces one concern per PR, lands refactors separately first, and stacks dependent changes instead of bundling mega-PRs. - Size Bands & Title Conventions: Applies the 200-400 LOC defect-detection band from the SmartBear/Cisco study and Conventional-Commit titles with breaking-change markers. - Description Template & Safety Gates: Provides a standalone PR template covering contracts crossed, testing, observability, risk and rollback, plus an author self-review checklist and expand/contract migration discipline. - Use Case: You have a 900-line diff mixing a feature, a rename refactor, and a config change. Use this Skill to split it into three stacked PRs, write Conventional-Commit titles, and produce descriptions listing every contract edge each PR crosses. ## Quick Start Ask Claude to review your current diff and help you split it into properly sized PRs with standalone descriptions before requesting review.

Frequently Asked Questions about pr-writer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write a good pull request description?▼

Write a standalone description structured around What/Why, Changes, Testing, Observability, and Risk & rollback. Explicitly enumerate every contract edge crossed (inbound routes, outbound calls, config keys, events, migrations) and flag breaking changes in a bold block at the top.

How large should a pull request be for effective code review?▼

Defect detection peaks at 200-400 changed lines reviewed in a 60-90 minute session, per the SmartBear/Cisco study. Under 100 production lines is ideal, 100-300 is good, and anything over 500 lines or roughly 10 files should be split.

How do I split a large pull request into smaller ones?▼

Apply the rule that if you cannot describe the PR without the word 'and', it is two PRs. Land cross-cutting refactors as separate PRs first, then stack dependent changes as a chain of small PRs rather than one bundled mega-PR.

What is a Conventional Commit PR title format?▼

A Conventional-Commit title is one imperative line in the form type(scope): summary, such as feat(api): add pagination to orders. It names the problem rather than the fix, and breaking changes are marked with an exclamation mark before the colon.

When should database migrations ship relative to application code?▼

Migrations should follow expand/contract: additive nullable columns and new tables ship in an expand step, never in the same PR as the code depending on the new shape. Dropping old structures happens in a later deploy, and each migration needs a tested reverse.

Why do reviewers miss defects in large pull requests?▼

Defect detection drops sharply beyond roughly 400 lines or 90 minutes of review, so oversized PRs get rubber-stamped instead of reviewed. File spread matters as much as raw lines, since 200 lines across 50 files exceeds effective review capacity.