Skip to main content
skill CX Codex

code-reviewer · autohandai — Claude Code skill: review and install

This skill assesses a codebase across ten areas and reports actionable findings with priorities. Use it to review a project as it currently stands.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add autohandai/code-cli --skill code-reviewer -a claude-code
Open on GitHub

What code-reviewer does

The review covers architecture, security, error handling, performance, types, tests, maintainability, dependencies, API contracts, and operational readiness. Each area gets a score; findings include a file and line reference, impact, suggested fix, and priority. The final report gives an average score and names three issues to address first.

The workflow starts with the project tree, Git status, and diff, then examines key files. The skill can run tests and lint checks, marking findings it could not verify. It skips generated content such as node_modules, dist, build, and lock files. For a branch or pull request, the instructions point to pull-request-review instead; this skill reviews the codebase in its current state.

What it helps with

  • Locate code defects and security risks by file and line
  • Assess changes across architecture, tests, and performance
  • Rank findings by severity and urgency
  • Check test and lint results when possible

Example prompts for the agent

  • Review the current codebase and report actionable findings with file and line references.
  • Assess these changes, explain their impact, and rank the fixes by priority.
  • Score the project across all ten review areas and run tests and lint if possible.

How to install code-reviewer

1Skills CLI (Vercel)

npx skills add autohandai/code-cli --skill code-reviewer -a claude-code

2Manually: put the files in place

~/.claude/skills/code-reviewer/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/code-reviewer/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about code-reviewer

How do I install code-reviewer in Claude Code?

Run npx skills add autohandai/code-cli --skill code-reviewer -a claude-code. The skill file is installed at ~/.claude/skills/code-reviewer/SKILL.md.

What does code-reviewer do?

It scores a codebase across ten review areas and reports prioritized findings with file and line references. Its report ends with an overall average and three suggested first fixes.

Can code-reviewer review a pull request?

The instructions distinguish this skill’s review of the codebase as it stands from branch or pull request reviews. For those, they recommend pull-request-review.

Source text

SKILL.md · Apache-2.0
---
name: code-reviewer
description: Staff-engineer-level code review delivering 10 prioritized actionable findings across architecture, security, performance, and maintainability
allowed-tools: read_file find_grep fff_find list_tree git_status git_diff code_review run_command
---

You are a Staff-level Software Engineer performing a comprehensive code review. Your review must be thorough, actionable, and prioritized — not a style guide checklist.

## Review Methodology

Analyze the codebase across exactly **10 dimensions**, scoring each 1-5 and providing specific, actionable findings with file paths and line numbers.

### The 10 Review Dimensions

1. **Architecture & Design** — Is the code well-structured? Are responsibilities clearly separated? Are abstractions appropriate (not premature, not missing)?

2. **Security** — Are there injection vulnerabilities (SQL, XSS, command)? Hardcoded secrets? Unsafe deserialization? Missing input validation at trust boundaries?

3. **Error Handling & Resilience** — Are errors caught, logged, and handled? Are there unhandled promise rejections? Missing try/catch around I/O? Silent failures?

4. **Performance & Scalability** — N+1 queries? Unbounded loops? Missing pagination? Blocking I/O on hot paths? Memory leaks (event listeners, timers)?

5. **Type Safety & Correctness** — Are types precise (not `any`)? Are null checks present where needed? Are edge cases handled (empty arrays, undefined, NaN)?

6. **Testing & Testability** — Is there test coverage for critical paths? Are tests testing behavior (not implementation)? Is the code structured for testability (dependency injection, pure functions)?

7. **Maintainability & Readability** — Can a new team member understand this? Are names descriptive? Is complexity justified? Are there dead code paths?

8. **Dependencies & Imports** — Are dependencies up-to-date and maintained? Are there circular imports? Is the dependency tree reasonable? Any known vulnerabilities?

9. **API Design & Contracts** — Are function signatures clear? Are return types consistent? Are breaking changes handled? Is the public API minimal and well-documented?

10. **DevOps & Operational Readiness** — Are there proper logs? Health checks? Configuration management? Graceful shutdown? Retry logic for external calls?

## Output Format

For each dimension, output:

### [N]. [Dimension Name] — Score: [1-5]/5

**Finding:** [Specific issue with file path and line number]

**Impact:** [What breaks or degrades if this isn't fixed]

**Fix:** [Exact code change or approach]

**Priority:** Critical | High | Medium | Low

## Review Workflow

1. **Gather context** — Read the project structure (`list_tree`), check git status (`git_status`), understand what changed (`git_diff`).
2. **Read key files** — Focus on entry points, public APIs, configuration, and recently modified files.
3. **Analyze each dimension** — Score honestly. A score of 5 means "no issues found" — don't inflate.
4. **Prioritize findings** — Lead with Critical/High items. Group related issues.
5. **Provide the summary** — End with an overall health score (average of 10 dimensions) and the top 3 things to fix first.

## Rules

- ALWAYS provide specific file paths and line numbers, never generic advice
- NEVER review generated files (node_modules, dist, build output, lock files)
- When reviewing a diff, focus on the changed lines but check surrounding context
- If the user provides additional instructions, incorporate them as extra focus areas
- Be direct and constructive — "this will crash when X" not "consider handling X"
- If a dimension has no issues, say so briefly and move on

## Evidence and confidence

- Cite file paths and line numbers for every finding; quote the line when the
  defect is not obvious from the reference alone.
- Run the project's tests and lint when possible and report the result instead
  of assuming. A finding you could not verify is marked "unverified".
- Prefer one confirmed high-severity finding over five plausible ones. Do not
  pad the list to reach a count.
- For a branch or pull request, use the `pull-request-review` skill; this
  review is for the codebase as it stands.

© autohandai · Apache-2.0 · autohandai/code-cli

Similar skills

All skills for Code review and refactoring →

code-reviewer by other authors comes first.

code-reviewer https://github.com/Jeffallan Analyzes code diffs and files to spot bugs, security vulnerabilities (SQL injection, XSS), code smells, N+1 queries, and returns a prioritized review report. Use for pull request reviews and code audits. CX Codex +1 6,500installs code-reviewer sickn33 Configures your agent to perform deep code reviews focused on OWASP security flaws, resource leaks, and architecture patterns before merging changes. CX Codex +1 1,000installs code-reviewer Alireza Rezvani Turns a pull request into a scored review: diff complexity, risky patterns, code smells, and a report with a verdict. Useful when the changeset is too big to read cold. 1,130installs code-reviewer zhaono1 Reviews Git diffs and pull requests for security vulnerabilities, logic flaws, test coverage, and code quality. CX Codex +1 749installs improve-codebase-architecture Matt Pocock This skill scans a codebase for architectural friction, then builds a visual HTML report with refactoring candidates. Use it before a deeper architecture review. 1,163,035installs tdd Matt Pocock Guides the red-green TDD loop: ensures tests are written first, keep them at public interfaces, and avoid coupling to implementation details. 1,141,062installs triage Matt Pocock This skill moves issues and external PRs through triage states, verification, and agent briefs. It fits maintainers managing an issue queue. 990,453installs codebase-design Matt Pocock This skill helps design modules with small interfaces and hidden complexity. Use it when refactoring code, choosing a seam, or making tests easier to write. 850,344installs code-review Matt Pocock Reviews changes from a chosen reference point against repository standards and the originating spec. Use it for a branch, PR, or work in progress. 789,521installs implement Matt Pocock Implements work from a specification or tickets, following a test-driven flow and ending with review and a commit. Use it when a coding task needs a defined delivery routine. 774,700installs

From the same set14

goal-writer Turns a rough request into a verifiable objective for /goal mode. Use it when an agent needs to work with less supervision and a clear condition for stopping. CX Codex +1 ★ 211repo stars git-analysis Answers questions about git history: what changed, who wrote a line, where a regression crept in. Useful for review, bisect-style narrowing and changelogs. CX Codex +1 ★ 211repo stars extension-builder Builds, ports, and tests Autohand Code extensions from natural language prompts or Pi packages. Essential for writing custom tools, agents, and CLI hooks. CX Codex +1 ★ 211repo stars deep-research This skill investigates a topic across multiple sources and saves a cited report. Use it when claims need checking, comparison, and a documented trail. CX Codex +1 ★ 211repo stars data-scientist A skill that turns questions about your data into reproducible scripts: locate the files, clean them, report metrics with honest uncertainty. CX Codex +1 ★ 211repo stars computer-control Controls native desktop apps and browser windows via Autohand Computer Use. Guides the agent to inspect application state, click UI elements, and confirm results. CX Codex +1 ★ 211repo stars brainstorm Turns a rough idea into a scoped design before anyone writes code. Useful when you need to weigh approaches or spec out a feature. CX Codex +1 ★ 211repo stars architecture-breakdown Maps an unfamiliar codebase into modules, boundaries, data flows, and hot spots. Useful before major refactoring or during onboarding. CX Codex +1 ★ 211repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor