fnl-review-gate
Installation
SKILL.md
Review gate
When the gate applies
- After each user story or increment: review it, dispose every finding, fix and verify, then review the next story. The next story's implementation starts only after the previous gate is closed.
- Before merge: every pull request, whatever its size, passes both a code review and a security review, each posted on the pull request, as "Pull requests" below says.
- Major features and work produced by delegated agents always get one.
- Inside a pull request's work, a no-runtime-impact text edit needs its checks, not a reviewer per edit; the pull request still gets both reviews.
Instruments
This gate decides when, by whom, and what happens to each finding; an instrument does the reading. The fnl-reviewer and fnl-security-reviewer agents are always the entry: each runs the instrument below as its engine, verifies the engine's findings against the code and posts the marker. The reviewer uses its own host's native review and adds companions:
- Claude Code:
/code-reviewon the diff at a chosen effort,/security-reviewfor pending changes that hit a security trigger,claude ultrareviewfor a cloud multi-agent pass before merging large work (the code goes to a cloud run, so the owner approves it). Posting comments or applying fixes needs an explicit ask. - Codex:
codex review --base <branch>(or--uncommitted,--commit <sha>), or/reviewin a session. - Antigravity: no native AI review command (
/diffand the review pane are for the human). An Antigravity reviewer reads the diff itself; the native second pass runs on Claude Code or Codex where one is reachable. - Companions:
code-reviewfrom mattpocock/skills for standards and spec, andsecurity-auditfrom cloudflare/security-audit-skill for audits (fnl-security-review-gatesays when).
When an instrument is missing, the reviewer applies the packet and findings rules below directly, names the missing instrument in its report and tells the caller that /fnl-setup guides installing it, so the review meets the standard the next time.