code-review

📁 block/agent-skills 📅 14 days ago
39
总安装量
20
周安装量
#9704
全站排名
安装命令
npx skills add https://github.com/block/agent-skills --skill code-review

Agent 安装分布

opencode 15
gemini-cli 14
codex 14
github-copilot 13
claude-code 12
goose 10

Skill 文档

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