code-review
Comprehensive code review checklist. Use when asked to review code, PRs, pull requests, or before committing changes.
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
Code Review Skill
Key Focus Areas
Code Quality
- DRY (Don't Repeat Yourself): Extract duplicated code.
-
Error Handling: Ensure proper error wrapping, propagation, and logging.
- Go: Do not log and bubble up (avoids duplicate logs).
-
Resource Cleanup: Use
defer(Go) or RAII patterns (C++). - Clear Naming: meaningful names for functions and variables.
- Simplicity: Prioritize simple solutions over complex ones.
- Organization: Keep files concise (200-300 lines).
Language-Specific Checks
- Go: Goroutine safety, error handling, interface usage.
- Python: PEP 8, type hints.
- C++: RAII, const correctness.
- Protobuf: Backward compatibility.
Best Practices
- Be constructive and specific.
- Focus on significant issues, not nitpicks.
- Acknowledge good practices.
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-01-26
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!