Back to browse
GitHub Repository

Catch the slop AI coding agents leave in your code: narrative comments, swallowed exceptions, as-any casts, dead code, oversized functions. 50+ rules across 7 languages (TypeScript, JavaScript, Python, Go, Rust, Ruby, PHP). Sub-second, deterministic, no LLM at runtime. MIT-licensed.

356 starsTypeScript

AISlop, a CLI for catching AI generated code smells

by Heavykenny·May 29, 2026·73 points·65 comments

AI Analysis

●●●BangerSolve My ProblemShip ItDark Horse

Catches AI slop patterns like empty catches and narrative comments that tests and lint miss.

Strengths
  • 40+ deterministic rules catch AI-specific patterns: -specific patterns: `as any` casts, hallucinated imports, todo stubs
  • Sub-second scanning across 7 languages with no LLM in the runtime path for consistent results
  • README badge system gamifies code quality with public scores visible on project pages
Weaknesses
  • Emerging category means unclear long-term value as AI agents improve their output quality
  • Auto-fix capabilities limited to mechanical issues; semantic problems still need human review
Target Audience

Developers using AI coding tools like Claude Code, Cursor, or GitHub Copilot

Similar To

ESLint · SonarQube · CodeClimate

Post Description

Hi, I’m Kenny, I’ve been building aislop. I starting working on this after using Claude Code, codex and opencode several times and noticing some slops. They aren’t syntax and passes most tests, they are patterns like empty catch blocks, useless comments, duplicated helpers, dead code and many more. So I built a tool to scan and check for these patterns and wired it into hooks so after each tool call, the agent checks for the slops.

You can try it out with npx aislop scan.

It’s all local and no code is transferred. Thank you.

Similar Projects