code-review
Comprehensive code review checklist. Use when asked to review code, PRs, pull requests, or before committing changes.
Installation
Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.
Voir la source ↗GuidesInstructions
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.
Exemples
Consultez les exemples du dépôt source.
Voir la source ↗Historique source
- Date d’indexation
- 2026-01-20
- Mise à jour de l’index
- 2026-01-26
- Branch
- main
Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!