code-review
Review code for quality, bugs, security, and improvements. Use when self-reviewing before commit, reviewing PRs, or debugging issues.
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
Systematically review code for quality, bugs, and security.
Checklist
| Priority | Check |
|---|---|
| 🔴 Critical | Security (no secrets, injection) |
| 🔴 Critical | Correctness (logic, edge cases) |
| 🟡 Important | Performance (N+1, loops) |
| 🟡 Important | Error handling |
| 🟢 Nice-to-have | Readability, DRY, style |
Process
- Context - Read requirement/design
- High-level - Architecture check
- Line-by-line - Detailed inspection
- Tests - Check coverage
- Document - Summarize findings
Output Format
## Code Review: [Name]
### Summary
[Approved / Changes Requested]
### Issues
- 🔴 [file:line] Problem → Suggestion
- 🟡 [file:line] Problem → Suggestion
### Good Patterns 👍
- [What was done well]
Common Issues
# 🔴 Security
password = "hardcoded" # Bad
password = os.environ["PASS"] # Good
# 🔴 SQL Injection
f"SELECT * WHERE id={id}" # Bad
"SELECT * WHERE id=%s", (id,) # Good
Tips
- Be constructive
- Explain the "why"
- Acknowledge good patterns
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-02-02
- 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!