mcpField
C
code-review

code-review

github.com/w95Testing & quality28536 installsUpdated 35w ago
Repository

About code-review

A structured code-review skill for developers assessing diffs, pull requests, files, or pasted snippets. It examines security, performance, correctness, and maintainability, with prioritized findings and positive observations.

Key features

  1. 01Reviews security, performance, correctness, and maintainability
  2. 02Handles diffs, pull requests, files, and snippets
  3. 03Provides ratings and actionable findings
  4. 04Includes file and line references
  5. 05Prioritizes critical issues and notes strengths

Use cases

  1. 01Reviewing a pull request before merging
  2. 02Checking a code snippet for security flaws
  3. 03Finding performance or correctness issues
  4. 04Assessing maintainability in existing files

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/w95/awesome-claude-corporate-skills --skill code-review

After installing, type/code-reviewin Claude Code to confirm it loaded.

Details

From the project README

Code Review

Structured code review covering security, performance, correctness, and maintainability. Works on diffs, PRs, files, or pasted code snippets.

Review Dimensions

Security
  • SQL injection, XSS, CSRF
  • Authentication and authorization flaws
  • Secrets or credentials in code
  • Insecure deserialization
  • Path traversal
  • SSRF
Performance
  • N+1 queries
  • Unnecessary memory allocations
  • Algorithmic complexity (O(n²) in hot paths)
  • Missing database indexes
  • Unbounded queries or loops
  • Resource leaks
Correctness
  • Edge cases (empty input, null, overflow)
  • Race conditions and concurrency issues
  • Error handling and propagation
  • Off-by-one errors
  • Type safety
Maintainability
  • Naming clarity
  • Single responsibility
  • Duplication
  • Test coverage
  • Documentation for non-obvious logic

Output Format

Rate each dimension and provide specific, actionable findings with file and line references. Prioritize critical issues first. Always include positive observations alongside issues.

Comments

Markdown supported