Skill library

Agent skill UI design

Refactoring UI

Shape a web interface around a coherent visual direction.

  • UI design
  • Design systems
  • Tailwind CSS

Install the skill

Installation method

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

npx skills@latest add https://github.com/wondelai/skills/tree/main/refactoring-ui --skill refactoring-ui --agent claude-code --yes

Check this file in your project.claude/skills/refactoring-ui/SKILL.md

Other ways to install
  • Choose an assistant interactively

    npx skills@latest add https://github.com/wondelai/skills/tree/main/refactoring-ui --skill refactoring-ui

    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 a local preview, relevant project material and representative content you can verify.

View operation manual

What this skill helps with

  • Shape a web interface around a coherent visual direction.

Good for

  • Visual direction
Goal
Improve one settings page using the publisher’s visual rubric
Inputs
A settings route, actual content and an original screenshot
Acceptance
Compare before and after using the same content. Check grouping, action priority, and long or empty states on both widths. Relate the outcome to the same diagnostic you started with.
Skill name
refactoring-ui
Repository
wondelai/skills

Scope one phase around actual evidence

Vague direction

Redo my website and make it look better.

It leaves the audience, existing issue and measurable outcome open.

An evidence-led task

  1. Improve one settings page using the publisher’s visual rubric
  2. A settings route, actual content and an original screenshot

Refactoring UI operation manual

Improve one settings page using the publisher’s visual rubric

A settings route, actual content and an original screenshot

  1. Check existing evidence and inputs

    A settings route, actual content and an original screenshot

    Prompt · Step 1
    Use Wondelai’s refactoring-ui and read its installed SKILL.md. Scope the task to [Target project or page]. Inspect [Settings route] at the normal and narrow widths. Apply the installed Skill’s quick diagnostic and name the most important hierarchy, spacing or color problem using visible evidence.
  2. Apply the publisher’s workflow

    Improve one settings page using the publisher’s visual rubric

    Prompt · Step 2
    Use Wondelai’s refactoring-ui and read its installed SKILL.md. Scope the task to [Target project or page]. Use the selected Refactoring UI principle for [Approved issue]. Keep headings, spacing and status colors tied to clear roles. Apply to the existing components and preserve their actions.
  3. Review the result and record progress

    Compare before and after using the same content. Check grouping, action priority, and long or empty states on both widths. Relate the outcome to the same diagnostic you started with.

    Prompt · Step 3
    Use Wondelai’s refactoring-ui and read its installed SKILL.md. Scope the task to [Target project or page]. Compare before and after using the same content. Check grouping, action priority, and long or empty states on both widths. Relate the outcome to the same diagnostic you started with.

Look up a specific workflow question

Have the assistant refer to the real page or saved workflow records.

Prepare the inputsSKILL.md
Command or reference
Improve one settings page using the publisher’s visual rubric
Examples
A settings route, actual content and an original screenshot
Check the outcomeVerify
Command or reference
Improve one settings page using the publisher’s visual rubric
Examples
Compare before and after using the same content. Check grouping, action priority, and long or empty states on both widths. Relate the outcome to the same diagnostic you started with.

Troubleshooting and FAQ

What if the evidence is incomplete?

Name the missing evidence and make only the scoped decisions supported by the project material you have.

What should I check before accepting this work?

Compare before and after using the same content. Check grouping, action priority, and long or empty states on both widths. Relate the outcome to the same diagnostic you started with.