LLM Skills
ElevenLabsL'API voix IA la plus réaliste, intégrable en quelques lignesVoir l'APISponsorisé
~/catalogue/debugging et maintenance//code-review.prompt

Examen du code

/code-review.prompt

Examinez le code sélectionné (ou le diff actuel si rien n'est sélectionné) à travers quatre dimensions. Ne signalez que les problèmes pour lesquels vous êtes **confiant** - signalez l'incertitude de m

affaan-maffaan-m
★283.6k
4 juin 2026
MIT
// contenu du skill

agent: agent

description: Comprehensive code quality and security review of the selected code or recent changes


Code Review

Review the selected code (or the current diff if nothing is selected) across four dimensions. Only report issues you are confident about — flag uncertainty explicitly rather than guessing.

Dimensions

1. Security (CRITICAL — block ship if found)

  • Hardcoded secrets, tokens, API keys, passwords
  • Missing input validation or sanitization at system boundaries
  • SQL/NoSQL injection risk (string interpolation in queries)
  • XSS risk (unsanitized HTML output)
  • Auth/authz checks missing or client-side only
  • Sensitive data in logs or error messages exposed to clients
  • Missing rate limiting on public endpoints

2. Code Quality (HIGH)

  • Mutation of existing state instead of creating new objects
  • Functions over 50 lines or files over 800 lines
  • Nesting deeper than 4 levels
  • Duplicated logic that should be extracted
  • Misleading or non-descriptive names

3. Error Handling (HIGH)

  • Silently swallowed errors (catch {}, empty catch blocks)
  • Missing error handling at async boundaries
  • Errors returned but not checked by callers
  • User-facing error messages leaking internal details

4. Test Coverage (MEDIUM)

  • Missing tests for new logic
  • Tests that only test happy paths (missing error/edge cases)
  • Assertions that always pass

Output Format

For each issue found:

**[CRITICAL|HIGH|MEDIUM|LOW]** — [File:Line if known]
Issue: [What is wrong]
Fix: [Concrete suggestion]

End with a summary:

## Summary
- Critical: N
- High: N
- Medium: N
- Approved to ship: yes / no (fix CRITICAL and HIGH first)
// source originale publique
affaan-m/ECC
/.github/prompts/code-review.prompt.md
Licence : MIT
Projet indépendant, non affilié à Anthropic. Ce skill reste la propriété de son auteur original.
// installer ce skill
Collez cette commande dans votre terminal à la racine de votre projet :
mkdir -p .claude/commands && curl -o ".claude/commands/code-review.prompt.md" "https://raw.githubusercontent.com/affaan-m/ECC/main/.github/prompts/code-review.prompt.md"
Ensuite dans Claude Code, tapez /code-review.prompt pour l'activer.
open_in_newVoir la source originale
// sauvegarder
Sauvegarde disponible après connexion.
loginSe connecter pour sauvegarder
// informations
Créateuraffaan-m
Étoiles★ 283.6k
LicenceMIT
Mis à jour4 juin 2026
Format.md
AccèsGratuit
ElevenLabsSponsorisé

L'API voix que vos projets méritent

Text-to-speech, speech-to-text et voix en streaming via une API simple, avec SDK Python et Node. De quoi ajouter l'audio à n'importe quel projet sans friction.

Voir l'API
// similaires

Skills Debugging et maintenance

Voir toutarrow_forward