Discover and integrate Sona UI registry components. An agent skill from Dinil-Thilakarathne/sona-ui.

MITAuto-check passedFrontend & Design

Install Sona UI

skills CLI
$ npx skills add Dinil-Thilakarathne/sona-ui --skill sona-ui -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Dinil-Thilakarathne/sona-ui sona-ui --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Dinil-Thilakarathne/sona-ui.git skills-src && mkdir -p .claude/skills && cp -r skills-src/src/registry/sonaui/agent-skill .claude/skills/sona-ui && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
sona-ui
GitHub stars
118
Token cost
~1.1k tokens
SKILL.md length
482 words
Files
5 (incl. references)
Skills in repo
10
Repo updated
First seen
Licence
MIT

At a glance

Discover and integrate Sona UI registry components. An agent skill from Dinil-Thilakarathne/sona-ui.

  • Works in 8 steps: Inspect the consumer project's… → Fetch the current-resource manifest… → Read references/component-selection.md,… → …
  • Troubleshooting a Sona UI component in a consumer project
  • SKILL.md covers Core invariant, Reference routing, Workflow and Publishing a new Sona component, plus 1 more section
  • Calls bun, bunx and yarn; reaches sonaui.com

What it does

Sona UI is an agent skill from Dinil-Thilakarathne/sona-ui. Discover and integrate Sona UI registry components. Use when selecting, installing, composing, reviewing, or troubleshooting a Sona UI component in a consumer project.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `references/component-selection.md`, `references/consumer-validation.md` and `references/design-principles.md`).

It sits in Frontend & Design. It works with React. The repository describes itself as: A modern UI component library built with React and TailwindCSS to help you build beautiful and accessible web applications faster. The licence is MIT.

When your agent uses it

  • Troubleshooting a Sona UI component in a consumer project

Example prompts

  • “/sona-ui”

Workflow steps

8 steps, taken from the first numbered list in SKILL.md.

  1. Inspect the consumer project's framework, React version, styling entry, aliases, and existing component conventions. This phase is…
  2. Fetch the current-resource manifest before selecting or installing a component. When reachable, use its catalog URL rather than an…
  3. Read references/component-selection.md, translate the request into an interaction intent, and search the catalog named by the manifest…
  4. When the user supplies an exact component name that is absent from the catalog, fetch https://sonaui.com/r/{name}.json directly before…
  5. When installation is requested, read references/consumer-validation.md and complete every preflight check. Installation is unblocked only…
  6. Install the smallest useful set with the consumer project's existing package runner
  7. Confirm the generated paths and imports match the inspected consumer conventions before composing the component into the requested…
  8. Read references/design-principles.md when the component is interactive or visually integrated, then apply every validation tier required…

What it can do on your machine

Read from SKILL.md and the folder at commit 9a72ffe. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • bun
    • bunx
    • yarn

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • sonaui.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Sona UI loads about 1.1k tokens when it runs, and up to ~2.3k if it reads all its reference files. Until then it costs about 44 tokens; SKILL.md has 482 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~44
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Dinil-Thilakarathne/sona-ui at commit 9a72ffe, republished under its MIT licence (© Dinil-Thilakarathne). 482 words, ~1,051 tokens.

Download SKILL.mdSave it as .claude/skills/sona-ui/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
sona-ui
description
Discover and integrate Sona UI registry components. Use when selecting, installing, composing, reviewing, or troubleshooting a Sona UI component in a consumer project.
metadata.version
1.2.0

Sona UI Agent Skill

Core invariant

Treat the Sona UI shadcn registry as the installation authority. When a component exists in the registry, install its source-owned item instead of reconstructing it.

Registry namespace:

text
@sona-ui

Registry URL:

text
https://sonaui.com/r/{name}.json

Current-resource manifest:

text
https://sonaui.com/agent/manifest.json

Reference routing

Before selecting a component, read:

  • references/component-selection.md

Before installation or troubleshooting, read:

  • references/consumer-validation.md

Before composing or reviewing motion and visual behavior, read:

  • references/design-principles.md

When skill discovery or the optional shadcn MCP setup needs troubleshooting, read:

  • references/provider-setup.md

Workflow

  1. Inspect the consumer project's framework, React version, styling entry, aliases, and existing component conventions. This phase is complete when each value is known and the presence or absence of components.json is recorded.

  2. Fetch the current-resource manifest before selecting or installing a component. When reachable, use its catalog URL rather than an installed or copied catalog URL. If it is unavailable, record that the skill is using a local snapshot that may be older than production.

  3. Read references/component-selection.md, translate the request into an interaction intent, and search the catalog named by the manifest. This phase is complete when one candidate—or the decision to use no Sona component—is justified from its useWhen, avoidWhen, accessibility, motion, and dependency fields, and its exact detail, docs, and registryItem resources are recorded.

  4. When the user supplies an exact component name that is absent from the catalog, fetch https://sonaui.com/r/{name}.json directly before deciding it is unavailable. If reachable, treat that registry item as authoritative and record its file targets, dependencies, registry dependencies, documentation URL when present, and accessibility and motion behavior. Do not infer that the item is unavailable from the catalog omission alone.

  5. When installation is requested, read references/consumer-validation.md and complete every preflight check. Installation is unblocked only when every dependency resolves, every target is known, and every collision has an explicit decision.

  6. Install the smallest useful set with the consumer project's existing package runner:

    bash
    bunx shadcn@latest add @sona-ui/<component>

    Use pnpx, npx, or yarn dlx when that matches the consumer project.

  7. Confirm the generated paths and imports match the inspected consumer conventions before composing the component into the requested experience.

  8. Read references/design-principles.md when the component is interactive or visually integrated, then apply every validation tier required by references/consumer-validation.md. The work is complete only when each applicable check has a recorded result and static, interaction, and visual verification are reported separately.

Show full SKILL.md (100 more words)Show less

Publishing a new Sona component

Every published registry:ui item must also have a matching entry in src/registry/agent-metadata.ts. Add accurate useWhen, avoidWhen, capabilities, accessibility, motion, reduced-motion, and related-component guidance, then regenerate and validate both publishing surfaces:

bash
bun run build:registry
bun run build:agent-resources
bun run check:registry
bun run check:agent-resources

Do not treat an item as published until both registry and agent-resource checks pass. The public component navigation is independent from registry and agent publication; an intentionally hidden documentation link still needs the full metadata contract.

Scope discipline

Inspect before editing. Ask the user before making a material layout decision that was not requested. Do not rewrite a consumer's styling system to match Sona UI.

© Dinil-Thilakarathne, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (references) in src/registry/sonaui/agent-skill of Dinil-Thilakarathne/sona-ui.

  • SKILL.md
  • references/component-selection.md
  • references/consumer-validation.md
  • references/design-principles.md
  • references/provider-setup.md

Open the folder on GitHubat commit 9a72ffe

Compare with similar skills

Sona UI next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Sona UI compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Sona UI this skillDinil-Thilakarathne/sona-ui118—~1.1kAutomated safety check: PassMIT
Web Artifacts Builderanthropics/skills180k40 repos~769Automated safety check: PassApache-2.0
React Doctormakeplane/plane61k12 repos~657Automated safety check: PassAGPL-3.0
React Router Developmentremix-run/react-router57k1 repos~1.5kAutomated safety check: PassMIT
React UI State PatternsChrisWiles/claude-code-showcase6.1k8 repos~1.6kAutomated safety check: PassNone
GSAP Core Animationgreensock/gsap-skills16k3 repos~3.7kAutomated safety check: PassMIT

Similar skills

  • Web Artifacts Builder

    anthropics/skills

    Official

    Builds multi-component claude.ai HTML artifacts as a small React, TypeScript and Tailwind project, then bundles it into one shareable HTML file.

    180k GitHub starsUsed in 40 repos~769 tokens
    Frontend & DesignAuto-check passed
  • React Doctor

    makeplane/plane

    Scans React code for lint, accessibility, bundle size and architecture issues, reports a health score and checks that changes do not lower it.

    61k GitHub starsUsed in 12 repos~657 tokens
    Frontend & DesignAuto-check passed
  • React Router Development

    remix-run/react-router

    Guides work on React Router apps by first identifying whether the app uses Framework, Data or Declarative mode, then loading the matching reference and the installed package docs.

    57k GitHub starsUsed in 1 repo~1.5k tokens
    Frontend & DesignAuto-check passed
  • React UI State Patterns

    ChrisWiles/claude-code-showcase

    Sets patterns for React interfaces: when to show loading spinners or skeletons, how to surface errors, how to disable buttons during async work and how to handle empty lists.

    6.1k GitHub starsUsed in 8 repos~1.6k tokens
    Frontend & DesignAuto-check passed
  • GSAP Core Animation

    greensock/gsap-skills

    Covers the GSAP core API for tweens, easing, staggers, defaults and matchMedia, and when to choose GSAP over CSS animations or other JavaScript animation libraries.

    16k GitHub starsUsed in 3 repos~3.7k tokens
    Frontend & DesignAuto-check passed
  • Builds single-file interactive HTML prototypes rendered with the real LobeHub UI components and written as production-style React, so they can later be split into files.

    83k GitHub stars~1.6k tokensUpdated today
    Frontend & DesignAuto-check passed

More from Dinil-Thilakarathne/sona-ui

All 10 skills in this repo
  • Oklch Skill

    Dinil-Thilakarathne/sona-ui

    OKLCH color space for web projects. An agent skill from Dinil-Thilakarathne/sona-ui.

    118 GitHub starsUsed in 1 repo~1.2k tokens
    Auto-check passed
  • Smooth Shadow Ring

    Dinil-Thilakarathne/sona-ui

    A skill your agent uses when styling any elevated surface (card, dialog, popover, dropdown, menu, tooltip, sheet, toast) in a Tailwind project that has shadow-plugin installed.

    118 GitHub starsUsed in 1 repo~1k tokens
    Auto-check passed
  • Add Sona Component

    Dinil-Thilakarathne/sona-ui

    Integrate a new component into the Sona UI library end to end — the full per-component pipeline of writing the component, demo, docs, registry entry, nav link, playground controls, regenerating the…

    118 GitHub stars~2.2k tokensUpdated 4 days ago
    Auto-check passed
  • Component Anatomy

    Dinil-Thilakarathne/sona-ui

    Create a source-backed Inspection Board around an existing Sona UI component for social demonstrations and later documentation experiments.

    118 GitHub stars~1.9k tokensUpdated 4 days ago
    Auto-check passed
  • Design Motion Principles

    Dinil-Thilakarathne/sona-ui

    Motion and interaction design expert based on Emil Kowalski, Jakub Krehel, and Jhey Tompkins' techniques.

    118 GitHub starsUsed in 1 repo~1.7k tokens
    Auto-check passed
  • Promote Portfolio Component

    Dinil-Thilakarathne/sona-ui

    Promote a finished Craft, experimental UI, or reusable React component from the user's portfolio into the Sona UI library through an approval-gated two-phase workflow.

    118 GitHub stars~2.2k tokensUpdated 4 days ago
    Auto-check passed

Works with

Questions about Sona UI

What does Sona UI do?

Discover and integrate Sona UI registry components. An agent skill from Dinil-Thilakarathne/sona-ui. Sona UI is an agent skill from Dinil-Thilakarathne/sona-ui. Discover and integrate Sona UI registry components.

When should I use Sona UI?

Sona UI fits situations like: troubleshooting a Sona UI component in a consumer project.

How do I install Sona UI in Claude Code?

Run `npx skills add Dinil-Thilakarathne/sona-ui --skill sona-ui -a claude-code`. Or copy the skill folder (src/registry/sonaui/agent-skill in Dinil-Thilakarathne/sona-ui) into .claude/skills/sona-ui in your project. Claude Code loads it when a task matches its description.

How do I install Sona UI in Codex?

Run `npx skills add Dinil-Thilakarathne/sona-ui --skill sona-ui -a codex`. Or copy the skill folder (src/registry/sonaui/agent-skill in Dinil-Thilakarathne/sona-ui) into .agents/skills/sona-ui in your project. Codex loads it when a task matches its description.

Can I use Sona UI in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Dinil-Thilakarathne/sona-ui --skill sona-ui -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/sona-ui, .gemini/skills/sona-ui, .github/skills/sona-ui and .opencode/skills/sona-ui in your project.

What does Sona UI need to run?

Going by SKILL.md and its folder, Sona UI needs the command-line tools its instructions call (bun, bunx and yarn).

Does Sona UI access the network?

SKILL.md names 1 domain. In commands or code: sonaui.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Sona UI safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Sona UI use?

Sona UI is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Sona UI use?

About 1.1k tokens (SKILL.md is roughly 4.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.3k tokens, read only when the agent opens those files.

What are the alternatives to Sona UI?

Skills that share tags, products or a category with Sona UI: Web Artifacts Builder (anthropics/skills, 180k stars), React Doctor (makeplane/plane, 61k stars), React Router Development (remix-run/react-router, 57k stars) and React UI State Patterns (ChrisWiles/claude-code-showcase, 6.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Sona UI?

Dinil-Thilakarathne (a GitHub user) maintains it in Dinil-Thilakarathne/sona-ui, which has 118 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on October 7, 2026.

Source: Dinil-Thilakarathne/sona-ui on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.