Skip to main content
command CX Codex

design-deslop — Claude Code command: what it does, how to install

design-deslop is a Claude Code command that strips machine-generated visual tells from UI. It runs against new branch diffs before frontend changes get merged.

AGPL-3.0 ★ 88 updated 2026-11-17

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/commands/design-deslop.md
Open on GitHub

What design-deslop does

The command targets recognizable artifacts of AI-written markup, including uniform grids, timid color palettes, border-heavy layouts, and flat typography. Inspection happens in two consecutive steps. First, it looks at the rendered screen or widget output to establish a distinct visual hierarchy and set a clear focal point.

The second stage scans the code diff directly. It replaces hardcoded styles with semantic design tokens, restores missing :hover or :active states, snaps arbitrary spacing values to the system scale, and swaps clickable div containers for native accessible elements.

Changes remain confined strictly to modified lines without altering component logic. If a design pattern is already defined in .interface-design/system.md, the command respects it as intentional and leaves it untouched.

What it helps with

  • eliminate repetitive equal-sized card layouts from generated UI
  • add missing focus and interaction states to form controls
  • convert clickable container tags into standard interactive elements
  • align arbitrary margins and paddings with the base layout grid

Example prompts for the agent

  • Run /interface-design:design-deslop on the updated profile card
  • Strip artificial generation artifacts from the recent UI diff

How to install design-deslop

Manually: put the files in place

.claude/commands/design-deslop.md

Call it with /design-deslop. For all projects use ~/.claude/commands/

Questions about design-deslop

How do I install design-deslop in Claude Code?

Place the command definition file at .claude/commands/design-deslop.md.

How does design-deslop differ from design-review?

It provides rapid cleanup of machine-made layout patterns without blocking builds. In-depth design gatekeeping is handled separately by /interface-design:design-review.

What constraints does the command follow?

Modifications touch only the diff lines without touching legacy code. Choices explicitly documented inside .interface-design/system.md are treated as valid decisions and preserved.

Similar slash commands

All slash commands for Design →

From the same set47

The whole set →
design-review design-review is a Claude Code command that reviews a UI build for visual hierarchy and craft. It rates findings by severity and returns a verdict. CX Codex +1 ★ 88repo stars rendering-text-in-text-component rendering-text-in-text-component is a Claude Code rule that enforces wrapping strings in React Native Text elements. It prevents runtime crashes in mobile interfaces. CX Codex +1 ★ 88repo stars list-performance-callbacks list-performance-callbacks is a Claude Code rule for passing event handlers to list items. It applies when callbacks are used inside a list. CX Codex +1 ★ 88repo stars monorepo-native-deps-in-app monorepo-native-deps-in-app is a Claude Code rule that enforces adding native packages directly to the mobile app manifest. It prevents build failures caused by missed autolinking in monorepos. CX Codex +1 ★ 88repo stars react-compiler-reanimated-shared-values react-compiler-reanimated-shared-values is a Claude Code rule for handling Reanimated shared values with React Compiler enabled. It directs code to use .get() and .set() rather than .value. CX Codex +1 ★ 88repo stars react-compiler-destructure-functions react-compiler-destructure-functions is a Claude Code rule that enforces extracting hook functions early in render scope. It targets projects running the React Compiler. CX Codex +1 ★ 88repo stars ui-scrollview-content-inset ui-scrollview-content-inset is a Claude Code rule for changing ScrollView spacing when keyboards, toolbars, or content alter the available space. CX Codex +1 ★ 88repo stars monorepo-single-dependency-versions monorepo-single-dependency-versions is a Claude Code rule that pins identical dependency versions across monorepo packages. It stops bundle bloat and runtime version clashes. CX Codex +1 ★ 88repo stars

Project sponsors

Companies that keep this analytics open