Skill library

Agent skill Review & testing

Kumo Design

Review the accessibility of visible web interface elements and interactions.

  • Accessibility
  • Design systems

Install the skill

Installation method

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

npx skills@latest add cloudflare/kumo --skill kumo-design --agent claude-code --yes

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

Other ways to install
  • Choose an assistant interactively

    npx skills@latest add cloudflare/kumo --skill kumo-design

    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. Use an existing Kumo React app. The fixture used `@cloudflare/kumo` 2.19.1 and Tailwind 4.3.5. For Tailwind builds, keep Kumo’s style import order and a correct `@source` path from the entry CSS.

View operation manual

What this skill helps with

  • Review the accessibility of visible web interface elements and interactions.

Good for

  • Accessible interfaces
Skill name
kumo-design
Scenario
Review a dashboard card and its details dialog
Deliverable
A reviewed LayerCard and a mounted, controlled details dialog with local typography and focus evidence.
Skill name
kumo-design
Repository
cloudflare/kumo

Define a component task with an observable result

A request with an unclear outcome

Nest raised cards and only mount the dialog when it opens.

Nested surfaces blur the hierarchy, while conditional mounting prevents the intended open and close transitions.

A workflow with observable results

  1. Review the card and dialog source
  2. Apply the Kumo card rules
  3. Check hierarchy and dialog focus

Kumo Design operation manual

Apply Cloudflare’s Kumo design rules to a settings card, then check the chosen typography and controlled dialog in a local viewport.

Replace the bracketed details with your own project and target.

  1. Review the card and dialog source

    Capture the actual font size and spacing hierarchy.

    Prompt · Step 1
    Use the `kumo-design` skill to inspect [Kumo dashboard card and details dialog]. Record the installed package and existing CSS loading path. Compare the rendered heading case, body font size, card nesting, and heading-to-description spacing with the Skill rules. Identify whether the dialog root is controlled or only conditionally mounted.
  2. Apply the Kumo card rules

    Use related text grouping and a controlled dialog.

    Prompt · Step 2
    Use `kumo-design` to update [approved Kumo card]. Use one LayerCard surface, sentence-case English headings, and Kumo Text for 14px content. Put the description closer to its heading than to the next action. If the card has a shadow, use the Kumo line ring for the edge. Keep `Dialog.Root` mounted and drive visibility with `open` and `onOpenChange`.
  3. Check hierarchy and dialog focus

    Confirm computed size and actual portal behavior.

    • One card surface, 14px content and a clearly associated heading and description.
    • The controlled dialogue is labelled and returns focus on dismissal.
    Prompt · Step 3
    Use `kumo-design` to preview [local Kumo route]. Check that body copy computes to 14px and the heading and description have their intended grouping. Open the dialog with the keyboard, confirm its title and description, and dismiss with Escape. Verify focus returns to the trigger and check that local sticky content cannot cover the open portal. Return the observed result for each check.

Find the relevant rule

Point the assistant to the installed Skill and a specific issue.

The modal opens without its intended transitionReference
Command or reference
SKILL.md · dialog-rendering
Examples
Keep the root rendered and use controlled props for visibility.

Kumo Design troubleshooting

What if styles are missing in a Tailwind app?

Check that `@source` resolves from the entry CSS to Kumo’s dist files and that the Kumo theme import precedes Tailwind. Also check root isolation for sticky elements above portals.