Claude Code hook

First Pass

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.

129 starsHooks Plugin marketplace Source

Install

Inside Claude Code
/plugin marketplace add joetawil7/first-pass

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/joetawil7/first-pass.git

From the README

first-pass

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
  job; the rest come to you as one list at the end, to pick from.
- On the task you gave, the agent first writes the task's scope from your prompt and the
  code around it: the feature, everything that uses the same data, the rest of the same
  flow, and the steps that cancel or delete what it creates. Its searches and reviews stay
  inside that scope. A serious problem it happens to see
  elsewhere gets one line in the report (and one in that repo's list of known breaks when it
  breaks one of its rules), and nothing else; anything the change itself breaks
  counts as inside, wherever it is. /first-pass:hulk lifts the
  scope for one task, so it looks everywhere.
- Before "done", a second agent that didn't write the code reviews it in a fresh
  context. "Done" needs a…
Read the full README on GitHub

How hooks work

  • Hooks are shell commands Claude Code runs at fixed points: before or after a tool call, when you submit a prompt, when Claude stops, on notifications and at session start.
  • They are set in the hooks section of ~/.claude/settings.json (or .claude/settings.json for a project), or come bundled in a plugin.
  • A hook can block a tool call, add context, or run a formatter or test. Read the scripts before you install them: they run on your machine with your permissions.
Claude Code docs

Details

Type
Hooks
Language
JavaScript
License
MIT
Last updated
17 October 2026
Topics
agents-skillsagentskillagentskillsai-codingai-coding-assistantclaude-codeclaude-code-hooksclaude-code-marketplaceclaude-code-pluginclaude-code-pluginsclaude-code-plugins-marketplaceclaude-code-skill

FAQ

What is First Pass?

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. It is a hook for Claude Code, from joetawil7/first-pass on GitHub.

How do I install First Pass?

Run /plugin marketplace add joetawil7/first-pass inside Claude Code, then follow the setup in the README.

Is First Pass popular?

joetawil7/first-pass has 129 GitHub stars and 0 forks. It was last updated on 17 October 2026.

More hooks

Browse the most popular Claude Code mods, all hooks, or the skills and MCP server directories.