Skill library

Agent skill Frontend

Reka UI

Build or refine reusable components for a web interface.

  • UI components
  • Accessibility

Install the skill

Installation method

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

npx skills@latest add onmax/nuxt-skills --skill reka-ui --agent claude-code --yes

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

Other ways to install
  • Choose an assistant interactively

    npx skills@latest add onmax/nuxt-skills --skill reka-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. Use a Vue 3 project with Reka UI already installed or approved to add. The browser fixture used Reka UI 2.11.0 with direct component imports. For Nuxt auto-imports, check the existing configuration for the `reka-ui/nuxt` module.

View operation manual

What this skill helps with

  • Build or refine reusable components for a web interface.

Good for

  • Component implementation
Skill name
reka-ui
Scenario
Build a keyboard-ready Vue preferences dialog
Deliverable
A preferences dialog whose labels, open state and keyboard focus can be verified from the rendered route.
Skill name
reka-ui

Define a component task with an observable result

A request with an unclear outcome

Place the existing button inside the default DialogTrigger.

That can create nested buttons and split focus or activation across two elements.

A workflow with observable results

  1. Trace the trigger and state
  2. Compose a single trigger
  3. Check name, state and focus

Reka UI operation manual

Compose a headless Reka UI dialog around an existing Vue trigger and verify its controlled state in a local preview.

Replace the bracketed details with your own project and target.

  1. Trace the trigger and state

    Read the installed Vue component API.

    Prompt · Step 1
    Use the `reka-ui` skill for [Vue preferences route]. Read the installed package version and the bundled `components/dialog.md`. Identify the existing actionable button, open state, title and short description. Confirm whether this route uses direct imports, the Nuxt module or the existing resolver. List the affected file and proposed dialog parts before editing.
  2. Compose a single trigger

    Bind visibility in the parent and keep the existing button.

    Prompt · Step 2
    Use the `reka-ui` skill to implement [approved dialog] in [Vue route]. Bind `DialogRoot` with `v-model:open`. Put one real button inside `DialogTrigger as-child`, and include `DialogPortal`, `DialogContent`, `DialogTitle`, `DialogDescription` and `DialogClose`. Reuse existing project styles for the overlay and surface. Show the resulting Vue component and where open state lives.
  3. Check name, state and focus

    Exercise the dialog from its real trigger.

    • The trigger renders as one native button.
    • The labelled dialog opens, traps focus and sends focus back after closing.
    Prompt · Step 3
    Use the `reka-ui` skill to verify [local route]. Check that the trigger contains a single button in the rendered DOM. Open it with Enter, check the dialog name and description, and Tab through its controls. Press Escape and confirm the parent open state is false and focus returns to the trigger. Repeat with the visible Close button and record observed results.

Find the relevant rule

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

Find the dialog anatomyReference
Command or reference
components/dialog.md
Examples
Read the title, description and close parts for the installed version.

Reka UI troubleshooting

Where do I put our custom button?

Render it as the single child of `DialogTrigger as-child` so trigger behavior attaches to that element.