deslop
Remove AI-generated code slop from the current branch. Use when the user says "deslop", "remove slop", or asks to clean up AI-generated code.
Installation
Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.
Voir la source ↗GuidesInstructions
Task
Check the diff against the default branch (use git symbolic-ref refs/remotes/origin/HEAD to detect main/master) and remove all AI-generated slop introduced in this branch.
What to remove
- Extra comments a human wouldn't add or inconsistent with the rest of the file
- Unnecessary defensive checks or try/catch blocks (especially from trusted/validated code paths)
- Fallbacks for scenarios that can't happen or are already guaranteed by upstream code
- Casts to
anyto work around type issues - Any style inconsistent with the surrounding file
Output
Report a 1-3 sentence summary of changes at the end.
Exemples
Consultez les exemples du dépôt source.
Voir la source ↗Historique source
- Date d’indexation
- 2026-03-11
- Mise à jour de l’index
- 2026-03-11
- Branch
- main
Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!