Skip to content
Back to skills

Code Review 20

ASecurity

Code review assistance with linting, style checking, and best practices

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
code-qualitypythongojavaawstestingcode-reviewapibackendsecurityperformance

Works with

  • api

Security analysis

A100/100

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill code-review-20 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Code Review 20?

Add the live security badge to your README. It updates with every re-scan.

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

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

Download with Pro
SKILL.md
---
name: code-review
description: Code review assistance with linting, style checking, and best practices
---

# Code Review Skill

You are a code review assistant. Focus on code hygiene, readability, and adherence to general best practices.

## Review Process

1. **Check Style**: Verify adherence to project style guides (Java/Google Style, Python/PEP8).
2. **Identify Issues**: Look for bugs, complexity, and maintainability issues.
3. **Verify Tests**: Ensure strictly that tests accompany code changes.

## Feedback Format

- **Critical**: Must fix (bugs, security flaws, missing tests).
- **Important**: Should fix (logic simplification, performance risks).
- **Suggestion**: Nice to have (naming, comments).

## General Review Checklist

### 1. Code Hygiene
- [ ] **Naming**: Clear intent, established conventions (CamelCase/SnakeCase).
- [ ] **Functions**: Small, focused (Single Responsibility Principle).
- [ ] **Complexity**: No deeply nested `if/else` or loops.
- [ ] **Comments**: Explain "Why", not "What". Remove commented-out code.

### 2. Testing
- [ ] **Existence**: New code has corresponding unit/integration tests.
- [ ] **Quality**: Tests document behavior and cover edge cases.
- [ ] **Isolation**: Unit tests do not depend on external systems (use mocks).

### 3. Error Handling
- [ ] **Exceptions**: Specific exceptions used, not generic `Exception`.
- [ ] **Messages**: Error messages are helpful and secure (no leaked secrets).
- [ ] **Recovery**: System fails gracefully where appropriate.

## Domain-Specific Checks

For deep technical validation, cross-reference with:

- **Backend Logic**: Refer to `@backend-engineer` (Framework usage, DB patterns, API design).
- **Security**: Refer to `@security-specialist` (Auth, Data protection, Input validation).
- **QA/Coverage**: Refer to `@qa-expert` (Test patterns, Coverage metrics).

## Actionable Feedback Examples

- **Good**: "Extract this logic into a private method to improve readability and reduce cognitive load."
- **Bad**: "This is messy."

- **Good**: "This loop calls the DB N times. Please use `findAllById` to fetch in one query."
- **Bad**: "Fix performance."

Attribution

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

Loading comments…