Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

tamagui-upgrade-v3

Skill by tamagui

Migrates an app from Tamagui v2 or v1 to v3. It covers removing $ token prefixes, converting condition objects to flat values, and running the flat-values codemod.

  • Score 92
  • 14k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install tamagui-upgrade-v3

Built from the published package, never by AI.

git clone --depth 1 https://github.com/tamagui/tamagui /tmp/tamagui && mkdir -p ~/.claude/skills && cp -r /tmp/tamagui/skills/tamagui-upgrade-v3 ~/.claude/skills/tamagui-upgrade-v3

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install tamagui-upgrade-v3 in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This agent skill guides an AI assistant through upgrading a React Native or web app from Tamagui v2 or v1 to v3. V3 moves style conditions into property values and removes the $ sigil, with no compatibility setting. The skill explains the new value syntax, such as hover:, sm: and dark: clauses, and sequences the work. It starts with an inventory of token literals and runtime-computed styles, then handles config and themes before shared primitives and screens.

The skill tells the assistant to run npx tamagui migrate for the canonical checklist and npx @tamagui/codemod-flat-values for conversions. It stresses reviewing the codemod report, since --write only applies conversions it can prove safe. It is intended for developers maintaining Tamagui apps who need to upgrade versions and fix v3 breaking changes.

Written from the project's SKILL.md and checked against it.

What it can do

  • Migration sequencingOrders the upgrade so config and themes move first, then shared primitives, then app screens.
  • Inventory of workProvides ripgrep commands to count $ token literals, condition objects and runtime-computed styles before editing.
  • Flat-values codemodRuns npx @tamagui/codemod-flat-values to report and then apply statically safe conversions.
  • Condition object conversionConverts hoverStyle, pressStyle, media, theme and platform objects into flat value clauses.
  • Theme generation checksFinds v5 theme-builder imports and lists ways to keep generated themes as frozen static values.
  • Config version guidanceAdvises keeping @tamagui/config/v5 for mature apps and deferring the move to v6 as a separate change.
  • Palette token warningsExplains how to resolve legacy-palette-token warnings depending on whether the app stays on v5 or moves to v6.
  • Report-driven reviewDirects the assistant to resolve every codemod report row and re-run until no legacy sites remain.

What you need

  • An app built on Tamagui v1 or v2
  • Node.js with npx to run the migration tools
  • A TypeScript or TSX codebase for the codemod to read

Try asking

  • Inventory my app's $ tokens and hoverStyle usage before upgrading to Tamagui v3
  • Run the flat-values codemod report on ./src and list the rows I need to resolve
  • Convert the pressStyle and hoverStyle objects in my Button wrapper to flat values

Good to know

  • There is no compatibility setting or legacy runtime path in v3, so a skipped codemod row breaks styles.
  • The codemod never edits createTamagui() config, so config changes are manual.
  • Measured corpora showed roughly a third of sites needed human judgement.
  • The skill recommends separating the v3 upgrade from any Config v6 move.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/tamagui-upgrade-v3/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md23 KB
  • references/flag-playbook.md6 KB
  • references/hard-cases.md8 KB

Alternatives to tamagui-upgrade-v3

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

tamagui-upgrade-v3: common questions

Does the Tamagui v3 upgrade keep my existing design values?

The skill recommends preserving resolved token, theme, font, media and animation values during the migration. It advises against a redesign or a Config v6 move in the same change.

Why do fractional space tokens cause trouble in the migration?

Tokens like $0.5 and $1.5 are flagged as legacy-token-dot-path. In one measured corpus they made up most of the flagged sites.

Can the codemod convert the whole app automatically?

No. The --write mode applies only conversions it can prove safe. Other sites stay in the report for manual review.

How do I install tamagui-upgrade-v3?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is tamagui-upgrade-v3 free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is tamagui-upgrade-v3 safe to use?

It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to tamagui-upgrade-v3?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

tamagui-upgrade-v3 Install

Add to stack

Loading.