code-review-gate
The Code Review Gate performs architect-level reviews of code changes, enforcing four core principles: DRY (eliminating unnecessary duplication), YAGNI (avoiding speculative features), proper abstraction (correct encapsulation), and test coverage (adequate automated tests). It provides numeric quality scores with specific file and line feedback, integrating into development workflows to ensure code quality before merging.
git clone --depth 1 https://github.com/a5c-ai/babysitter /tmp/code-review-gate && cp -r /tmp/code-review-gate/library/methodologies/maestro/skills/code-review-gate ~/.claude/skills/code-review-gateSKILL.md
# 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.js` Phase 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
Review TypeScript code changes for consistency, type safety, and monorepo patterns across babysitter packages
Generate and validate documentation for @a5c-ai/babysitter-sdk CLI commands and exported APIs
Scaffold new babysitter process definitions following SDK patterns, proper structure, and best practices. Guides the 3-phase workflow from research to implementation.