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
.claude/commands/design-deslop.mdWhat 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.mdCall it with /design-deslop. For all projects use ~/.claude/commands/
Manually: put the files in place
~/.codex/prompts/design-deslop.mdCall it with /prompts:design-deslop. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/design-deslop.prompt.mdManually: put the files in place
.gemini/commands/design-deslop.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
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.