Skill library

Agent skill UI design

Visual Design Foundations

Refine how text looks and reads in a web interface.

  • Typography

Install the skill

Installation method

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

npx skills@latest add https://github.com/wshobson/agents/tree/main/plugins/ui-design/skills/visual-design-foundations --skill visual-design-foundations --agent claude-code --yes

Check this file in your project.claude/skills/visual-design-foundations/SKILL.md

Other ways to install
  • Choose an assistant interactively

    npx skills@latest add https://github.com/wshobson/agents/tree/main/plugins/ui-design/skills/visual-design-foundations --skill visual-design-foundations

    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 coding assistant with project access, a local preview, test data and the tools needed for the exercise.

View operation manual

What this skill helps with

  • Refine how text looks and reads in a web interface.

Good for

  • Type and readability
Exercise
Improve the typography and spacing of a product detail page
Inputs
One existing page, actual brand type and current spacing tokens
Acceptance
Test long labels and headings at the narrow width and compare a desktop screenshot. Check visible hierarchy, line length, contrast and consistent spacing for related groups.
Skill name
visual-design-foundations
Repository
wshobson/agents

Give the assistant a target, conditions and an acceptance action

Open-ended request

Review the whole website and fix anything you see.

The prompt does not define a target, test conditions or a verifiable outcome.

A scoped pilot

  1. Improve the typography and spacing of a product detail page
  2. One existing page, actual brand type and current spacing tokens

Visual Design Foundations operation manual

Improve the typography and spacing of a product detail page

One existing page, actual brand type and current spacing tokens

  1. Confirm the surface and scope

    One existing page, actual brand type and current spacing tokens

    Prompt · Step 1
    Use wshobson’s visual-design-foundations and read the installed SKILL.md. Scope the work to [Target project and local route]. Inspect [Page route] at its narrow and wide layouts. Identify text roles, type scale, measures, color roles and where spacing repeats or conflicts.
  2. Follow the installed workflow

    Improve the typography and spacing of a product detail page

    Prompt · Step 2
    Use wshobson’s visual-design-foundations and read the installed SKILL.md. Scope the work to [Target project and local route]. Propose and apply one coherent text and spacing hierarchy for [Target section] using the existing token roles. Keep real product copy, status meanings and main actions discoverable.
  3. Validate with reproducible steps

    Test long labels and headings at the narrow width and compare a desktop screenshot. Check visible hierarchy, line length, contrast and consistent spacing for related groups.

    Prompt · Step 3
    Use wshobson’s visual-design-foundations and read the installed SKILL.md. Scope the work to [Target project and local route]. Test long labels and headings at the narrow width and compare a desktop screenshot. Check visible hierarchy, line length, contrast and consistent spacing for related groups.

Look up a specific workflow question

Tie each result to an actual surface, interaction, or source location.

Identify the right inputsSKILL.md
Command or reference
Improve the typography and spacing of a product detail page
Examples
One existing page, actual brand type and current spacing tokens
Check real evidenceVerify
Command or reference
Improve the typography and spacing of a product detail page
Examples
Test long labels and headings at the narrow width and compare a desktop screenshot. Check visible hierarchy, line length, contrast and consistent spacing for related groups.

Troubleshooting and FAQ

What can I do with source access alone?

Review the implementation, cite evidence and list the required environment. Leave interaction claims pending where you cannot run them.

How do I confirm the task is complete?

Test long labels and headings at the narrow width and compare a desktop screenshot. Check visible hierarchy, line length, contrast and consistent spacing for related groups.