Skip to main content

code-review-gate

Architect code review with DRY, YAGNI, abstraction, and test coverage principle enforcement

来源信息

仓库
a5c-ai/babysitter
最近来源活动
2026年6月1日 07:46
检测到的 SKILL.md 语言
英语
星标
1,813
分支
111

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
code-review-gate
description
Architect code review with DRY, YAGNI, abstraction, and test coverage principle enforcement
allowed-tools
["Read","Write","Edit","Bash","Grep","Glob"]
graph
{"domains":["domain:software-engineering"],"skillAreas":["skill-area:agentic-loops","skill-area:orchestration-loop"],"workflows":["workflow:feature-development"],"topics":["topic:developer-experience"],"roles":["role:tech-lead","role:backend-engineer"]}
# 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
在 GitHub 查看