Retour à la bibliothèque

Sentry Deslop

developmentSkill187 déploiements
Commande d'installation AntiGravity
$npx @aift/antigravity@latest pull sentry-deslop
À propos de cette ressource

Retirez les éléments superflus générés par l'IA d'une branche. Utilisez ce skill lors du nettoyage de code généré par l'IA, en éliminant les commentaires inutiles, les vérifications défensives ou les conversions de type. Vérifie les différences par rapport à la branche principale et corrige les incohérences de style.

Instructions source (SKILL.md / XML)
---
name: deslop
description: Remove AI-generated code slop from a branch. Use when cleaning up AI-generated code, removing unnecessary comments, defensive checks, or type casts. Checks diff against main and fixes style inconsistencies.
---

# Remove AI Code Slop

Check the diff against main and remove all AI-generated slop introduced in this branch.

## What to Remove

- 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 `any` to get around type issues
- Inline imports in Python (move to top of file with other imports)
- Any other style that is inconsistent with the file

## Process

1. Get the diff against main: `git diff main...HEAD`
2. Review each changed file for slop patterns
3. Remove identified slop while preserving legitimate changes
4. Report a 1-3 sentence summary of what was changed
🎁 1ère journée offerte (990 €) aux profils qualifiés

Déployer ce skill dans votre entreprise sans coder ?

Votre Directeur IA externalisé installe ces agents, connecte vos outils et forme vos équipes sur vos vrais cas métier (dès 990 € HT/mois).

Réserver mon audit offert (45 min) →