Agent skill

Engineering Small PRs

by agentara in agentara/skills

A skill your agent uses when planning, splitting, shrinking, or sequencing large features, refactors, migrations, or pull requests into small reviewable PRs or CLs.

MITAuto-check passedDevelopment

Install Engineering Small PRs

skills CLI
$ npx skills add agentara/skills --skill engineering-small-prs -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install agentara/skills engineering-small-prs --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/agentara/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/engineering/engineering-small-prs .claude/skills/engineering-small-prs && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
engineering-small-prs
GitHub stars
600
Token cost
~1.3k tokens
SKILL.md length
579 words
Files
1
Skills in repo
20
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when planning, splitting, shrinking, or sequencing large features, refactors, migrations, or pull requests into small reviewable PRs or CLs.

  • Works in 7 steps: Name the final outcome in one sentence. → List independent behavior changes,… → Identify dependencies that must land… → …
  • Sequencing large features
  • SKILL.md covers Definition of a Good Small PR, Splitting Workflow, Split Strategies and Migration Safety, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Engineering Small PRs is an agent skill from agentara/skills. Use when planning, splitting, shrinking, or sequencing large features, refactors, migrations, or pull requests into small reviewable PRs or CLs. TRIGGER on "split this PR", "this diff is too large", "stacked PRs", "change sequence", "reviewable chunks", "migration plan", "how should I break this up?", or implementation scope too broad for one review. DO NOT TRIGGER for full code review, PR description writing, or tiny one-file edits that already form one self-contained change.

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Pull requests and Refactoring. The repository describes itself as: Original and practical skills for AI builders. The licence is MIT.

When your agent uses it

  • Sequencing large features
  • Pull requests into small reviewable PRs
  • This diff is too large
  • Change sequence

Example prompts

  • “split this PR”
  • “this diff is too large”
  • “stacked PRs”
  • “/engineering-small-prs”

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Name the final outcome in one sentence.
  2. List independent behavior changes, refactors, schema/config changes, tests, and docs.
  3. Identify dependencies that must land earlier.
  4. Choose split strategies from the section below.
  5. Build a merge sequence where every PR keeps the build green.
  6. Add context notes so reviewers understand how each PR fits into the larger work.
  7. For risky or unavoidable large changes, get reviewer consent before sending the PR.

What it can do on your machine

Read from SKILL.md and the folder at commit 950e1bf. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • google.github.io

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Engineering Small PRs loads about 1.3k tokens when it runs. Until then it costs about 126 tokens; SKILL.md has 579 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~126
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from agentara/skills at commit 950e1bf, republished under its MIT licence (© agentara). 579 words, ~1,304 tokens.

Download SKILL.mdSave it as .claude/skills/engineering-small-prs/SKILL.md (or your agent's skills folder).
name
engineering-small-prs
description
Use when planning, splitting, shrinking, or sequencing large features, refactors, migrations, or pull requests into small reviewable PRs or CLs. TRIGGER on "split this PR", "this diff is too large", "stacked PRs", "change sequence", "reviewable chunks", "migration plan", "how should I break this up?", or implementation scope too broad for one review. DO NOT TRIGGER for full code review, PR description writing, or tiny one-file edits that already form one self-contained change.

Engineering Small PRs

Small PRs are easier to review thoroughly, safer to merge, easier to roll back, and less likely to waste work if the direction changes. "Small" means conceptually focused and self-contained, not merely a low line count.

Adapted from Google Engineering Practices Documentation, especially "Small CLs." Source: https://google.github.io/eng-practices/review/developer/small-cls.html. License: CC-BY 3.0.

Definition of a Good Small PR

A good PR:

  • Makes one self-contained change.
  • Includes the tests needed to validate that change.
  • Leaves the system working after merge.
  • Gives reviewers enough context in the PR, description, existing code, or earlier reviewed PRs.
  • Is not so tiny that the behavior cannot be understood. A new API usually needs at least one usage in the same PR.
  • Separates large refactors from behavior changes unless the cleanup is very local.

Reviewers may reasonably reject a PR solely because it is too large to review well.

Splitting Workflow

  1. Name the final outcome in one sentence.
  2. List independent behavior changes, refactors, schema/config changes, tests, and docs.
  3. Identify dependencies that must land earlier.
  4. Choose split strategies from the section below.
  5. Build a merge sequence where every PR keeps the build green.
  6. Add context notes so reviewers understand how each PR fits into the larger work.
  7. For risky or unavoidable large changes, get reviewer consent before sending the PR.

Split Strategies

  • Preparatory tests first: add missing tests around existing behavior before risky refactors.
  • Refactor first: move, rename, extract, or simplify code without changing behavior.
  • Vertical slices: deliver one small user-visible or API-visible behavior end-to-end.
  • Horizontal slices: add shared interfaces, protocol definitions, or adapters only when paired with a real first usage in the same PR or a clearly linked dependent PR already under review.
  • File or owner groups: split files by reviewer expertise when the changes are otherwise self-contained.
  • Config separately: keep rollout configuration, experiments, or deployment wiring separate from code when rollback timing differs.
  • Generated or mechanical changes separately: isolate trusted automated rewrites from hand-written logic.
  • Deletions separately when useful: removing dead code can be a compact, easy-to-review PR.
Show full SKILL.md (237 more words)Show less

Migration Safety

For schema, data, API, or infrastructure migrations, prefer an expand/contract sequence:

  1. Expand: add backward-compatible schema/API/config support without removing old behavior.
  2. Dual path: write or read both paths only when needed, with observability for divergence.
  3. Backfill: migrate existing data with progress tracking, retry behavior, and validation.
  4. Cut over: switch traffic or callers after validation proves both paths are safe.
  5. Contract: remove old schema, code paths, flags, and compatibility shims in a cleanup PR.

Each migration PR should state deployment order, rollback behavior, validation signal, and what must not happen until the next PR lands.

Output Template

markdown
## Goal
[Final outcome]

## Proposed PR Sequence
| # | PR | Purpose | Depends On | Tests | Reviewer Notes |
|---|----|---------|------------|-------|----------------|
| 1 | Add characterization tests for ... | Protect existing behavior before refactor | None | ... | ... |
| 2 | Extract ... without behavior change | Prepare smaller implementation | 1 | ... | ... |
| 3 | Implement ... vertical slice | User-visible behavior | 2 | ... | ... |

## Migration Safety
- Expand/contract phase:
- Backfill/validation:
- Observability:
- Rollback:

## Build Safety
- Each PR keeps:
- Rollback notes:

## Large-Change Risk
- What could not be split:
- Reviewer consent needed:

Heuristics

  • Prefer a PR that is smaller than you think necessary; reviewers rarely object to focused changes.
  • If a PR spreads a small logical change across many files, treat it as larger than the line count suggests.
  • If the reviewer needs substantial future context to understand the PR, the sequence is probably missing an earlier preparatory PR or a better description.
  • If you cannot split the PR, make it extra easy to review: stronger tests, clearer description, explicit risk, and prior reviewer agreement.

Common Mistakes

  • Mixing broad formatting changes with functional logic.
  • Landing a new abstraction with no real usage.
  • Creating a stacked sequence where intermediate PRs break the build.
  • Hiding risky behavior change inside a "refactor" PR.
  • Waiting for one PR to merge before starting the next when a safe stacked workflow is available.

© agentara, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/engineering/engineering-small-prs of agentara/skills.

Open the folder on GitHubat commit 950e1bf

Compare with similar skills

Engineering Small PRs next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Engineering Small PRs compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Engineering Small PRs this skillagentara/skills600—~1.3kAutomated safety check: PassMIT
Smell CheckZhen-Bo/smell-check239—~1.5kAutomated safety check: PassMIT
Coding Agentmastra-ai/mastra29k—~2.3kAutomated safety check: PassCustom licence
Code ReviewerYikai-Liao/symusic1891 repos~1.3kAutomated safety check: PassMIT
Typescript React ReviewerSuFxGIT/scoutarr114—~1.7kAutomated safety check: PassNone
Memtrace Change Impact Analysissyncable-dev/memtrace-public487—~1.4kAutomated safety check: PassCustom licence

Similar skills

  • Smell Check

    Zhen-Bo/smell-check

    Runs a smell-first audit on a user-chosen path set: measures structure metrics, applies a named size profile, and reports code smells and test smells with evidence strength.

    239 GitHub stars~1.5k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Coding Agent

    mastra-ai/mastra

    Authoring playbook for building agents that write, edit, review, or refactor code.

    29k GitHub stars~2.3k tokensUpdated today
    DevelopmentAuto-check passed
  • Code Reviewer

    Yikai-Liao/symusic

    Analyzes code diffs and files to identify bugs, security vulnerabilities (SQL injection, XSS, insecure deserialization), code smells, N+1 queries, naming issues, and architectural concerns, then…

    189 GitHub starsUsed in 1 repo~1.3k tokens
    DevelopmentAuto-check passed
  • Expert code reviewer for TypeScript + React 19 applications.

    114 GitHub stars~1.7k tokensUpdated 6 mo ago
    DevelopmentAuto-check passed
  • Memtrace Change Impact Analysis

    syncable-dev/memtrace-public

    Compute what a planned source-code change will break — blast radius, affected processes, cross-repo callers, temporal stability, and Cortex decision-memory constraints — and produce a risk-rated…

    487 GitHub stars~1.4k tokensUpdated today
    DevelopmentAuto-check passed
  • Develop Microfeed

    microfeed/microfeed

    Develop and contribute changes to the microfeed repository safely from branch creation through validation, commit, push, and draft pull request.

    4.1k GitHub stars~2.1k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from agentara/skills

All 20 skills in this repo
  • World Cup Predictor

    agentara/skills

    Predict FIFA World Cup matches, full tournament paths, and champion probabilities through Codex-native subagents that analyze live news, weather, injuries, markets, Polymarket, tactics, and…

    600 GitHub stars~1.9k tokensUpdated 9 days ago
    Auto-check passed
  • Presentation Design

    agentara/skills

    Generate a premium 6-slide presentation design board as one single composite image.

    600 GitHub stars~2.4k tokensUpdated 9 days ago
    Auto-check passed
  • Publish Research Site

    agentara/skills

    Turn a thesis, proposition, trend, question, or explainer topic into a citation-backed, image-rich, interactive website and deploy it with Vercel CLI.

    600 GitHub stars~1.9k tokensUpdated 9 days ago
    Auto-check passed
  • Portrait Clone

    agentara/skills

    Turn any n reference images (with at least one person) into one exhaustively locked, always de-slopped, JSON-only AIGC image prompt whose every variable is pinned so each generation is nearly…

    600 GitHub starsUsed in 1 repo~5k tokens
    Auto-check passed
  • Create AI image-generation prompts and image-generation workflows for torn-paper editorial collage style posters with layered ripped paper, rough typography, stamps, tape, stickers, cutout subjects…

    600 GitHub stars~1.3k tokensUpdated 9 days ago
    Auto-check passed
  • Article To HTML

    agentara/skills

    Render a markdown draft / any document in the conversation context into a single-file "paper proposal" HTML — serif body, monospace meta, numbered sections, inline SVG figures, callouts, tables…

    600 GitHub stars~1.7k tokensUpdated 9 days ago
    Auto-check passed

Categories

Questions about Engineering Small PRs

What does Engineering Small PRs do?

A skill your agent uses when planning, splitting, shrinking, or sequencing large features, refactors, migrations, or pull requests into small reviewable PRs or CLs. Engineering Small PRs is an agent skill from agentara/skills. Use when planning, splitting, shrinking, or sequencing large features, refactors, migrations, or pull requests into small reviewable PRs or CLs.

When should I use Engineering Small PRs?

Engineering Small PRs fits situations like: sequencing large features; pull requests into small reviewable PRs; this diff is too large; change sequence.

How do I install Engineering Small PRs in Claude Code?

Run `npx skills add agentara/skills --skill engineering-small-prs -a claude-code`. Or copy the skill folder (skills/engineering/engineering-small-prs in agentara/skills) into .claude/skills/engineering-small-prs in your project. Claude Code loads it when a task matches its description.

How do I install Engineering Small PRs in Codex?

Run `npx skills add agentara/skills --skill engineering-small-prs -a codex`. Or copy the skill folder (skills/engineering/engineering-small-prs in agentara/skills) into .agents/skills/engineering-small-prs in your project. Codex loads it when a task matches its description.

Can I use Engineering Small PRs in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add agentara/skills --skill engineering-small-prs -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/engineering-small-prs, .gemini/skills/engineering-small-prs, .github/skills/engineering-small-prs and .opencode/skills/engineering-small-prs in your project.

What does Engineering Small PRs need to run?

SKILL.md names no scripts, command-line tools or credentials: Engineering Small PRs is instructions for the agent only.

Does Engineering Small PRs access the network?

SKILL.md names 1 domain. As links in the text: google.github.io. This is read from the text; nothing was executed.

Is Engineering Small PRs safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Engineering Small PRs use?

Engineering Small PRs is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Engineering Small PRs use?

About 1.3k tokens (SKILL.md is roughly 5.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Engineering Small PRs?

Skills that share tags, products or a category with Engineering Small PRs: Smell Check (Zhen-Bo/smell-check, 239 stars), Coding Agent (mastra-ai/mastra, 29k stars), Code Reviewer (Yikai-Liao/symusic, 189 stars) and Typescript React Reviewer (SuFxGIT/scoutarr, 114 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Engineering Small PRs?

agentara (a GitHub organization) maintains it in agentara/skills, which has 600 GitHub stars. The repository holds 20 skills in this directory. The repository was last updated on September 29, 2026.

Source: agentara/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.