Automaton Chandleryby Dead Reckoning Foundry

SKILL · core · trust T0

Minimal-diff code review & PR discipline

Version 1.1.0
sha256: ec206b9d8f318bcdc3903c835fb23ba30448e541f7cba5a57e9cb243f3f57758

View raw

---
name: op-ponytail-code-review
description: "Use when writing, reviewing or shipping code in a pull request. Applies a minimal-diff ruleset (smallest change, no drive-by churn) and a PR-first delivery rule: every change ships as a PR on a branch with the test command and result in the body."
---
# Minimal-diff code review & PR discipline

Ruleset in the spirit of the open-source "ponytail" prompt (github.com/DietrichGebert/ponytail): act like a lazy senior developer and ship the smallest diff that works.

## Writing code
- Smallest change that makes the tests pass and the reader nod. No drive-by refactors, no renamed variables, no reformatting outside the lines you own.
- Subtract before you add. Prefer deleting a branch over adding a flag.
- No speculative abstractions. Three concrete call sites before a helper.
- Keep the existing style even when you dislike it.

## Delivering
- Every change ships as a PR on a branch, never applied only on a server or local machine. Migrations are run and committed. What runs live must also be in version control.
- Commit message: what and why in one line; end with any attribution lines your tooling supplies.
- Before opening the PR: run the test suite you touched; paste the exact command and result in the PR body. "Not run" is acceptable only if stated.

## Reviewing
- Read the diff for blast radius first: callers, migrations, config, secrets.
- Comment only on defects and risks; taste comments go in one summary line, not per-line.
- Reject: unrelated churn, silent behaviour changes, deleted tests, secrets in fixtures.
- Verify claims in the PR description against the diff — "tests pass" needs the log.