The code-review Skill evaluates a code diff against repository standards and the original task specification during pull request reviews.
code-review
Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes: Standards (does the code follow this repo's documented coding standards?) and Spec (does the code match what the originating issue/spec asked for?). Runs both reviews in parallel sub-agents and reports them side by side. Use when the user wants to review a branch, a PR, work-in-progress changes, or asks to "review since X".
معلومات المصدر
- المستودع
- mattpocock/skills
- آخر نشاط في المصدر
- ٢٩ أكتوبر ٢٠٢٦ في ١٠:٢٤
- لغة SKILL.md المكتشفة
- الإنجليزية
- النجوم
- ٣٢٨٬١٠٥
- التفرعات
- ٢٧٬٥٦٨
Review a code change against repository standards
Matt Pocock's `/code-review` compares the changes since a chosen commit, branch or other fixed point along two separate axes: the repository's documented
Uses
Use it for a branch, pull request or work in progress when you want to know whether the change follows local conventions and still delivers what was requested.
Prerequisites
Provide a fixed point for the diff. The source expects an issue-tracker setup and looks for a spec in issue references, a supplied path, or matching repository files.
How to use
The Skill pins the fixed point, checks that the three-dot diff is non-empty, locates the spec and standards files, runs the two reviews, then aggregates their findings without merging the two axes.
Limitations
If no spec exists, the source says the Spec review is skipped and reported as such. It also treats general code-smell findings as judgement calls rather than automatic violations.
خيارات التثبيت
يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.
مراجعة ملفات المصدر
اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.
عرض SKILL.md
| name | code-review |
|---|---|
| description | Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes: Standards (does the code follow this repo's documented coding standards?) and Spec (does the code match what the originating issue/spec asked for?). Runs both reviews in parallel sub-agents and reports them side by side. Use when the user wants to review a branch, a PR, work-in-progress changes, or asks to "review since X". |