Code Review Gate
Testing & Qualitycode-review-gateCode Review Gate is an Agent Skill for testing & quality published in the a5c-ai/babysitter repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Architect code review with DRY, YAGNI, abstraction, and test coverage principle enforcement
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/a5c-ai/babysitter/blob/HEAD/library/methodologies/maestro/skills/code-review-gate/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/code-review-gate, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Code Review Gate
Capabilities
Performs architect-level code review enforcing four core principles: DRY (no unnecessary duplication), YAGNI (no speculative features), proper abstraction (correct encapsulation), and test coverage (adequate automated tests). Provides numeric quality scores and specific file:line feedback.
Tool Use Instructions
- Use Read to examine code changes and test files
- Use Grep to search for duplication patterns and anti-patterns
- Use Glob to verify test file coverage
- Use Bash to run lint, test, and coverage commands
- Use Write to generate review reports
Process Integration
- Used in
maestro-orchestrator.jsPhase 4 (Architect Code Review) - Used in
maestro-development.js(PR Review Cycle) - Used in
maestro-hotfix.js(Expedited Review) - Maps to tasks:
maestro-architect-code-review,maestro-dev-architect-review,maestro-hotfix-review - Agents: Architect, Code Reviewer
- Quality convergence loop: rejected code returns to coder for fixes
- Checks are "turned up to 11" by default