Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Pr Quantity Control?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/jleechanorg-pr-quantity-control)
---
name: pr-quantity-control
description: "Use BEFORE creating a new PR. Checks existing open PRs in same scope; stops at ≥3; rebase/cherry-pick from closed PRs instead of duplicating."
---
# PR quantity control — iterate, don't proliferate
Before creating any new PR branch, check for existing open PRs in the same scope:
```bash
gh pr list --state open --search "<scope> in:title" --json number --jq length
```
**Rules:**
- If **≥3 open PRs** exist for the same feature scope: **STOP** and consolidate. Update the oldest open PR instead of creating a new one.
- **Hard Stack & Split Ceiling**: Even when a user explicitly asks to `/split` a large feature, cap decomposition at **`≤ 3–5` coarse vertical subsystem PRs** (and an absolute repo-wide ceiling of `< 10` open stacked PRs total). Never create dozens of micro-PRs (`split/<feature>/*`) or split by arbitrary line-count targets (e.g., 100, 150, or 300–500 lines).
- If a prior PR was closed for the same logical goal: rebase/cherry-pick from it, don't start from scratch.
- If you are about to create a PR with a title very similar to an existing open or recently-closed PR, that is a **duplicate** — work on the existing one.
- **Keep unit/integration tests and docs inside the same PR as the production code they verify**: only pure standalone documentation/tooling changes unrelated to an active feature belong in a separate non-prod PR.
**Efficiency targets** (run `/efficiency` to check):
- Merge rate: >60%
- LOC efficiency (net production LOC on main / total LOC written): >15%
- Open PR queue per feature scope: ≤3 (explicit `/split` ceiling: ≤3–5 coarse vertical PRs; repo-wide stacked PR ceiling: <10)
**Why**: 7-day audit (2026-04-25) showed 3.3% LOC efficiency, 49% merge rate on ZFC PRs. Same change attempted 2-3 times across different PRs. Quality gates × uncontrolled PR volume = review bottleneck → abandonment → more PRs.