benvinegar

Detect AI code slop patterns in your repo

18
2
100% credibility
Found Apr 09, 2026 at 18 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
TypeScript
AI Summary

A command-line tool for scanning JavaScript and TypeScript repositories to detect and quantify patterns associated with low-quality or AI-generated code.

How It Works

1
🔍 Discover slop-scan

You hear about a handy tool that spots messy patterns in your JavaScript or TypeScript code, like signs of rushed or generated work.

2
📦 Add it to your project

You easily bring the tool into your codebase with a simple setup, no hassle.

3
🚀 Run your first scan

You tell it to check your project folder, and it quickly looks over all your files.

4
📊 See the big picture

It gives you a clear report with scores, like slop per file or per thousand lines, showing how tidy your code is.

5
🎯 Spot the trouble areas

The results highlight the noisiest files and folders, with explanations of what looks off and why.

6
🔧 Clean up what matters

You use the insights to fix duplicates, bad error handling, or extra wrappers, making your code sharper.

Enjoy cleaner code

Your project now scores better, feels more solid, and you're confident it's high-quality human work.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 18 to 18 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is slop-scan?

Slop-scan is a TypeScript CLI that scans JavaScript and TypeScript repos to detect code generated by AI patterns like empty catches, error-swallowing logs, duplicate function signatures, and barrel exports. It outputs hotspots by file or directory, normalized slop scores per file, KLOC, or function, plus JSON, lint, or text formats for CI or scripting. Run `slop-scan scan . --lint` in GitHub Actions to flag slop before merges, or `--json` to compare repos fairly.

Why is it gaining traction?

Pinned benchmarks pit AI repos against mature OSS, showing 3.48x higher blended slop scores—devs dig the explainable evidence (rule ID + proof) over black-box detectors. Normalized metrics enable apples-to-apples comparisons, while config files and plugins let you tweak rules or add custom slop scans. GitHub CI integration and lint-style output make it dead simple to detect code ai slop in PRs without setup hassle.

Who should use this?

JS/TS leads auditing vendor code for unreviewed AI boilerplate, teams enforcing clean PRs via GitHub detect changes workflows, or OSS maintainers benchmarking forks against slop baselines. Perfect for backend devs spotting defensive try-catches or frontend folks fighting wrapper fragmentation in component libs.

Verdict

At 18 stars and 1.0% credibility, slop-scan feels pre-1.0 but punches above with thorough docs, stable self-scans, and benchmark repro. Grab it for JS/TS slop detection today—mature enough to trust metrics, raw enough to contribute heuristics.

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.