mcpField
C
code-review

code-review

github.com/blockTesting & quality25321 installsUpdated 18w ago
Repository

About code-review

A checklist skill for code reviews, helping developers assess changes across functionality, code quality, testing, security, performance, and documentation.

Key features

  1. 01Check functionality and edge cases
  2. 02Review style and maintainability
  3. 03Assess test coverage and quality
  4. 04Check credentials, inputs, and SQL safety
  5. 05Review performance and documentation

Use cases

  1. 01Review functionality in a pull request
  2. 02Check security risks in code changes
  3. 03Verify tests and documentation updates

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/block/agent-skills --skill code-review

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

Details

From the project README

Code Review Checklist

When reviewing code, check each of these areas:

Functionality

  • Code does what the PR description claims
  • Edge cases are handled
  • Error handling is appropriate

Code Quality

  • Follows project style guide
  • No hardcoded values that should be configurable
  • Functions are focused and well-named

Testing

  • New functionality has tests
  • Tests are meaningful, not just for coverage
  • Existing tests still pass

Security

  • No credentials or secrets in code
  • User input is validated
  • SQL queries are parameterized

Performance

  • No obvious performance issues
  • Database queries are optimized
  • No unnecessary loops or iterations

Documentation

  • Public APIs are documented
  • Complex logic has comments explaining "why"
  • README updated if needed

Comments

Markdown supported