Skip to main content

Agent harness and CLI to eliminate AI slop from frontend code

Project description

🧼 UIdetox

The anti-slop engine for AI-generated frontends.

UIdetox is an agent harness that eliminates the "AI smell" from your UI. It transforms generic, LLM-generated code into hand-crafted, high-fidelity interfaces through a systematic scan → fix loop that enforces design taste and detects common AI anti-patterns.

InstallationThe LoopCommandsDesign Dials


✨ From "Vibe Coding" to "Vibe Design"

AI coding tools are great at building things fast, but the results often scream "AI made this"—Inter font, purple gradients, glassmorphism, and generic hero dashboards.

UIdetox gives your agent a "Design Score" to optimize. It’s not a linter; it’s a standard. By knowing what not to do, your agent can finally produce code that makes people ask "Who made this?"—not "Which AI made this?"


🤖 The Agent Prompt

Paste this into your AI coding agent (Claude, Cursor, Windsurf, etc.) to begin:

I want you to eliminate "AI slop" from this codebase. Your goal is to reach a Design Score of 95+.

  1. Setup: Run pip install uidetox && uidetox update-skill [your_agent_name] && uidetox setup --auto-commit.
  2. Audit: Run uidetox scan . to generate the initial issue queue.
  3. The Loop: Run uidetox next. This batches issues for a single file. Fix them holistically using the provided SKILL.md rules.
  4. Resolve: After fixing, run uidetox resolve <ID> --note "Description of design changes".
  5. Repeat: Continue running next until the queue is empty, then uidetox rescan to verify.

Don't be lazy. Replace entire components if they reek of AI slop. Use uidetox polish or uidetox animate for targeted passes.


🚀 Installation

pip install uidetox

# Install the design rules for your specific environment:
uidetox update-skill claude    # (Also supports: cursor, gemini, windsurf, copilot)
uidetox setup --auto-commit    # Initializes design dials & git integration

🛠 Commands

The Engine (CLI)

Command Action
uidetox scan Full audit: auto-detects tooling and runs the static slop analyzer.
uidetox next Batches the highest-priority issues with design context injection.
uidetox status View your Design Score and pending issue count.
uidetox loop Enter autonomous mode (runs until score target is hit).
uidetox rescan Clears queue and re-audits with 18+ fresh anti-slop rules.

Design Skills (Slash Commands)

Use these for targeted improvements on specific files or directories:

  • uidetox polish – Final quality and alignment pass.
  • uidetox animate – Adds purposeful motion (spring physics, scroll reveals).
  • uidetox audit – Technical checks for accessibility and performance.
  • uidetox harden – Edge cases, error handling, and i18n.

🎛 Design Dials

Control the "aesthetic DNA" of the output by adjusting these values in uidetox setup:

  • DESIGN_VARIANCE (1-10): From clean/centered (1) to asymmetric/massive whitespace (10).
  • MOTION_INTENSITY (1-10): From CSS-only (1) to complex spring physics and reveals (10).
  • VISUAL_DENSITY (1-10): From spacious "art gallery" (1) to "cockpit mode" data density (10).

🚫 The Slop Checklist

UIdetox actively hunts and destroys:

  • Overused Inter font stacks.
  • Generic Purple-Blue gradients.
  • Identical Card Grids with no hierarchy.
  • Meaningless Glassmorphism.
  • Default Lucide/Radix patterns with zero customization.
  • "Generic Startup" copywriting.

📜 Credits & License

Built on the shoulders of desloppify and impeccable

MIT © OJamals

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

uidetox-1.0.1.tar.gz (214.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

uidetox-1.0.1-py3-none-any.whl (165.3 kB view details)

Uploaded Python 3

File details

Details for the file uidetox-1.0.1.tar.gz.

File metadata

  • Download URL: uidetox-1.0.1.tar.gz
  • Upload date:
  • Size: 214.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.13

File hashes

Hashes for uidetox-1.0.1.tar.gz
Algorithm Hash digest
SHA256 396f69e8d3ac67f4515eb5d660080a16028b289f292fdc5d92196b54093a9d0e
MD5 eab9f3ad6962a1b2b6abc8a2365efd16
BLAKE2b-256 c7de47afa05358bfee34630448f7e3a2c6a0007c80e6e9435ccedd8f349468bc

See more details on using hashes here.

File details

Details for the file uidetox-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: uidetox-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 165.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.13

File hashes

Hashes for uidetox-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a38453de6dd065dde0069ca39f8bde0bcedb637489fc4c919c5e7a8e30973320
MD5 66a746cb4ad7bb2721c381953b962674
BLAKE2b-256 92fd1da0e0ba57a8d3ea181ea2ba3358fb259a0d6a9e7bfbfbad59f9883caba6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page