Skip to content
Development
Skill

/code-review

Reviews code for bugs, style, and best practices. Use when reviewing PRs or checking code quality.

From plugin
gsd-skill-creator
70102 skills61 agents26 commands1 MCP
Install
$ npx -y skills add Tibsfox/gsd-skill-creator --skill code-review --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/code-review

Context preview

The summary Claude sees to decide when to auto-load this skill.

Reviews code for bugs, style, and best practices. Use when reviewing PRs or checking code quality.

SKILL.md

code-review.SKILL.md
name: code-review
description: Reviews code for bugs, style, and best practices. Use when reviewing PRs or checking code quality.
version: 1.0.0
format: 2025-10-02
triggers:
  - reviewing PRs or checking code quality
updated: 2026-04-25
status: ACTIVE

Code Review

Checklist

**Correctness:** Logic errors, edge cases, off-by-one, resource leaks, race conditions, error handling

**Security:** Input validation, injection (SQL/XSS), auth/authz, secrets exposure, CSRF

**Performance:** N+1 queries, redundant work, memory leaks, blocking I/O, missing indexes

**Maintainability:** Clear naming, single responsibility, DRY, test coverage

Severity

| Level | Action | |-------|--------| | CRITICAL | Security/data-loss risk — must fix | | MAJOR | Bug/performance — should fix | | MINOR | Code smell — consider fixing | | STYLE | Formatting — optional |

Comment Format

### [SEVERITY] Brief description
**File:** path:line
**Issue:** What's wrong
**Suggestion:** Proposed fix

Flag These

  • `== true/false` → use boolean directly
  • `catch(e) {}` → swallowed error
  • Magic numbers → named constants
  • Deep nesting → early returns
  • Commented-out code → delete it
Ships withgsd-skill-creator

An adaptive learning and coprocessor architecture for Claude Code, built as an extension to GSD (open-gsd)

Get the whole plugin

Other skills on gsd-skill-creator.