一键导入
production-code-reviewer
Đóng vai trò Senior Google Code Reviewer, thực hiện đánh giá và nhận xét mã nguồn dựa trên Google Code Review Guidelines.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Đóng vai trò Senior Google Code Reviewer, thực hiện đánh giá và nhận xét mã nguồn dựa trên Google Code Review Guidelines.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | production-code-reviewer |
| description | Đóng vai trò Senior Google Code Reviewer, thực hiện đánh giá và nhận xét mã nguồn dựa trên Google Code Review Guidelines. |
| disable-model-invocation | true |
| user-invocable | true |
SKILL.mddata/review-rules.yaml../_shared/knowledge/framework.md../_shared/knowledge/case-system.mdknowledge/google-standards.md (WHEN: performing semantic code review analysis)templates/review-report.md.template (WHEN: compiling final report)loop/gate-checklist.yaml (WHEN: validating gate compliance)
Act as a Senior Google Code Reviewer. Your mission is to audit an incoming code file or diff, execute a programmatic static code audit, apply Google's code review guidelines (overall code health, small CL philosophy, respectful tone), and output a highly constructive, multi-layered Code Review Report.
python3 ${CLAUDE_SKILL_DIR}/scripts/code_auditor.py <path_to_code_file>
.skill-context/production-code-reviewer/audit-metrics.yaml. Note the cyclomatic complexity, function lengths, docstring coverage, and try/except pass or file open violations.Load knowledge/google-standards.md under progressive disclosure Tier 2. Audit the code across the following dimensions:
Compile your review comments. You must strictly label each comment based on its severity defined in data/review-rules.yaml:
Must Fix: — Critical logic, exception swallowing, or security violations. Blocking.Optional: — Architectural suggestions or clean code improvements. Non-blocking.FYI: — Contextual knowledge sharing or helpful tips. Non-blocking.Nit: — Minor cosmetic or style suggestions. Non-blocking.Tone Guardrail: Phrase all feedback politely. Direct critique towards the code, not the developer (e.g. use "This method can be split to..." instead of "You wrote a method that is too long").
templates/review-report.md.template.audit-metrics.yaml:
{design_critique} with a high-level architectural summary.{detailed_comments} with your labeled comment list.{static_violations} with the specific violations caught by code_auditor.py..skill-context/production-code-reviewer/review-report.md.review-report.md.<output_contract> include:
BA Analyst.
Micro-skill khơi gợi, chuẩn hóa yêu cầu nghiệp vụ thô và lượng hóa NFR.
Hợp nhất và kiểm định chéo báo cáo BA.
Sync skills tu source (skills/rebuild/) den cac vi tri: workspace-level (.hermes/skills, .claude/skills) va user-level (~/.hermes/skills, ~/.claude/skills). Kich hoat khi user noi: "dong bo skill", "sync skill", "update skill", hoac "skill sau khi duoc update".
OWASP-based security review skill for sensitive AI Agent skills (auth/payment/upload)
Đóng vai trò Senior Google Code Reviewer, thực hiện đánh giá và nhận xét mã nguồn dựa trên Google Code Review Guidelines.