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/automaker/skills/code-review-gate ~/.claude/skills/code-review-gateSKILL.md
# Code Review Gate Perform code review with quality scoring and configurable threshold enforcement. ## Agent Code Reviewer - `automaker-code-reviewer` ## Workflow 1. Review all changed files for correctness 2. Check for security vulnerabilities 3. Identify performance issues 4. Verify test coverage adequacy 5. Check code style consistency 6. Detect dead code and debug artifacts 7. Verify no secrets in code 8. Assign quality score (0-100) 9. Make approve/reject decision 10. Enforce quality threshold gate ## Inputs - `projectName` - Project name - `featureId` - Feature identifier - `branch` - Feature branch name - `changedFiles` - Files to review - `reviewPolicy` - Policy: 'auto', 'manual', 'hybrid' - `qualityThreshold` - Minimum score (0-100) ## Outputs - Review with approval, score, comments, security issues, quality gate pass/fail ## Process Files - `automaker-orchestrator.js` - Phase 4 - `automaker-review-ship.js` - Stages 1-2
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.