Skip to content
Skills Library
Programming · Building & coding

tonic-ui-dev

/tonic-ui-dev

Use when building or changing a consuming app with Tonic UI components, choosing a component, looking up its API or examples, or integrating it with existing app wrappers, forms, state and styling. Also use when Tonic UI documentation or an example does not match the app's behavior. Not for library maintenance, token-name mapping, or a requested major-version migration.

Repository
tonic-ui ↗
Licence
MIT
Last repository change
25.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
3
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 25.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Use when building or changing a consuming app with Tonic UI components, choosing a component, looking up its API or examples, or integrating it with existing app wrappers, forms, state and styling. Also use when Tonic UI documentation or an example does not match the app's behavior. Not for library maintenance, token-name mapping, or a requested major-version migration.

Original author description

Use when building or changing a consuming app with Tonic UI components, choosing a component, looking up its API or examples, or integrating it with existing app wrappers, forms, state and styling. Also use when Tonic UI documentation or an example does not match the app's behavior. Not for library maintenance, token-name mapping, or a requested major-version migration.

How it works

  1. 1. Understand the app and the requested change
  2. 2. Find documentation and actual examples
  3. 3. Integrate into the existing app
  4. 4. Verify the requested behavior
  5. Only when compatibility is in question
Original SKILL.md headings · 101 lines, 907 words
SKILL.md preview
---
name: tonic-ui-dev
description: Use when building or changing a consuming app with Tonic UI components, choosing a component, looking up its API or examples, or integrating it with existing app wrappers, forms, state and styling. Also use when Tonic UI documentation or an example does not match the app's behavior. Not for library maintenance, token-name mapping, or a requested major-version migration.
---

# Tonic UI app development

Help complete the app's task using official documentation and real examples, while
preserving the app's existing architecture. MCP is a retrieval capability inside
this workflow, not a separate skill or a prerequisite for all development.
Keep methods here, not copied component APIs, release tables or known-issue lists.

## 1. Understand the app and the requested change

- Identify the user-visible behavior, affected screen and acceptance criteria.
  Resolve what the repository already answers before asking the user.
- Follow imports from the actual usage site to its wrapper and underlying Tonic UI
  components. Do not choose the first similarly named component found in a search.
- Inspect the relevant provider/theme scope, form value shape, state ownership,
  callbacks, i18n, permissions and test/analytics attributes. Read only what the task touches.
- Check the relevant dependency declarations, lockfile resolutions and installed
  package metadata when available. They can disagree: distinguish intended locked
  versions from the installed environment. Report a mismatch; do not silently reinstall,
  change dependencies, or assume documentation labeled `v3` matches every installed prerelease.
- Ordinary development needs no upgrade target, release audit or full checklist.

## 2. Find documentation and actual examples

Use existing Tonic UI MCP tools when available; their client-specific prefixes may vary:

1. **`use-docs`**: select a package identifier from the tool's advertised packages.
   Read the returned index and choose pages for the underlying components and the
   behavior needed. An app wrapper's name does not establish its library counterpart.
2. **`fetch-pages`**: pass selected page locations in `{ "urls": [...] }`.
   Read imports, API, callback values, controlled state, styling and composition guidance.
3. **`fetch-codes`**, when examples are needed: resolve a page's `render('./example')`
   relative to that page's directory and pass the absolute example locations in
   `{ "urls": [...] }`. Read the returned implementation, not only the rendered preview.
   Do not guess example names or claim an example was read when retrieval failed.

Retrieve only relevant material. Reading a documentation page or example is not
proof that its API exists in the app's installed package; check relevant declarations
or exports when availability is uncertain. Do not require every task to fetch every tool.

**No usable MCP?** Continue with an existing local checkout, installed package files
or supplied documents/examples. Follow the same index → page → referenced example
path using local reads. Do not start by recommending installation. Only when needed
source material cannot otherwise be reached, offer the local clone/direct-read or
local MCP setup options in [MCP and local sources](references/mcp-and-local-sources.md).
Read that reference when connecting MCP, locating changelogs or handling source-access errors.

## 3. Integrate into the existing app

- Prefer an existing suitable wrapper. Use the official example to understand its
  underlying component, not as an instruction to replace the wrapper.
- Explicitly map library props/callback payloads to the app's contract. Preserve
  object-versus-ID form values, validation, selection ownership and displayed labels.
- Preserve applicable loading/disabled/read-only behavior, focus/portal handling,
  translations, permissions and test/analytics attributes.
- Match existing layout, theme and style-override conventions. Do not add another
  provider, styling system or generic abstraction just to reproduce a documentation demo.
- Introduce a new wrapper only if the requested behavior cannot reasonably use the
  existing one; explain that specific gap. Do not migrate unrelated consumers.
- For token-name/value mapping use `tonic-ui-tokens` as needed; do not copy its data here.
  For an explicitly requested major-version migration use `tonic-ui-upgrade`.
- When current design guidance is relevant, use the design provenance bundled with
  `tonic-ui-tokens`. The upstream Designer Handbook (`1927774846`) and Light Mode guide
  (`2386166626`) snapshots are not Tonic UI-specific guidance; their applicability is
  unverified, so check it rather than treating historic workarounds as standing instructions.

## 4. Verify the requested behavior

Use the app's existing checks and exercise the changed interaction. For example,
verify the resulting form value and label, disabled/permission states, selection,
keyboard focus or overlay placement when those are affected. Do not run unrelated
checklists. A successful build/type check establishes compatibility, not visual correctness.

Report the integration decision, source locations and version limits, changed behavior,
and checks actually exercised. Use `PASS` only for an exercised check that matched the
expectation; `FAIL` for an observed mismatch; `NOT_APPLICABLE` with a reason; and
`UNVERIFIED` for unexercised behavior or missing evidence. Visual claims require
rendered inspection, not successful documentation/token lookup.

## Only when compatibility is in question

If the needed API is absent, behavior differs from its documentation, a historic
issue may apply, or a package update is explicitly being assessed:

1. Resolve the affected package/version and retrieve its `CHANGELOG.md`, preferably
   through available MCP `fetch-pages`. Local reads from a suitable checkout are also valid.
2. For a release delta only, establish exact source and target versions per package
   and select entries in the prerelease-aware interval `(source, target]`, not string order.
   Without both bounds, that delta remains `UNVERIFIED`.
3. Distinguish the release announcement from implementation evidence. Check the
   relevant installed source/declarations or a verified matching repository ref.
   A latest checkout, freshly cloned repository or docs label is not version proof.
4. Report documentation/changelog/source conflicts with both references. Do not
   invent a prop, patch library files, apply an old workaround or propose an upgrade
   solely to make the example fit. State the smallest supported app-level option.

If a required source remains unavailable, name the missing location/version and
continue the parts supported by evidence. Do not fall back to an embedded release snapshot.
Cloning, installing dependencies, modifying client settings or starting a local MCP
service requires the user's authorization for that action; this skill grants none.
Files in this package (3)
  • SKILL.md 7 KB
  • evals/evals.json 7 KB
  • references/mcp-and-local-sources.md 4 KB

Versions

The database has no other skills named tonic-ui-dev.

Database snapshot: 13.11.2026 · package version f2aff59c127e (SHA-256 digest of the entire package)

Downloads in the last 30 days: 1 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90tonic-ui-upgrade
    Use when upgrading a consuming application's Tonic UI packages, planning a v2-to-v3 migration, resolving upgrade peer conflicts, or deciding which API changes are necessary versus deprecated or optional. Not for ordinary frontend development, token selection, or Tonic UI library releases.
  • 100tonic-ui-patterns
    Apply Tonic UI repository conventions when creating or reviewing components, hooks, exports, browser E2E tests, and commit messages. Use for component structure, style hooks, documentation, and changeset workflows.
  • 100looking-up-docs
    Look up library documentation using Context7. Use when needing API reference, library docs, framework documentation, or technical documentation lookup. Provides up-to-date, version-specific docs and code examples.
  • 10021st-dev-components
    Use when the user wants to build a React site or app section from 21st.dev components, clone the structure of a reference site with 21st.dev building blocks, browse 21st.dev manually and return copied prompts/code, or says things like "build me a site like this", "use 21st.dev",…
  • 90component-migration-analysis
    Create rendering-and-styling migration analysis docs for gen2 component migration. Use when on the "analyze rendering and styling" step for one or more components.
  • 100v0-dev
    Generates UI components and full web apps with v0 (v0.app, formerly v0.dev), the AI app builder by Vercel. Use when a user asks to prototype React components, generate shadcn/ui layouts, create landing pages, scaffold UI from natural language prompts, or drive v0 from code through the v0 API.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.