whereismyai
Anti Slop
Anti Slop: Opinionated Oxlint ruleset rejecting low-evidence TypeScript and JavaScript patterns.
Anti-slop provides opinionated Oxlint rules designed to reject low-evidence and low-signal TypeScript and JavaScript patterns. The project is intended to be vendored directly into a repository rather than used as a fixed npm package. An agent skill handles the initial copy, configuration, and dependency installation, while also supporting updates that preserve local customizations. It includes generic rules for catching issues like array filter-map passes, type assertions, and runtime typeof checks. It also features optional Effect-specific rules for projects using the Effect library. The rules rely on Oxlint's ESTree and lexical-scope APIs rather than a full TypeScript type checker.
Anti Slop at a glance
Key features
- Rejects adjacent eager array filter and map passes
- Disallows non-spread accumulator copies inside reducers
- Blocks nested as and angle-bracket type assertions
- Requires safety comments for non-const assertions
- Enforces tagged error handlers in Effect code
- Rejects manual tag comparisons and switches
- Inspected via Oxlint ESTree and lexical-scope APIs
Use it for
- Enforcing strict TypeScript and JavaScript lint rules
- Replacing low-evidence patterns with safer alternatives
- Managing optional Effect-specific architecture policies
- Vendoring and maintaining custom lint rules per team
Alternatives to Anti Slop
- Deslop — Rejects low-evidence and low-signal code patterns generated by AI tools.
- jevgrep — Reduces coding agent costs by providing targeted, relevant repository context.
- pstack — Improves AI coding agent outcomes with rigorous workflows.
- AI Slop Detector — Avoid AI writing patterns in drafts or train an AI assistant.
- Project STROT — Runs locally at zero marginal cost with typed JSON outputs and confidence-based abstention.
- Stof — Runs AI-generated logic safely in a sandbox inside the app.
- Ponytail — Cuts unneeded code and dependencies by enforcing a minimal-code ladder.
- oMLX — It uses paged SSD KV caching to reduce agent TTFT to under 5 seconds.
- AI Slop Detection Reproduction — Reruns detector comparisons and sentiment classifier evaluations locally.
- Gdp TS — Catches authorization and entitlement bugs at compile time with zero runtime overhead.
- SlopGuesser.dev — Test your ability to distinguish between human-written and AI-generated code snippets daily.
- Anti Samcheonpo — Catches redundant AI tasks and blocks wasted agent spending.
All Anti Slop alternatives