code-review
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
More from block/agent-skills
frontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
171api-setup
Set up API integration with configuration and helper scripts
69testing-strategy
Guidelines for writing effective tests in this project
68beads
Use beads (bd) for persistent task tracking in coding projects. A git-backed issue tracker designed for AI agents with dependency graphs, hierarchical tasks, and multi-agent coordination.
62rp-why
Gas Town × DOK Framework - A two-dimensional model for analyzing AI collaboration maturity and cognitive complexity to reveal growth opportunities.
45goose-blog-post
Write and publish blog posts for the block/goose open source project
27