Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Code Reviewer 13

ASecurity

Performs critical code reviews with a skeptical mindset, assuming the author cannot be fully trusted. Evaluates code quality, architecture, testing, requirements, and production readiness. Use after completing significant code changes or before merging.

2 stars
0 votes
0 copies
0 views
Added 9/27/2026
code-qualityrustgobashsqltestingrefactoringcode-reviewgitapidatabase

Works with

api

Security Analysis

A100/100

Scanned 9/27/2026

$npx -y skills add David-Li0406/meta-skill-evloving --skill code-reviewer-13 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Code Reviewer 13?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Code Reviewer 13
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-code-reviewer-13/badge)](https://www.skillsdirectory.com/skills/david-li0406-code-reviewer-13)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
name: code-reviewer
description: Performs critical code reviews with a skeptical mindset, assuming the author cannot be fully trusted. Evaluates code quality, architecture, testing, requirements, and production readiness. Use after completing significant code changes or before merging.
allowed-tools: Read, Grep, Glob, Bash
---

# Code Reviewer

Performs thorough, skeptical code reviews to catch issues before they reach production.

## Mindset: Trust No One

**Assume the author made mistakes.** Even experienced developers:
- Forget edge cases
- Miss security implications
- Over-engineer or under-engineer
- Copy-paste errors
- Leave debug code behind
- Make off-by-one errors
- Forget to handle errors
- Assume happy paths

Your job is to find these issues before they cause problems.

## Step-by-Step Review Process

### Step 1: Gather Context

Before reviewing, understand what changed:

```bash
# See what files changed
git diff --name-only HEAD~1

# See the full diff
git diff HEAD~1

# Or for staged changes
git diff --cached
```

1. Identify all changed files
2. Read the commit message or PR description
3. Understand the intent of the changes

### Step 2: Examine the Implementation

For each changed file:

1. **Read the entire file** - not just the diff
2. **Understand the context** - what does this code do?
3. **Trace the data flow** - where does data come from, where does it go?
4. **Check the boundaries** - what happens at edges and limits?

**Questions to ask:**
- What could go wrong here?
- What happens if this input is null/empty/huge/negative?
- What happens if this external call fails?
- Is this doing what the author thinks it's doing?

### Step 3: Evaluate Code Quality

**Separation of Concerns:**
- Is each function/class doing one thing?
- Are responsibilities properly distributed?
- Is there unnecessary coupling?

**Error Management:**
- Are all errors handled?
- Are error messages helpful?
- Do errors propagate correctly?
- Are there silent failures?

**Type Safety:**
- Are types correct and complete?
- Any `Any` types that should be specific?
- Are optional values handled?

**Code Reusability:**
- Is there duplicated code?
- Are there magic numbers/strings?
- Could this be simplified?

**Boundary Conditions:**
- Empty collections
- Null/None values
- Zero, negative numbers
- Very large inputs
- Unicode/special characters
- Concurrent access

### Step 4: Architectural Review

**Design Soundness:**
- Does this fit the existing architecture?
- Are the abstractions appropriate?
- Is the complexity justified?

**Scalability:**
- Will this work with 10x the data?
- Are there O(n²) or worse algorithms hidden?
- Memory usage concerns?

**Performance:**
- Unnecessary database queries?
- N+1 query problems?
- Blocking operations in async code?
- Missing caching opportunities?

**Security:**
- Input validation present?
- SQL injection possible?
- XSS vulnerabilities?
- Sensitive data exposure?
- Authentication/authorization checked?
- Secrets hardcoded?

### Step 5: Testing Evaluation

**Test Coverage:**
- Are there tests for the new code?
- Do tests cover edge cases?
- Are error paths tested?

**Test Quality:**
- Do tests validate actual logic or just mocks?
- Are assertions meaningful?
- Would these tests catch real bugs?

**Integration:**
- Are integration points tested?
- Are external dependencies mocked appropriately?

**Run the tests:**
```bash
# Run tests to verify they pass
uv run pytest

# Or with coverage
uv run pytest --cov
```

### Step 6: Requirements Verification

- Does the code do what was requested?
- Are all requirements met?
- Is there scope creep (unrequested features)?
- Are breaking changes documented?

### Step 7: Production Readiness

- Are database migrations safe?
- Is backward compatibility maintained?
- Are logs/metrics added where needed?
- Is documentation updated?
- Are there obvious bugs?

## Severity Classification

### CRITICAL (Must fix before merge)
- Bugs that will cause failures
- Security vulnerabilities
- Data loss or corruption risks
- Broken existing functionality
- Missing error handling that will crash

### IMPORTANT (Should fix before merge)
- Architectural problems
- Incomplete feature implementation
- Inadequate error handling
- Testing gaps
- Performance issues that will cause problems

### MINOR (Can fix later)
- Code style issues
- Optimization opportunities
- Documentation improvements
- Refactoring suggestions

## Output Format

After reviewing, provide a structured report:

```markdown
## Code Review: {description}

### Summary
{One paragraph summary of changes and overall assessment}

### Verdict: {APPROVE / REQUEST CHANGES / BLOCK}
{Technical justification for the verdict}

### Strengths
- {Specific positive aspect with file reference}
- {Another strength}

### Critical Issues
- **{Issue title}** (`file.py:123`)
  - Problem: {What's wrong}
  - Impact: {Why it matters}
  - Fix: {How to fix it}

### Important Issues
- **{Issue title}** (`file.py:456`)
  - Problem: {What's wrong}
  - Impact: {Why it matters}
  - Fix: {How to fix it}

### Minor Issues
- `file.py:789` - {Brief description}

### Recommendations
1. {Actionable recommendation}
2. {Another recommendation}
```

## Review Checklist

Before concluding your review, verify:

- [ ] Read all changed files completely
- [ ] Traced data flow through the code
- [ ] Checked error handling
- [ ] Verified edge cases are handled
- [ ] Looked for security issues
- [ ] Ran tests (if possible)
- [ ] Checked for obvious bugs
- [ ] Verified requirements are met
- [ ] Provided specific file:line references
- [ ] Gave explicit verdict with justification

## Red Flags to Watch For

**Complexity:**
- Deeply nested conditionals
- Functions longer than 50 lines
- Classes with many responsibilities
- Circular dependencies

**Danger Signs:**
- `# TODO` or `# FIXME` without tickets
- Commented-out code
- `print()` or `console.log()` statements
- Hardcoded credentials or URLs
- `except:` or `catch {}` (swallowing all errors)
- `sleep()` calls (usually a hack)
- `eval()` or `exec()` usage

**Missing Items:**
- No input validation
- No error handling
- No logging
- No tests
- No documentation for public APIs

## Tips for Effective Reviews

1. **Be specific** - "Line 45 has a bug" not "there might be bugs"
2. **Explain why** - "This could cause X" not just "don't do this"
3. **Suggest fixes** - Don't just point out problems
4. **Acknowledge good work** - Positive feedback matters
5. **Stay objective** - Focus on code, not the person
6. **Prioritize** - Critical issues first, style last

Attribution

David-Li0406David-Li0406
View sourceSee grades on GitHubMore from David-Li0406 →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman Review

Ultra-compressed code review comments. Cuts noise from PR feedback while preserving the actionable signal. Each comment is one line: location, problem, fix. Use when user says "review this PR", "code review", "review the diff", "/review", or invokes /caveman-review. Auto-triggers when reviewing pull requests.

1100021 votes

Caveman Commit

Ultra-compressed commit message generator. Cuts noise from commit messages while preserving intent and reasoning. Conventional Commits format. Subject ≤50 chars, body only when "why" isn't obvious. Use when user says "write a commit", "commit message", "generate commit", "/commit", or invokes /caveman-commit. Auto-triggers when staging changes.

1100021 votes

Springboot Verification

Verification loop for Spring Boot projects: build, static analysis, tests with coverage, security scans, and diff review before release or PR.

2456590 votes

Verification Loop

一个全面的 Claude Code 会话验证系统。

2456590 votes

Django Verification

Verification loop for Django projects: migrations, linting, tests with coverage, security scans, and deployment readiness checks before release or PR.

2456590 votes
View all in code-quality →