# Code review

> Code review is an open-source agent skill for developer tools. Runs an intentionally harsh maintainability review of code changes on request. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/Kripu77/software-factory/tree/main/skills/code-review
- **Repository:** https://github.com/kripu77/software-factory
- **GitHub stars:** 6
- **License:** MIT
- **Skill name:** code-review
- **Collection:** https://github.com/Kripu77/software-factory
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-02

## About

This skill makes the agent perform a deliberately strict code quality audit focused on structure rather than surface style. It pushes the reviewer to look for simplifications that delete complexity, to flag files that grow past roughly 1000 lines, to question new special-case branches inserted into existing flows, and to call out thin wrappers, unnecessary casts or optional parameters, and duplicated helpers where a canonical one exists.

The review is organized around a prioritized list of findings, starting with structural regressions and missed large simplifications, and ending with legibility concerns. It is meant to keep the number of high-conviction comments small and avoid cosmetic nitpicks. The skill also sets an approval bar that is stricter than behavioral correctness alone, and it instructs the agent to leave review comments rather than implement fixes or merge.

The skill is a single SKILL.md with no bundled scripts. It works from the current branch's changes and does not specify particular tools, languages or runtime requirements beyond the code being reviewed.

## When your agent uses it

> Run an extremely strict maintainability review for abstraction quality, giant files, and spaghetti-condition growth. Use for a code review, deep code quality audit, or especially harsh maintainability review. Only use when explicitly asked to review; never during implementation.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/Kripu77/software-factory/tree/HEAD/skills/code-review)
- [License: MIT](https://github.com/Kripu77/software-factory/tree/HEAD/skills/code-review)

## Features

- **Strict structural review:** Evaluates abstraction quality, layering and modularity against a demanding maintainability bar.
- **Code judo simplification:** Searches for restructurings that preserve behavior while removing whole branches or layers.
- **File size monitoring:** Flags changes that push a file past about 1000 lines and asks for decomposition first.
- **Spaghetti condition detection:** Identifies ad-hoc conditionals and special cases added into unrelated control flow.
- **Type and boundary checks:** Questions casts, unknown or any types, and unnecessary optional parameters that obscure invariants.
- **Review-only guardrails:** Limits the agent to leaving review comments and forbids implementing fixes or merging.

## Good for

- Run a harsh maintainability review of my current branch's changes
- Audit this pull request for abstraction quality and giant files
- Check whether this change adds spaghetti conditionals to an existing flow
- Look for a simpler restructuring that removes complexity from this diff

## Install

### Claude Code

This skill ships in the `software-factory` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add Kripu77/software-factory
/plugin install software-factory@software-factory
```

Or copy only this skill to `~/.claude/skills/code-review`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Kripu77/software-factory.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/code-review &&
cp -R "$tmp/skills/code-review" ~/.claude/skills/code-review &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/code-review` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/code-review` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Kripu77/software-factory.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/code-review &&
cp -R "$tmp/skills/code-review" ~/.agents/skills/code-review &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/code-review` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/code-review` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Kripu77/software-factory.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/code-review &&
cp -R "$tmp/skills/code-review" ~/.cursor/skills/code-review &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/code-review` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/Kripu77/software-factory.git --path skills/code-review
```

Or copy the folder to `~/.gemini/skills/code-review` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/code-review`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Kripu77/software-factory.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/code-review &&
cp -R "$tmp/skills/code-review" ~/.copilot/skills/code-review &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/code-review` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/Kripu77/software-factory.git
```

Then copy `software-factory/skills/code-review` into your agent's skills folder as `code-review`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When should Code review be used?

Only when a review is explicitly requested, such as a code review, a deep code quality audit or a harsh maintainability review. It is not meant to be used during implementation.

### Does Code review change my code?

No. The skill instructs the agent to leave review comments and not implement the fix, and never to merge.

### Does Code review require any scripts or special tools?

The skill ships no scripts and does not set allowed tools. It operates on the code under review.

### How do I install Code review in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/code-review to use it in all your projects, or to .claude/skills/code-review in one project. Or install the software-factory plugin, which includes it: /plugin marketplace add Kripu77/software-factory, then /plugin install software-factory@software-factory.

### Does Code review run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Code review?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Code review?

The closest alternatives to Code review are Thermo nuclear code quality review, Code review loop, Code simplifier, Code review expert and Go code review.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Thermo nuclear code quality review](https://ai-powered.com/skills/thermo-nuclear-code-quality-review-michael-denyer): Thermo nuclear code quality review is an open-source agent skill for developer tools.
- [Code review loop](https://ai-powered.com/skills/code-review-loop): Code review loop is an open-source agent skill for developer tools.
- [Code simplifier](https://ai-powered.com/skills/code-simplifier): Code simplifier is an open-source agent skill for developer tools.
- [Code review expert](https://ai-powered.com/skills/code-review-expert): Code review expert is an open-source agent skill for developer tools.
- [Go code review](https://ai-powered.com/skills/go-code-review): Go code review is an open-source agent skill for developer tools.
- [Thermo nuclear code quality review](https://ai-powered.com/skills/thermo-nuclear-code-quality-review): Thermo nuclear code quality review is an open-source agent skill for developer tools.
- [Project review](https://ai-powered.com/skills/project-review): Project review is an open-source agent skill for developer tools.
- [Code review](https://ai-powered.com/skills/code-review-getsentry): Code review is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/code-review-kripu77
