Overview Version History Q & A Rating & Review
🛡️ 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.
🧹 Instant Zero-Token QuickFixes: 1-click deterministic cleanups for debug residue, pill buttons, missing tabular-nums, and type escapes.
🪄 1-Click AI Auto-Heal (BYOK Pro): Deep refactoring with side-by-side diff preview using your own API keys (Google Gemini Free Tier, Claude, OpenAI, or 100% Offline with 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 rings.
⚙️ Custom Workspace Config (.antisloprc.json): Fine-tune rule severities, ignore patterns, and gatekeeper thresholds per repository.
🛡️ 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 appear live!
2. Run Test Suite
npm test
3. Type Check & Build
npm run check-types
npm run build
💎 Monetization & License Keys (Gumroad $29 LTD)
Create a product on Gumroad titled "Anti-Slop Sentinel Pro (Lifetime Deal)" priced at $29 USD with permalink anti-slop-pro.
Enable "Generate a unique license key per sale" in product settings.
Users activate in VS Code via: Cmd+Shift+P -> Anti-Slop: Activate Pro Lifetime License.
See full step-by-step instructions in GUMROAD_SETUP.md .