immamdouhaboammar/matts-skills-into-chatgpt/code-review
Claude Code and agent skill by immamdouhaboammar/matts-skills-into-chatgpt
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Review changed code against repository coding standards and original specification intent. Use when reviewing a branch, diff, PR, pull request, merge-base changes, or verifying code against documented standards — even if the user just says \"review this\". Do NOT use for authoring new code or diagnosing failing runtime bugs.
Install
npx vskill@latest install immamdouhaboammar/matts-skills-into-chatgpt/code-reviewSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as immamdouhaboammar/matts-skills-into-chatgpt/code-review.
Code Review
Two-axis review of the diff between HEAD and a fixed point:
- Standards: Does the code conform to documented repository standards and clean architecture smells?
- Spec: Does the code faithfully and completely implement the originating issue/spec without scope creep?
Both axes execute as isolated parallel sub-agents to prevent context contamination, with findings reported side by side.
Core Invariants
- Strict Two-Axis Separation: Keep Standards and Spec findings isolated; never merge or cross-rank them into a blended score.
- Pinned Merge-Base Diff: Always resolve refs with
git rev-parseand reviewgit diff <fixed-point>...HEAD. - Evidence-Based Citations: Every finding must quote the exact file, line range, and standard/spec clause violated.
- Tooling Non-Duplication: Skip formatting, syntax, or lint errors that automated pre-commit tooling already catches.
- No Blind Approvals: If the spec is missing, report "No spec provided - verified against standards only" explicitly.
Architecture & Map of Content (MOC)
| Component | Responsibility | Evaluation Source | |
|---|---|---|---|
| Standards Axis | Architecture smells, naming, cohesion | CODING_STANDARDS.md, CONTRIBUTING.md, smell baseline | |
| Spec Axis | Functional completeness, scope boundaries | Issue description, specs/*.md, user requirements | |
| Aggregation | Side-by-side balanced reporting | Verbatim findings categorized by axis |
Step-by-Step Procedure (TWI)
Step 1: Pin the Fixed Point & Diff
- Action: Resolve the base ref and confirm a non-empty diff (
git diff <base>...HEAD). - Key Point: Fail fast if the ref is invalid or the working tree is empty.
- Why: Reviewing against an incorrect base compares irrelevant changes.
Step 2: Extract Standards and Spec Sources
- Action: Locate repository guidelines (
CODING_STANDARDS.md) and originating requirements/issues. - Key Point: Equip the standards agent with Fowler smell baselines (Mysterious Name, Duplicated Code, Feature Envy, Primitive Obsession, Speculative Generality).
- Inline Checklist:
- [ ] Diff base confirmed
- [ ] Standards docs identified
- [ ] Spec/issue requirements extracted
Step 3: Dispatch Parallel Sub-Agents
- Action: Spawn Standards subagent and Spec subagent concurrently with dedicated prompts.
- Key Point: Restrict each subagent to its designated domain (< 400 words per report).
- Why: Combining standards and spec evaluation into a single pass leads to halo bias where clean code masks missing features.
Step 4: Aggregate and Synthesize Report
- Action: Present findings under
## Standardsand## Specheaders with actionable remediation recommendations. - Key Point: State the single most severe issue within each axis clearly.
- Why: Clear prioritization helps authors address critical design issues first.
Anti-Rationalization Guardrails
| Tempting Rationalization | Binding Rule | Engineering Rationale | |
|---|---|---|---|
| "The code looks beautifully formatted, so it must be correct." | Standards pass $\neq$ Spec pass. | Elegant code can completely fail to implement required business logic. | |
| "It does what the ticket asked, so ignore messy architecture." | Spec pass $\neq$ Standards pass. | Quick hacks that bypass standards generate severe technical debt. | |
| "Merge both reviews into one combined score." | Strict two-axis separation. | Blending scores obscures which dimension requires remediation. | |
| "Point out minor indentation issues in the review." | Skip issues handled by automated linters. | Manual review should focus on semantics, architecture, and intent. |
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/code-review/SKILL.md
Popularity
- Repository stars
- 8
- Repository forks
- 1
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/immamdouhaboammar/matts-skills-into-chatgpt/code-review)