Skip to content
Development
Skill

/code-review

Systematic code review for bugs, security, style, and performance

From plugin
pydantic-deepagents
1k14 skills
Install
$ npx -y skills add vstorm-co/pydantic-deepagents --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.

Systematic code review for bugs, security, style, and performance

SKILL.md

code-review.SKILL.md
name: code-review
description: "Systematic code review for bugs, security, style, and performance"
tags: [code-quality, review]
version: "1.0.0"

Code Review

Perform a systematic code review covering these categories:

Review Checklist

1. Correctness

  • Logic errors, off-by-one, null/None handling
  • Edge cases: empty inputs, large inputs, concurrent access
  • Error handling: are exceptions caught and handled properly?

2. Security

  • Input validation and sanitization
  • SQL injection, XSS, command injection
  • Secrets in code, hardcoded credentials
  • Authentication and authorization checks

3. Performance

  • Unnecessary loops, N+1 queries
  • Missing indexes for database queries
  • Large memory allocations, unbounded collections
  • Blocking calls in async code

4. Style & Maintainability

  • Naming clarity (variables, functions, classes)
  • Function length — split if >30 lines
  • Dead code, commented-out code
  • Missing type annotations

5. Testing

  • Are new code paths covered by tests?
  • Are edge cases tested?
  • Are error paths tested?

Output Format

For each issue found:

  • **File:line** — category — description — suggested fix
  • Severity: critical / warning / suggestion
Ships withpydantic-deepagents

Open-source, self-hosted Claude Code - a terminal AI assistant and the Python framework behind it. Tool-calling, sandboxed execution, multi-agent teams, skills, checkpoints, unlimited context - on Pydantic AI, any model.

Get the whole plugin
Stats
1,021
Stars
120
Forks
Active
Maintenance
Python
Language
MIT
License
4d ago
Last commit
8mo ago
Created

Repo: vstorm-co/pydantic-deepagents