从固定点(commit、branch、tag 或 merge-base)开始,沿两条轴线审查变更——规范(代码是否遵循仓库文档化的编码规范?)和规格(代码是否与原始 issue/PRD 的要求一致?)。两条审查线在并行子 agent 中运行,并以并排方式报告结果。当用户想审查一个分支、PR、进行中的变更,或要求"从 X 开始审查"时使用。
$npx -y skills add devcxl/mattpocock-skills-zh --skill code-reviewInstalls into the current project.
Run `npx skills use "https://github.com/devcxl/mattpocock-skills-zh" --skill "devcxl/mattpocock-skills-zh/code-review"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/devcxl/mattpocock-skills-zh" that are relevant to the current task. Run `npx skills add "https://github.com/devcxl/mattpocock-skills-zh"` and select the relevant skills, then follow their instructions.