gluestack-ui-v5:validation

Validates gluestack-ui v5 React Native code against styling and component anti-patterns.

Updated Sep 13, 2026
One-click install
npx skills add https://github.com/aadilmallick/myfitness-pal-clone --skill gluestack-ui-v5-validation-aadilmallick
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gluestack-ui-v5:validation
Source: https://github.com/aadilmallick/myfitness-pal-clone/tree/main/.agents/skills/gluestack-ui-v5/validation
Command: npx skills add https://github.com/aadilmallick/myfitness-pal-clone --skill gluestack-ui-v5-validation-aadilmallick

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Reviewing gluestack-ui v5 code by hand is error-prone: developers mix React Native primitives with Gluestack components, use non-semantic color tokens that break dark mode, skip required compound sub-components, and misapply Tailwind v4 configuration, all of which silently degrade theming, accessibility, and performance. ## Core Features & Use Cases - Structured validation checklist: Covers component usage, semantic color tokens, compound components, icons, cross-platform compatibility, and performance for gluestack-ui v5 with Tailwind CSS v4 and NativeWind v5 / UniWind. - Anti-pattern catalog with fixes: Each mistake (inline styles, arbitrary spacing, className instead of props, ScrollView for long lists, Animated API) is shown with incorrect and corrected code examples. - Escalation guidance: Provides a process for pushing back on off-system design requests and adding new semantic tokens to global.css and the provider config. - Use Case: During code review of a React Native screen, run the checklist to catch a Button missing ButtonText, an InputIcon not wrapped in InputSlot, and prohibited tokens like text-typography-900 or bg-blue-600 before merge. ## Quick Start Review my gluestack-ui v5 screen component for anti-patterns, semantic token violations, and missing compound sub-components.

Frequently Asked Questions about gluestack-ui-v5:validation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate gluestack-ui v5 code during code review?

Use the validation checklist covering component usage, semantic color tokens, compound components, and performance. Verify components come from the local ui directory, props replace className where available, and no prohibited tokens like typography-* or numbered colors appear.

What color tokens are allowed in gluestack-ui v5 with Tailwind v4?

Only semantic tokens such as text-foreground, bg-primary, bg-muted, and border-border are allowed. Prohibited tokens include typography-*, neutral-*, gray-*, slate-*, numbered colors like red-500, arbitrary hex values, and opacity utilities; use alpha values like /70 instead.

Why is my gluestack Input icon not rendering correctly?

InputIcon must be wrapped inside InputSlot or rendering breaks. Place InputIcon as a child of InputSlot alongside InputField inside the Input component, as required by the compound component structure.

Does gluestack-ui v5 still use tailwind.config.js?

No, Tailwind v4 is CSS-first, so tailwind.config.js is ignored and should be deleted. Define tokens in global.css using @theme inline, use @import syntax instead of @tailwind directives, and add postcss.config.js with @tailwindcss/postcss for NativeWind v5.

Should I use ScrollView or FlatList for long lists in React Native?

Use FlatList for long lists because it virtualizes rendering and only mounts visible items. ScrollView with map renders every item at once, causing poor performance and high memory usage on large datasets.