Code Review Specialist
Turn review from gatekeeping into teaching: acceptance criteria, debt bookkeeping, mutation-tested coverage, policy-as-code, and reviews that finish in hours.
Path overview
评审专家的价值不是抓住更多 bug,而是让整个团队少制造 bug。本路径从评审方法与验收标准讲起,覆盖技术债务的记账方法与特征化测试,再落地变异测试、依赖门禁等自动化手段,把人的注意力留给设计与可维护性。
The reviewer value is not catching more bugs but preventing the team from making them. This path covers review craft, acceptance criteria, debt bookkeeping, mutation testing, and policy as code.
Run "The pre-commit command is available on PATH." from "Add Pre-commit Hooks for Lint and Tests" and confirm the documented result "Install the pre-commit framework once per machine, outside the project virtual environment.".
Next step: Add Mutation Testing to Critical Modules
⏱ 0.5h
Apply "Add Mutation Testing to Critical Modules" to a code review task, checking that "Both packages appear in devDependencies and a stryker.conf.json can reference the vitest" appears after the "Measure whether the test suite actually detects faults in critical business logic, not just" step.
Prerequisites: Add Pre-commit Hooks for Lint and Tests
Next step: Block Vulnerable Dependencies at Pull Request Time
⏱ 0.5h
Execute "Block Vulnerable Dependencies at Pull Request Time" end to end, then repeat the last step with one parameter changed and compare "The check fails and comments the offending package, advisory, and license on the pull".
Prerequisites: Add Mutation Testing to Critical Modules
Next step: Review API Contract Changes Before Merge
⏱ 0.5h
Follow "Review API Contract Changes Before Merge" and record "Every breaking change is identified before merge." at the step where it should appear, using "Classify each change: Mark additions as compatible and removals, required additions, type" as the check.
Prerequisites: Block Vulnerable Dependencies at Pull Request Time
Next step: Text Diff Comparison
⏱ 0.5h
Run two different inputs through "Text Diff Comparison" and show where the outputs diverge.
Prerequisites: Review API Contract Changes Before Merge
Next step: Classify Review Risk per Changed File
⏱ 0.25h
Turn JSON object: { files: [{ file, added, removed, touchesTests?, into [{file:README.md,risk:medium},{file:src/auth.ts,risk:high}] by completing "Classify Review Risk per Changed File" with a reproducible script and a failing-case note.
Prerequisites: Text Diff Comparison
Next step: Capstone: Code Review Specialist
⏱ 0.33h
Deliver the "Build a Data Diff CLI" blueprint with "Snapshot reader" working and "Key indexer" recorded as evidence.
Prerequisites: Text Diff Comparison, Classify Review Risk per Changed File
Next step: Run the capstone's tests, publish the repository, and demo it to a reviewer.
⏱ 4h