Skip to content
Back to skills

Tamagui Best Practices

ASecurity

Use when working with Tamagui projects (tamagui.config.ts, @tamagui imports).

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 16, 2026
ai-agentsnodeexpressapi

Works with

  • api

Security analysis

A100/100

Scanned October 16, 2026

npx -y skills add alleneubank/agent-profile --skill tamagui-best-practices --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Tamagui Best Practices?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Tamagui Best Practices
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/alleneubank-tamagui-best-practices/badge)](https://www.skillsdirectory.com/skills/alleneubank-tamagui-best-practices)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: tamagui-best-practices
description: Use when working with Tamagui projects (tamagui.config.ts, @tamagui imports).
---

# Tamagui Best Practices

## Compiler-friendly styles

Express every conditional style value, including token props such as `size`,
as a `styled()` variant instead of an inline ternary
(`size={large ? '$4' : '$2'}`). The compiler cannot flatten a dynamic prop
value, so the component falls back to runtime styling.

## Current facts

Read the installed Tamagui version from `package.json` and its types under
`node_modules` before relying on remembered APIs. For docs, fetch the single
page as Markdown, e.g. https://tamagui.dev/docs/core/styled.md or
https://tamagui.dev/docs/intro/compiler-install.md. Do not fetch
https://tamagui.dev/llms.txt; it is the entire site in one file of about 1 MB.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.