Remove AI-generated code slop
Clean up AI-generated code slop before submitting code to ensure consistency with the project style.
中文Install in Codex
Codex
- Review `.agents/skills/deslop/SKILL.md` and its requirements at the pinned GitHub commit.
- Save the reviewed file as `.agents/skills/deslop/SKILL.md` in your own project.
- Start Codex from that project's root, then type `$deslop` and select the matching skill.
Example task
Input:
+// This is an AI-generated useless comment
+if (x === 1) {
+ console.log('x is 1');
+}Output:
+if (x === 1) {
+ console.log('x is 1');
+}What to check
AI-generated useless comments are removed from the code diff, keeping the original logic.
Original SKILL.md on GitHub · Updated
Frequently asked question
How to identify AI-generated code slop?
By checking code style, structure, and context consistency to identify AI-generated code slop.