🛡️ Anti-Slop Sentinel (VS Code Extension)
Eliminate AI code slop, placeholder stubs, generic UI clichés, and hallucinated imports before git commit.

Anti-Slop Sentinel is an ultra-fast, local-first code quality gate for developers using AI coding assistants (Cursor, GitHub Copilot, Claude Code, ChatGPT).
⚡ Key Capabilities
- 🚀 Real-Time Diagnostic Squiggles (<50ms): Automatically scans active files on-the-fly without lag or network requests.
- 🛡️ Live Interactive Status Bar: Real-time file cleanliness percentage score (
100% Clean) and 1-click access to Auto-Heal, Workspace Audit, and Pro controls.
- 🧹 9 Instant Zero-Token QuickFixes: 1-click deterministic cleanups for debug residue, generic AI gradients, pill buttons, neon blur orbs, missing
tabular-nums, dead interactive states, syntax narration, AI chat residue, and phantom async.
- 🪄 1-Click AI Auto-Heal with Gemini Agent Booster (BYOK Pro): Deep refactoring with native side-by-side diff preview, dynamic System-2 thinking budgets (
thinkingConfig), and automatic model availability fallback (gemini-4-argon / gemini-4-pro $\rightarrow$ gemini-3.8-flash $\rightarrow$ gemini-2.5-flash, plus Claude, OpenAI, or 100% Offline Ollama).
- 🔒 Git Pre-Commit Gatekeeper (Pro): Automatically blocks
git commit if placeholder stubs or unhandled errors are found in staged files.
- 📊 Executive HTML/Markdown Audit Report (Pro): Generates polished client-facing code quality reports with cleanliness score badges.
- ⚙️ Custom Workspace Config (
.antisloprc.json): Fine-tune rule severities, ignore patterns, and gatekeeper thresholds per repository with instant live cache invalidation.
- 🛡️ 100% Local & Private: Zero code telemetry. Your proprietary codebase never touches our servers.
📋 The 14 Core Anti-Slop Rules
| Rule ID |
Name |
Severity |
What it Detects & Fixes |
SLOP-001 |
Placeholder & Stub Detector |
ERROR |
Flags // TODO, // ...rest of code, and empty stub functions. |
SLOP-002 |
Ghost Import Detector |
ERROR |
Catches hallucinated external npm packages not in package.json. |
SLOP-003 |
Silent Error Suppression |
ERROR |
Eliminates empty catch(e) {} blocks that swallow crashes. |
SLOP-004 |
Type Cowardice & Any Abuse |
WARN |
Detects @ts-ignore, @ts-nocheck, and untyped any escapes. |
SLOP-005 |
Debug Residue Detector |
ERROR |
Removes console.log and debugger statements before production. |
SLOP-006 |
Generic UI Gradient Cliché |
WARN |
Replaces cliché blue-purple AI gradients with solid sovereign UI. |
SLOP-007 |
Pill-Button Addiction |
WARN |
Fixes standard CTA buttons forced into rounded-full capsules. |
SLOP-008 |
Neon Blur Orb Detector |
WARN |
Flags generic blur-3xl opacity-30 AI floating decorative blobs. |
SLOP-009 |
Unformatted Numeral Detector |
WARN |
Enforces tabular-nums on financial figures and metrics. |
SLOP-010 |
Dead Interactive States |
ERROR |
Requires hover: and focus-visible: feedback on all buttons. |
SLOP-011 |
Hallucinated Mock Data Residue |
WARN |
Flags hardcoded John Doe / dummy mock arrays in production files. |
SLOP-012 |
Syntax Narration Clutter |
INFO |
Flags redundant AI comments narrating code mechanics (// increment count). |
SLOP-013 |
Phantom Async Detector |
WARN |
Detects async functions that never call await, saving Promise overhead. |
SLOP-014 |
AI Sycophancy & Chat Residue |
ERROR |
Eliminates conversational artifacts (// As requested..., // Hope this helps). |
🛠️ Development & Debugging
1. Run in Extension Development Host
- Open this repository in VS Code.
- Press
F5 to launch an Extension Development Host window with Anti-Slop Sentinel pre-loaded.
- Open
test-fixtures/sloppy-sample.tsx in the new window to see the squiggles and Status Bar score appear live!
2. Run Test Suite
npm test
3. Type Check & Build
npm run check-types
npm run build
💎 Get Anti-Slop Sentinel Pro ($29 Lifetime Deal)
| |