felipebasurto/unslop-ui

Agent skill that cuts AI tells from UI copy, charts and dashboards: eyebrows, numbering, botsplaining, decorative icons, badges and status dots. Opt-in surface rules.

What it solves

AI agents tend to litter interfaces with telltale signs of their generation: eyebrow labels over headings, decorative numbering like 01 //, subtitles that repeat the title, captions that explain the obvious ("click this button"), status dots wired to nothing, and chart titles that say "Line chart of weekly active users". These patterns make UI copy feel artificial and cluttered. unslop-ui finds and removes them, leaving clean, factual text that only says what the code actually shows.

How it works

unslop-ui is an agent skill that you invoke manually (e.g., /unslop-ui in Claude Code or Cursor, $unslop-ui in Codex). It runs a Python script that loads rules about what to remove, scans the target file or folder, and applies edits. It works in two modes: by default it only touches visible text and decoration, never logic, data, colors, or layout. With the optional --surface flag, it also fixes four visual tells: gradients, off-scale spacing, heavy font weights, and excessive motion. It always keeps accessibility elements like aria-label and visible form labels, and anything tied to real state (e.g., a badge that reflects actual data). After each run it produces a report: a table of counts, a list of every string it rewrote, items it deliberately kept, and tasks left for you.

Who it’s for

Developers using AI coding agents (Claude Code, Cursor, Codex) that generate UI code. It's for cleaning up agent-generated interfaces and charts—landing pages, dashboards, charts, forms—so they look professional and human. It requires Python 3.9 or newer and works with common frontend file types: HTML, JSX, TSX, JS, TS, Vue, Svelte, Astro, Markdown, MDX, plus CSS, SCSS, Less for styling, JSON for translation files, and Python for matplotlib/Plotly charts.

Highlights

  • Subtractive: deletes first and writes little; never adds numbers, speeds, or features not shown in the code.
  • Safe by default: without --surface it only edits visible copy and decoration; keeps aria-label, alt, visible form labels, and anything reflecting real state.
  • Reports everything: every run ends with a table of counts, the rewritten strings, what was kept on purpose, and pending tasks.
  • Customizable taste file: add .unslop-ui/taste.md to ban or keep specific patterns per team.
  • CI-ready counter: scripts/count_tells.py can enforce a maximum number of tells in a CI job.
  • Pairs well with other tools: works with pstack for updated writing rules and complements the tufte skill for chart design.

Related

  • Project
  • Project
  • Project
  • Project