Agent Guardrail & Quality Gate: prevent out-of-scope edits and enforce build verification before completion.
Software engineering discipline for AI coding agents. Keeps edits strictly scoped, protects API/data contracts, and requires passing typecheck, tests, and diff review before claiming done.



# quality-gate (Core Rules)
- Scope Check: Never touch unrelated files outside the active task scope.
- Schema & Contract Guard: Preserve API boundaries and typed schemas.
- Evidence Gate: Never report done until typecheck, tests, and diff review PASS.Excerpt from quality-gate/SKILL.md: Scope Check & Proof Before Done
It stops agents from modifying unrelated files, breaking neighboring TypeScript types, and declaring victory while builds still fail.
Extract quality-gate-v1.0.zip and copy quality-gate/ into your agent skills or rules folder per README.md.
Yes, every instruction works cross-platform across Antigravity, Claude Code, Codex, and OpenCode.