Agent skill
code-review-gate
Architect code review with DRY, YAGNI, abstraction, and test coverage principle enforcement
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/code-review-gate-a5c-ai-babysitter
SKILL.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.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
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?