{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "miqdadbadjuber-anti-slop--audit-existing-code-comments-for-ai-slop",
 "repo": "miqdadbadjuber/anti-slop",
 "repo_url": "https://github.com/miqdadbadjuber/anti-slop",
 "repo_slug": "miqdadbadjuber-anti-slop",
 "title": "Audit existing code and remove AI-slop comments",
 "page_title": "How to audit existing code and remove AI-slop comments with Anti Slop",
 "summary": "Run antislop in After mode to get a numbered list of comment fixes you approve.",
 "who": "A developer who inherited a codebase full of comments written by an AI agent and wants to remove the noise.",
 "problem": "Agent-written code often carries comments that restate the code, add filler, or narrate obvious steps.",
 "outcome": "A numbered findings list of comments to remove or keep, the fixes you approve, and a follow-up Delivery Gate report.",
 "steps": [
  "Run `npx antislop-ai --mode after` to save After mode as the preference for audits. (inferred, check the README)",
  "Run `npx antislop-ai` and select the antislop-code skill if it is not installed yet.",
  "Start a new agent session in the project folder.",
  "Ask the agent to audit the comments and give you the numbered findings list.",
  "Approve the fixes you want, then read the follow-up report."
 ],
 "agent_prompt": "Using the antislop-code rules from the anti-slop repo (https://github.com/miqdadbadjuber/anti-slop), audit the comments in <project-folder>. Return a numbered findings list, then wait for approval before editing. Verify that no approved fix changes code behavior, only comments.",
 "agents": [
  "claude-code",
  "codex",
  "cursor",
  "gemini-cli"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "The skill covers comments only, so it does not review logic, and the README does not describe how it handles every language.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "javascript",
 "requirements": [
  "An AI coding agent that antislop supports, such as Claude Code, Codex, Cursor, or Gemini CLI",
  "A terminal to run the installer command (npx antislop-ai)",
  "A project folder for the agent to work in",
  "Optional: a DESIGN.md file that gives the visual direction, since antislop filters and does not supply direction"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/miqdadbadjuber-anti-slop/audit-existing-code-comments-for-ai-slop/",
 "md": "https://dedupedai.com/use-cases/miqdadbadjuber-anti-slop/audit-existing-code-comments-for-ai-slop/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/miqdadbadjuber-anti-slop--audit-existing-code-comments-for-ai-slop.json",
 "api_version": "v1"
}
