Skill library

Agent skill Review & testing

Frontend Design Deslop

Identify recurring AI-generated interface patterns and suggest deliberate changes to typography, layout, and color.

  • UI review
  • Typography
  • Design systems

Install the skill

Installation method

Run the command from your project root with Node.js and npm.

npx skills@latest add samber/cc-skills --skill frontend-design-deslop --agent claude-code --yes

Check this file in your project.claude/skills/frontend-design-deslop/SKILL.md

Other ways to install
  • Choose an assistant interactively

    npx skills@latest add samber/cc-skills --skill frontend-design-deslop

    Select your assistant and choose the project installation scope.

    Official instructions

The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. Bring the existing route, project styles and components, intended audience, and the user’s primary task. Have relevant references or approved product assets ready. A browser preview helps verify layout and interaction findings.

View operation manual

What this skill helps with

  • Spot recurring AI-generated UI patterns and replace them with deliberate type, layout and color choices.

Good for

  • Visual quality review
Starting point
Read an existing DESIGN.md. Confirm the artifact type, audience, positioning, and aesthetic words before designing.
Design system
One committed direction, a rationale for its signature move, type roles, and semantic OKLCH color tokens.
Integration
Use the suitable adapter for the project, such as plain CSS, Tailwind v4, or shadcn tokens.
Audit
Check structure, real component states, motion, accessibility, and the rendered page. Record the results in DESIGN.md.
Skill name
frontend-design-deslop

Diagnose the structure with the skin stripped away

A request to swap the palette

Use frontend-design-deslop to make this dashboard less generic by choosing new colors.

A surface treatment can leave the same reading order, generic card layout, and unclear primary action in place.

A brief grounded in the work

  1. State what the user needs to find or do.
  2. Compare where that task sits in the existing layout and two viable structures.
  3. Apply one approved direction through shared tokens and verify the same task.

Frontend Design Deslop operation manual

Refine a warehouse exception dashboard with real operational data, or change a generic landing-page structure around a single useful piece of product evidence.

Help an operator locate an order that needs attention and open the right resolution action.

  1. Lock the task and design direction before editing

    Read the current screen and DESIGN.md. Use a real exception and the operator’s decision to choose a direction.

    Prompt · Step 1
    Use Samber’s frontend-design-deslop on [warehouse dashboard route]. Read the project’s DESIGN.md if it exists, then references/discovery.md and references/artifact-types.md. The operator needs to [find and resolve a blocked order]. Inspect a representative row and the real resolution entry point. Confirm the audience and positioning and propose three to five brand adjectives and a three-word aesthetic direction if they are missing. Compare two or three structures that make different information primary. Ask focused questions through the available question interface for what still affects the chosen direction. Keep this pass to a read-only brief.
  2. Turn the selected direction into tokens and states

    Give the page a deliberate information hierarchy and use a semantic palette with an explicit surface role.

    • The exception is findable before decorative information.
    • Existing actions and states are preserved.
    • Changes use the approved token definitions.
    Prompt · Step 2
    Use frontend-design-deslop to implement [approved dashboard direction] on [route]. Read the installed adapter and DESIGN.md guidance. Show the compact token table before changing components, with type scale, spacing, radius, elevation, and semantic OKLCH roles including surface. Identify the structure and single signature move that make exceptions easier to recognize. Update the agreed DESIGN.md and map its tokens to the current project styles. Reuse the existing data and actions. Keep loading, empty, error, resolved and disabled states usable wherever the current screen supports them. Use labels or another redundant cue alongside status color.
  3. Run the craft and accessibility audit

    Read the current build against its intended workflow. Compare the bare structure and the rendered styles separately.

    • Keyboard users can reach the intended action.
    • The layout stays readable with longer exception descriptions.
    • DESIGN.md records checked states and open evidence gaps.
    Prompt · Step 3
    Use frontend-design-deslop to audit [local dashboard preview]. Read references/slop-checklist.md, references/accessibility.md and the current DESIGN.md. Find and open a blocked order with the keyboard at phone and desktop widths. Check visible focus, label and status cues, contrast, long values, and the real interaction states. Compare the layout without its color and typography treatment to see whether the hierarchy fits an operator’s task. Separate observed issues from checks you could not run. Fix only approved design issues and record the audit results in DESIGN.md.

Find the installed reference for each design problem

Choose a file from the installed references/ directory and give the assistant the real route or component.

A styled page still reads like a generic templateStructure
Command or reference
references/divergence.md
Examples
Compare what leads and follows without the skin applied. Tie the order to a user task.
The application palette has no clear semantic rolesTokens
Command or reference
references/color-oklch.md
Examples
Define background, surface, text, accent, and state roles, then check text on each actual surface.
The agreed rules are hard to recover next timeDesign record
Command or reference
references/design-md.md
Examples
Write the direction, token table, component states and audit findings into the existing design record.
A polished screen is still hard to operateAudit
Command or reference
references/accessibility.md and references/slop-checklist.md
Examples
Follow the same task with the keyboard and check visible focus and non-color status cues.

Frontend Design Deslop troubleshooting

What if the repo already has a DESIGN.md?

Read it first, use the decisions it already records, and extend it where changes are approved. Check that the components and current adapter reflect those tokens.

Will a distinctive font and palette fix a generic layout?

They can reinforce the direction. Also compare the structure without those styles, and decide whether the page order, grouping, and primary action serve this particular user.

Can I complete the audit from source alone?

You can inspect tokens, markup, and possible component states in source. Overflow, actual contrast between rendered elements, and interaction behavior need a render or live preview. Mark those checks unverified when unavailable.