# Code Review

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

- Repository: https://github.com/vstorm-co/pydantic-deepagents (1111 stars)
- Category: Security
- License: MIT
- Last updated: 2026-10-30
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add vstorm-co/pydantic-deepagents --skill code-review -g -a claude-code -y`
Codex: `npx skills add vstorm-co/pydantic-deepagents --skill code-review -g -a codex -y`
Cursor: `npx skills add vstorm-co/pydantic-deepagents --skill code-review -g -a cursor -y`
Gemini CLI: `npx skills add vstorm-co/pydantic-deepagents --skill code-review -g -a gemini-cli -y`

## Description

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

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# 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

