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.
Install
/plugin marketplace add joetawil7/first-passFound in the project README. Check it for setup steps after installing.
git clone https://github.com/joetawil7/first-pass.gitFrom 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…
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.
Details
- Repository
- joetawil7/first-pass
- 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
Youtube Skills
87sergebulaev/youtube-skills
YouTube and YouTube Shorts marketing skills for Claude Code and Codex: high-CTR titles, SEO descriptions, retention hooks, thumbnails, and a content plan. Publish via Publora. MIT. Content engineering by Creative Content Crafts.
Anthropic Mythos Desktop Studio
115Abhi24384/Anthropic-Mythos-Desktop-Studio
Claude 3.5 Sonnet Desktop Client for Windows Mac Linux 2026
Themata Claude Scribe
118Vitorlindo201/Themata-Claude-Scribe
Claude Mythos Engine 2026: AI Sub-Agent Framework for Epic Interactive Storytelling
Ccgate
88tak848/ccgate
LLM-powered PermissionRequest hook for coding agents (e.g. Claude Code)
Claude Code Backdoor
91s0ld13rr/claude-code-backdoor
Backdooring Claude Code via hooks in settings.json. Authorized use only!
Facebook Skills
80sergebulaev/facebook-skills
Facebook Pages marketing skills for Claude Code and Codex: high-share posts, hooks, engagement replies, and a weekly plan. Publish via Publora. Open source, MIT. Content engineering by Creative Content Crafts.
Browse the most popular Claude Code mods, all hooks, or the skills and MCP server directories.