slop-detector

Detect structural-risk defects in AI-assisted code using the AI-SLOP Detector CLI.

75|7|Updated Jan 8, 2026
One-click install
npx skills add https://github.com/flamehaven01/AI-SLOP-Detector --skill slop-detector-flamehaven01
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: slop-detector
Source: https://github.com/flamehaven01/AI-SLOP-Detector/tree/main/claude-skills/slop-detector
Command: npx skills add https://github.com/flamehaven01/AI-SLOP-Detector --skill slop-detector-flamehaven01

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It detects structural risk patterns in AI-assisted code—such as unimplemented stubs, phantom imports, disconnected pipelines, and inflated documentation—so you can prevent misleading or empty logic from making it into production.

Core Features & Use Cases

  • Evidence-based static scanning: Runs the ai-slop-detector CLI and uses 4D scoring (LDR + ICR + DDC + Purity) to quantify logic density, inflation, dependency coupling, and critical-pattern severity.
  • Actionable triage and deep-dive: Produces a session baseline and routes investigation by confidence status to decide when to analyze deeply vs. quickly verify.
  • Quality-gate workflow: Supports a hard CI gate for PASS/FAIL decisions and a before/after delta check to confirm improvements after patches.
  • Use Cases: Use it for code quality reviews of generated code, import/structure validation across Python/JS/Go, and enforcing merge-time quality gates to reduce structural failure modes.

Quick Start

Run the full project scan on the current directory with JSON output to surface the highest-risk files for immediate review.

Frequently Asked Questions about slop-detector

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect unimplemented stubs and phantom imports in AI-assisted code?

To detect unimplemented stubs and phantom imports, you run a static scan using the AI-SLOP Detector CLI. It analyzes project files to identify structural-risk defects and misleading logic before code reaches production.

How does 4D scoring evaluate code quality and structural risk?

4D scoring evaluates structural risk by quantifying logic density, inflation, dependency coupling, and critical-pattern severity across analyzed files. It uses the metrics LDR, ICR, DDC, and Purity to produce actionable evidence for prioritized fixes.

Can I use this static analysis tool to enforce a hard quality gate in CI for Python and JS?

Yes, you can enforce a hard CI gate for Python, JS, and Go repositories. The analyzer routes results by confidence thresholds to make automated PASS or FAIL merge decisions based on detected structural failure modes.

What is the best way to verify code quality improvements after patching AI-generated code?

The best way to verify improvements is by running a before and after delta comparison. This workflow analyzes the scan output differences to confirm that structural risk patterns and dependency coupling have actually decreased.

Does the AI-SLOP Detector support single-file diagnostics for deep investigation?

Yes, the AI-SLOP Detector supports single-file diagnostics alongside full-project scans. It produces a session baseline and routes investigation by confidence status to decide when to analyze deeply or quickly verify.

When should I avoid relying solely on automated code review for structural validation?

You should reconsider relying solely on automated review when dealing with complex disconnected pipelines requiring contextual logic validation. While it detects structural risk, adversarial validation workflows are recommended for critical pipelines.