Notre avis
Nettoie le code en supprimant les artefacts générés par l'IA, comme les commentaires superflus, les vérifications défensives excessives et les blocs try/catch inutiles.
Points forts
- Élimine les commentaires redondants sans affecter les commentaires utiles
- Supprime les casts `any` et les motifs sur-ingéniérés
- Préserve les corrections de bugs et les fonctionnalités intentionnelles
Limites
- Peut supprimer des commentaires jugés importants par d'autres développeurs
- Ne remplace pas une revue manuelle approfondie
- Se base uniquement sur le diff avec la branche principale
Utilisez cette compétence après avoir généré du code avec une IA pour le rendre plus naturel et conforme au style du projet.
Évitez de l'utiliser sur du code écrit manuellement ou lors de la révision de code produit par des humains.
Analyse de sécurité
SûrThe skill uses standard development tools (Bash, Read, Edit, Grep) to analyze and edit code within a local repository. It does not instruct any destructive actions, data exfiltration, or execution of external payloads. The operations are confined to code cleanup, posing no meaningful security risk.
Aucun point d'attention détecté
Exemples
Remove AI slop from my current branchDeslop the changes in this PRRemove unnecessary try/catch blocks and redundant null checks from the new codename: deslop description: Use when removing AI-generated slop, cleaning up verbose code, or removing unnecessary defensive checks. Triggers on "remove slop", "clean up AI code", "deslop". allowed-tools:
- Bash
- Read
- Edit
- Grep
Remove AI Code Slop
Check the diff against main and remove all AI-generated slop introduced in this branch.
Usage
/deslop
What It Removes
- Extra comments that a human wouldn't add or are inconsistent with the rest of the file
- Extra defensive checks or try/catch blocks that are abnormal for that area of the codebase (especially if called by trusted/validated codepaths)
- Casts to
anyto get around type issues - Over-engineered patterns that don't match the file's existing style
- Unnecessary type annotations on obvious types
- Verbose error handling where simpler patterns exist
- Redundant null checks in already-validated paths
- Excessive logging beyond what's normal for the codebase
What It Preserves
- Actual bug fixes and intended functionality
- Comments that provide genuine value
- Defensive code at trust boundaries (user input, external APIs)
- Type annotations that improve clarity
Process
- Gets diff between current branch and main
- Reviews each changed file for AI slop patterns
- Removes slop while preserving intended changes
- Reports a 1-3 sentence summary of what was changed
Output
A brief summary like:
"Removed 3 unnecessary try/catch blocks in
query.py, deleted 5 redundant comments inhandler.ts, and removed 2anycasts that were hiding type issues."
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.