Skip to main content

code-review

Code, PR, diff, branch, or commit review; git diff, git show, or change comparison. Not for debugging or design critique.

Source facts

Repository
ilude/dotfiles
Last source activity
September 6, 2026 at 04:25
Detected SKILL.md language
English
Stars
4
Forks
1

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
code-review
description
Code, PR, diff, branch, or commit review; git diff, git show, or change comparison. Not for debugging or design critique.
# Evidence-Based Code Review ## Boundary Use `code-review` only when reviewing a change set for findings. Use `analysis-workflow` for general troubleshooting and `least-astonishment` while making edits. ## Core Principle: Must vs May Report only demonstrably reachable issues mapped to requested acceptance, a repository invariant, or a safety boundary. Suggestions, including out-of-contract design improvements, are advisory and separate from required findings. ## Review Steps 1. Identify the reviewed range and changed files. 2. Understand intended behavior from code, tests, and docs. 3. Check changed paths for correctness, security, data loss, regressions, and test gaps. 4. Treat changes under `.vscode/`, `.claude/`, `.gemini/`, `.cursor/`, `.github/workflows/`, `.forgejo/workflows/`, package lifecycle scripts, setup scripts, and `go:generate` directives as security-sensitive executable or agent-instruction surface. 5. Prove reachability: inputs, callers, guards, and runtime conditions. 6. Classify severity and confidence. 7. Provide exact evidence and required fix. Review the selected boundary to a clear stopping condition. Do not repeat the same boundary unless acceptance, an invariant, or safety explicitly requires another pass. ## Explicit-request complexity lens Apply this lens only when the user explicitly requests a simplicity, overengineering, or complexity review. Check whether the changed design adds unnecessary abstraction, indirection, ceremony, duplicate state, or validation beyond the requested scope and repository constraints. Treat safety controls, required validation, public contracts, and documented operational constraints as necessary unless evidence shows otherwise. Low line count is not evidence of correctness or simplicity. Report complexity concerns separately from correctness findings and require evidence of a reachable cost or scope mismatch. ## Finding Format ```markdown [severity] Title Evidence: <file:line and why the path is reachable> Impact: <user/system consequence> Required fix: <specific change or invariant> ``` ## Severity Guide | Severity | Meaning | | --- | --- | | Critical | data loss, credential exposure, remote exploit, total outage | | High | common path broken, security boundary bypass, major regression | | Medium | real bug with bounded impact | | Low | minor correctness/maintainability issue | ## Anti-Patterns - Flagging hypothetical bugs without a reachable path. - Reviewing unchanged code as if introduced by the diff. - Mixing style preferences with required fixes. - Missing tests but not explaining the untested risk. - Treating editor tasks, agent hooks, or workflow changes as harmless metadata without checking execution triggers and secret access.
View on GitHub