Debugging et maintenancesource GitHub
Revue du diff git
/pr-reviewExaminer le diff git actuel pour détecter les problèmes potentiels. Concentrez-vous sur les retours d'information exploitables.
// contenu du skill
PR Review
Review the current git diff for potential issues. Focus on actionable feedback.
Review Checklist
Security
- [ ] No hardcoded secrets, API keys, or credentials
- [ ] Input validation on user-supplied data
- [ ] SQL injection, XSS, command injection risks
- [ ] Authentication/authorization properly enforced
Performance
- [ ] No N+1 queries introduced
- [ ] Appropriate caching where beneficial
- [ ] No blocking operations in hot paths
- [ ] Resource cleanup (connections, file handles)
Code Quality
- [ ] Clear naming and intent
- [ ] Error handling covers failure cases
- [ ] No dead code or unused imports
- [ ] Consistent with existing patterns
Testing
- [ ] New code has test coverage
- [ ] Edge cases covered
- [ ] Tests are deterministic (no flaky tests)
Documentation
- [ ] Public APIs documented
- [ ] Non-obvious logic explained
- [ ] Breaking changes noted
Output Format
For each issue found, provide:
- Location: file:line
- Severity: Critical / Warning / Suggestion
- Issue: What's wrong
- Fix: How to address it
$ARGUMENTS
// source originale publique
strataga/claude-setup/commands/pr-review.md
Licence : Licence non indiquée. Consultez le dépôt avant toute réutilisation.
Projet indépendant, non affilié à Anthropic. Ce skill reste la propriété de son auteur original.