joetawil7/first-pass

95 stars · Last commit 2026-10-17

Rules and checks that make Claude Code look around a change, not just at the lines it writes: ten questions before code, a reviewer that didn't write it, proof before done, bugs fixed as a class.

README preview

# first-pass

[![validate](https://github.com/joetawil7/first-pass/actions/workflows/validate.yml/badge.svg)](https://github.com/joetawil7/first-pass/actions/workflows/validate.yml)
[![MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)

first-pass makes a coding agent check the code around a change, not only the lines it
writes, and prove its work before it calls anything done. It's a Claude Code plugin;
Cursor, Codex and other agents get the same rules and skills (the hooks are Claude Code
only). You set it up once, in the folder that holds your repos.

**What it does**

- **Before code,** the agent answers ten questions about the change against the real code:
  what happens if it runs twice, stops halfway, or an outside service times out; which
  other code uses the same data; what the user sees when it fails. Each answer is a
  `file:line`, a test, or a gap you decide to accept.
- **While building,** anything the task didn't ask for (a helper, a cap, a retry, an option)
  has to earn its place. The agent asks whether it needs to exist, leaves it out when
  nothing requires it, and lists it under "Not built" so you can ask for it. During the
  work, a review finding gets fixed only when it does real harm or stops the change doing its

View full repository on GitHub →