Catch AI slop before it ships.
not implemented code paths AI agents leave behindTODO / FIXME / placeholder comments in shipped codeMath.random() metrics, mockData in non-test filescatch {} blocksYOUR_API_KEY, example.com$ slopgate scan examples/slop-sample.js examples/slop-sample.js 22:20 high not-implemented Stub — this code path is explicitly not implemented. 28:5 medium empty-catch Empty catch block silently swallows errors. 12:21 medium fake-randomness Math.random() — confirm this is not fake data. Summary: 11 finding(s) — 1 high, 8 medium, 2 low ✗ FAIL — slop found at or above threshold (medium)
Adopting on an existing repo? --diff flags slop only on the lines a change touches, so pre-existing debt doesn't block you.
# .github/workflows/slop.yml
- uses: ceocxx/slopgate@v0.3.0
with:
fail-on: medium