Notre avis
Exécute cinq agents de revue en parallèle (qualité du code, simplification, cohérence, robustesse, périmètre) sur un diff Git pour valider les modifications avant merge.
Points forts
- Analyse complète sous plusieurs angles simultanément
- Réduction des bugs et du code mort grâce à des vérifications ciblées
- Retour structuré en JSON facilitant l'automatisation
Limites
- Dépend de la branche main comme référence
- Peut être gourmand en tokens sur de gros diffs
- Nécessite que les agents interprètent correctement le contexte
Utilisez cette compétence avant de merger une branche de fonctionnalité pour garantir que le code respecte les standards de qualité.
Évitez de l'utiliser pour des correctifs urgents ou des modifications triviales où le temps prime sur la revue approfondie.
Analyse de sécurité
SûrThe skill only runs 'git diff' and 'git diff --name-only' to gather context, and spawns review agents via Task. There are no destructive commands, no exfiltration risks, and no execution of untrusted payloads. The agents produce static analysis output only.
Aucun point d'attention détecté
Exemples
Run /qc on the current diff against main to validate my changes.Execute QC gate with task: 'Add user authentication flow' using diff against main.name: qc description: Quality gate. 5 parallel agents review changes. All must pass. allowed-tools: Task, Bash, Read, Grep, Glob
QC Gate
Setup
DIFF=$(git diff main)
FILES=$(git diff main --name-only)
TASK="{task description or 'general changes'}"
Read 1-2 unmodified files from same directories for pattern context.
Agents
Spawn all 5 in parallel. All output raw JSON only, no markdown.
1: Code Review (sonnet)
DIFF: ${DIFF}
- Descriptive naming?
- Errors caught with useful messages?
- No hardcoded values, commented code, debug statements?
- No TODO without ticket ref?
- No obvious bugs?
- No useless comments?
{"pass": bool, "issues": [...]}
2: Simplification (sonnet)
DIFF: ${DIFF}
- Is this overcomplicated? Can I solve the same problem in a simpler manner?
- Can I reduce indirection?
- Can I reduce surface area?
- Premature abstraction? Premature Optimization? YAGNI violations?
- Dead code?
- Three similar lines > one abstraction
{"pass": bool, "issues": [...]}
3: Consistency (sonnet)
DIFF: ${DIFF}
PATTERNS: ${PATTERN_FILES}
- Matches existing codebase patterns?
- Proper types, no any, no unsafe casts?
- Idiomatic error handling?
- Changes internally consistent?
- Is logic isolated and composable?
- Are there existing tests if neccesary?
{"pass": bool, "issues": [...]}
4: Robustness (sonnet)
TASK: ${TASK}
DIFF: ${DIFF}
- Actually solves the problem?
- Edge cases: empty, null, zero, negative, boundaries, concurrency?
- Regression risk: changed signatures, shared state, removed exports?
- Maintains API contracts?
{"pass": bool, "issues": [...]}
5: Scope (haiku)
TASK: ${TASK}
FILES: ${FILES}
DIFF: ${DIFF}
- Solved the problem or just the symptom?
- Changes unrelated to task?
- Unnecessary refactoring?
{"pass": bool, "issues": [...]}
Results
| Check | Verdict | Issues | |-------|---------|--------| | Code Review | ✓/✗ | ... | | Simplification | ✓/✗ | ... | | Consistency | ✓/✗ | ... | | Robustness | ✓/✗ | ... | | Scope | ✓/✗ | ... |
ALL PASS: Ready to commit.
ANY FAIL: List issues, fix them, run /qc again.
Same issue 3x: Escalate to user.
Notes
- Invalid JSON? Retry once. Still broken? Mark fail.
- Large diffs (>500 lines): run simplification file-by-file.
Expert Next.js App Router
Developpement
Un skill qui transforme Claude en expert Next.js App Router.
Générateur de README
Developpement
Crée des README.md professionnels et complets pour vos projets.
Rédacteur de Documentation API
Developpement
Génère de la documentation API complète au format OpenAPI/Swagger.