← ClaudeAtlas

code-reviewlisted

Review code for bugs, security issues, and code quality, and write a severity-ranked report to a markdown file in the repo. Use this skill whenever the user asks to review code, review a branch or PR, check code quality, audit changes, look for bugs or smells, or asks "is this ready to merge?" / "what's wrong with my code?" / "check my work before I push" — in any language, even if they don't say the word "review". By default it reviews the work on the current git branch. Not for principle-by-principle design audits (DRY, KISS, YAGNI, SRP, SOLID): those belong to principles-audit and solid-audit.
nrimen/clean-code-skills · ★ 2 · Code & Development · score 75
Install: claude install-skill nrimen/clean-code-skills
# Code Review Produce an honest, useful review of the code the user is working on: find real problems, rank them by severity, and save the result as a markdown report in the repo. The review is **read-only** — never edit source files, never commit, never push. The only file this skill writes is the report. A good review is one the user can act on in a few minutes: the most important problems first, each pinned to a `file:line`, each explaining *why* it matters. A review padded with nitpicks or speculative warnings is worse than a short one, because it buries the findings that count. ## Workflow ### 1. Work out what to review Unless the user points at specific files, directories, a commit range or a PR, review **the work on the current branch**: everything it adds compared with the branch it was created from, plus uncommitted and staged changes. Run `bash scripts/detect_context.sh` from the repo root. It prints the current branch, the likely base branch, the merge base, the changed files, and the lint/test commands it can find. Then: - If the script reports that this is not a git repository, review the files the user names; if they named none, ask what to review. - Use `git diff <merge-base>` (no second ref) to see committed + uncommitted changes together, and `git status --porcelain` for untracked new files (read those in full). - If the current branch *is* the base branch (e.g. working directly on `main`), there's nothing to diff against — review uncommitted changes i