code-review
Performs structured engineering review for correctness, maintainability, security, operability, and contract fit. Use for principal-engineer review and pre-commit review.
- License 许可
- Apache-2.0
- 最近更新
- 2026-07-13
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- code-review
- description
- Performs structured engineering review for correctness, maintainability, security, operability, and contract fit. Use for principal-engineer review and pre-commit review.
03 SKILL.md 正文
Code Review
Purpose
Find defects and design risks that tests alone may miss. This is a review skill, not an implementation skill.
Review procedure
- Reconstruct the task contract and intended behaviour.
- Inspect the diff, call sites, tests, and public interfaces.
- Check correctness before style.
- Check negative paths, error handling, idempotency, and edge cases.
- Check maintainability and simplicity.
- Check observability and operational failure modes where relevant.
- Check security, dependency, and secret-handling risks.
- Return structured findings with severity and required outcome.
Severity
- BLOCKER: must not proceed.
- MAJOR: task not acceptable until fixed.
- MINOR: should fix if low-risk.
- NIT: optional polish, should not block.
Review output
Each finding must include:
- location;
- severity;
- violated expectation or risk;
- concrete problem;
- required outcome;
- suggested test when applicable.
Red flags
- Review comments focus only on style.
- Reviewer rewrites code instead of producing findings.
- Reviewer approves without checking tests.
- Reviewer ignores task non-goals.
- Reviewer suggests broad refactors unrelated to the task.
04 同仓库更多 Skills
invoice-domain-review
Domain review for contractor invoice governance, ingestion, reconciliation, attendance attribution and billing evidence.
python-domain-review
Reviews generic Python implementation against task intent, API expectations, simplicity and maintainability.
verified-commit
Creates a task-scoped commit only after validator and exact-tree postflight pass.
using-agent-skills
Selects and applies the smallest relevant set of skills for a task, preventing generic prompting and unused specialist guidance. Use at the start of every command, task, review, or repair cycle.
testing-patterns
Designs focused, hierarchical, regression, boundary, integration, and end-to-end tests for vertical-slice implementation. Use before and after implementation, and during test review.
test-hierarchy
Classifies and enforces the required unit, integration, local E2E, and cloud E2E test tier for a task or run.