/tonic-ui-upgrade:tonic-ui-upgradefrom tonic-ui-upgrade
Guides upgrading a consuming application's Tonic UI packages from v2 to v3, resolving peer conflicts, and identifying necessary API changes versus deprecated or optional ones.
Ships in tonic-ui-upgrade. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This skill migrates a consuming application to Tonic UI v3. It is not a Tonic UI library change and never a library release.
Do not route a consuming-app upgrade into Tonic UI library release work. Release work edits this repository's version registry, docs selectors, changelogs and release branches; it is a repository-side concern and is not part of the installed plugin. An app bump only changes the app's own dependencies, lockfile and code.
Default to analysis and a concrete plan. Apply task-scoped edits only when execution is explicitly requested.
package.json and lockfile, and its custom theme / colorStyle definitions.@tonic-ui/react version and every other @tonic-ui/* package the app uses.Read the target version's real source before asserting anything:
peerDependencies/dependencies under packages/*/package.json in a Tonic UI checkout at the target revision. Peers differ per package (see UPGRADE_RULES.md group P).warnDeprecatedProps(...) call sites in packages/react/src/**. The call itself, its alternative, and its willRemove flag are the evidence; a comment mentioning a deprecation is not proof the warning is wired up. Some source comments and JSDoc are the only deprecation evidence (e.g. SubmenuToggle); read the declaration directly rather than assuming a runtime warning exists.packages/*/CHANGELOG.md for the version that introduced a prop, slot or behavior.packages/react-docs/pages/migrations/ (migrating-from-v2-to-v3, migrating-color-tokens-from-v2-to-v3) as the public baseline, always cross-checked against current source.If a checkout is unavailable, use the app's installed package contents and the published docs, and record the freshness limit. Never invent a codemod, MCP tool, prop or version. The optional docs MCP (use-docs / fetch-pages / fetch-codes) is a convenience, not a prerequisite.
Package availability boundary: this repository has no @tonic-ui/react-data-grid or chart package. Do not present DataGrid or chart packages, peers, props or versions as Tonic UI packages. If an app separately depends on such a package, verify that package's own manifest and source; those rules are outside this repository's evidence. See group D.
Label every candidate change. The four labels are defined and evidenced in UPGRADE_RULES.md:
| Label | Meaning |
|---|---|
| Necessary | The requested target/app will not build, install or behave correctly without it. |
| Deprecated, still supported | Works in v3; removal is a future release. Many callsites also log a dev-only warning, but some deprecations are documented without a live one — attribute any warning to the actual callsite (UPGRADE_RULES.md group X). |
| Optional adoption | New v3 capability the app may adopt; not required to become a working v3 app. |
| Manual decision | Needs product/design/architecture judgment (global CSS scope, custom mappings, explicit sizing). |
A deprecation is not automatically a compile-breaking removal. Most v3 API changes are additive slots/props; the legacy prop and its replacement are merged, with the new slot winning on conflict. Not every deprecation emits a warning — see UPGRADE_RULES.md group X for which ones do.
colorStyle, and every usage site of each changed API.assets/tokens.json) and lookup helper (scripts/lookup-tokens.mjs), relative to that skill's root. Consult it when a migration needs a token path or value; token selection does not require an upgrade.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub trendmicro-frontend/tonic-ui --plugin tonic-ui-upgradeOther plugins' skills for the same job