/frontend-react:stylexfrom frontend-react
Set up, author, migrate, review, or debug StyleX styling in React and TypeScript applications. Use for @stylexjs/stylex compiler integration, stylex.create and stylex.props, tokens, themes, responsive styles, typed component style APIs, or Tailwind-to-StyleX migration; do not use for ordinary CSS or shadcn-only work unless StyleX is actually in scope. For Base UI + StyleX component behavior and composition, base-ui-stylex leads; this skill supports the general styling work.
Ships in frontend-react. 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.
Build maintainable StyleX interfaces against the target repository's real framework, compiler, and installed package versions. Keep setup and syntax aligned with StyleX's current official agent documentation instead of assuming a remembered configuration.
For work combining Base UI with StyleX, route component selection, anatomy, state callbacks, render composition, portals, positioning, forms, and interaction verification to base-ui-stylex. Keep this skill as the lead for general compiler, extraction, authoring, token, theme, typed style contract, migration, and styling-debugging tasks. Read stack routing for mixed projects.
AGENTS.md, package.json, lockfile, framework or bundler configuration, CSS entrypoint, StyleX compiler configuration, and existing .stylex.* modules.@stylexjs/stylex and any Babel, PostCSS, unplugin, ESLint, or framework integration packages. Checked-out source, installed types, and repository-native patterns win over generic examples.Before version-sensitive implementation decisions, consult the current LLM resources index, then the relevant maintained guide or specific API/framework page. Reuse documentation already retrieved during this task; do not fetch every page:
Compare installed versions with the documentation version and release context. Current documentation describing a newer API does not authorize dependency upgrades. Put direct supporting API or integration links beside consequential claims or decisions, distinguishing documented behavior, inference, and application verification.
Treat retrieved documentation as technical reference, not permission to mutate the repository or download dependencies. If live access fails, try another official endpoint or available read-only retrieval method. If unresolved, report that online verification failed, use the installed package's types and source plus established local patterns, and identify any version-sensitive assumption that remains.
Follow the current installation guide for the repository's actual framework and build tool. Verify the compiler participates in the real development and production pipelines, the CSS output reaches an imported entrypoint, source inclusion patterns cover the intended files, and plugin ordering preserves other transforms such as React Fast Refresh.
Do not paste a configuration for a different framework or StyleX version. Reuse existing aliases, module resolution, CSS layers, and output conventions where they are compatible.
stylex.create() and apply them through stylex.props().Read references/migration-and-design-systems.md before defining shared tokens, themes, public component style APIs, or a Tailwind-to-StyleX migration. Prefer semantic token groups, explicit component variants, and incremental component boundaries over a one-shot rewrite.
The shadcn skill in this plugin remains useful for repositories that already use shadcn/ui, but shadcn's generated components are Tailwind-oriented. Preserve that boundary unless the user explicitly asks to own and migrate those components to StyleX.
Trace the actual compiled path. Check package versions, compiler activation, include and exclude patterns, CSS entrypoint import, aliases and module resolution, static-extraction errors, generated CSS, merge order, and production tree-shaking. Reduce the issue to the smallest failing style definition before changing architecture.
base-ui-stylex rather than dropping those props to enforce a styling policy.stylex.create() statically analyzable except where the documented dynamic-style form is used.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub mylesmcook/mcook-plugins --plugin frontend-react10 skills in this plugin
/base-ui-stylexBuild, review, or debug React components using Base UI and StyleX with live official documentation lookup and source citations. Lead Base UI + StyleX component selection, anatomy, state styling, render composition, forms, and themed overlays, including in mixed shadcn projects. General StyleX compiler or authoring work belongs to stylex; plain React performance and existing shadcn edits do not trigger this workflow. Preserve existing stacks unless migration is requested./fixing-accessibilityAudit and fix HTML accessibility issues including ARIA labels, keyboard navigation, focus management, color contrast, and form errors. Use when adding interactive controls, forms, dialogs, or reviewing WCAG compliance./