code-reviewer
When reviewing a PR, auditing code quality, or validating changes against the project's standards and sacred behaviors.
- License 许可
- MIT
- 最近更新
- 2026-11-07
- Stars
- ★ 13
- Forks
- 3
01 前言 Front Matter
- name
- code-reviewer
- license
- MIT
- description
- When reviewing a PR, auditing code quality, or validating changes against the project's standards and sacred behaviors.
03 SKILL.md 正文
Code Reviewer Standards
Review Checklist
- Correctness: Does the code do what it's supposed to?
- Edge cases: Are error conditions handled?
- Style: Does it follow project conventions? Check
.memory/CONVENTIONS.md. - Architecture: Does it comply with the project's architecture standards?
<!-- PLATFORM: Android -->
Check
.agents/standards/ANDROID_ARCHITECTURE.md. Verify module dependency rules (:feature→:dataOK; no:data↔:data, no:feature↔:feature). Check UDF in ViewModels. NoGlobalBus/FlowBusfor cross-module events. <!-- END PLATFORM: Android --> <!-- PLATFORM: iOS --> Check.agents/standards/IOS_ARCHITECTURE.md. Verify module boundaries and dependency direction. Check MVVM/UDF patterns in ViewModels. <!-- END PLATFORM: iOS --> Check module dependency rules and layer boundaries. - Lint / Static Analysis: <!-- PLATFORM: Android --> CI runs Detekt on every PR and posts inline comments via Reviewdog. Check that no unresolved Detekt violations exist in new/changed lines. <!-- END PLATFORM: Android --> <!-- PLATFORM: iOS --> CI runs SwiftLint. Check that no unresolved violations exist in new/changed lines. <!-- END PLATFORM: iOS --> <!-- PLATFORM: Web --> CI runs ESLint/Prettier. Check that no unresolved violations exist in new/changed lines. <!-- END PLATFORM: Web --> If CI runs static analysis, the author must fix violations before approval.
- Performance: Are there obvious inefficiencies? Consider UX impact.
- Security: Does it follow
security-non-negotiablesrules? - Tests: Are there adequate tests for the changes?
- Sacred behaviors: Does this change anything in
.memory/SACRED.md? - Dependencies:
<!-- PLATFORM: Android -->
If the PR touches
libs.versions.toml,gradle-wrapper.properties, orbuildSrc/, <!-- END PLATFORM: Android --> <!-- PLATFORM: iOS --> If the PR touchesPackage.swift,Podfile, or.xcode-version, <!-- END PLATFORM: iOS --> <!-- PLATFORM: Web --> If the PR touchespackage.jsonor lock files, <!-- END PLATFORM: Web --> verify the correct upgrade tier approval was obtained per.agents/standards/DEPENDENCY_MANAGEMENT.md. Block merge if not.
Cross-Platform Impact (if blueprint configured)
If Blueprint Path is set in .memory/CONFIG.md:
- [ ] Check whether the changes touch business logic documented in
[BLUEPRINT_PATH]/specs/. If so, verify the implementation matches the spec. - [ ] If the changes modify shared business logic (calculations, validation rules, data contracts), flag it: a Knowledge Bus entry may be needed.
- [ ] Check
[BLUEPRINT_PATH]/parity/PARITY_MATRIX.md— does this change affect parity status for this platform?
Skip this section if no blueprint is configured.
Documentation Standards
- Documentation must be synchronised with code changes.
- Markdown files must use consistent heading hierarchies.
- Code snippets must be executable and reflect real use cases.
- Each doc must outline: purpose, usage, parameters, and examples.
QA Procedures
- Changes involving security, system config, or agent roles require review.
- User-facing output must be clear, non-technical, and actionable.
- All major updates must include a rollback plan.
- Do not nit-pick code that matches the conventions in
.memory/CONVENTIONS.md. - Post constructive, actionable feedback — explain why, not just what.
How to Provide Feedback
- Be specific about what needs to change.
- Explain why, not just what.
- Suggest alternatives when possible.
04 同仓库更多 Skills
setup-project
When setting up agentskel on a new project that does not yet have .memory/ or .agents/. Use when the user says "set up agentskel", "install agentskel", or "add agent memory to this project".
using-git-worktrees
When running long feature implementations, parallel branch work, or build/test scripts that must not interfere with the user's active working directory. Creates isolated execution environments via git worktrees in sibling directories.
test-engineer
When designing test strategy, analysing coverage, or writing tests outside the TDD cycle. Also use when working with CI pipelines or validating changes end-to-end.
test-driven-development
When implementing logic changes during develop-feature or implement-task. Use the Red-Green-Refactor cycle to write a failing test before any production code.
task-planner
When decomposing a feature or spec into implementable subtasks, estimating scope, or orchestrating multi-step work across subagents.
systematic-debugger
When applying debugging techniques during any investigation — root cause tracing, bisect, defense-in-depth. Enforces hypothesis-first analysis and prohibits guess-and-check changes. Use standalone or inside the debug-issue workflow.