Agent skill

React

by udecode in udecode/plate

React patterns with destructured props, compiler optimization, Effects, and Tailwind v4 syntax.

Custom licenceAuto-check passedFrontend & Design

Install React

skills CLI
$ npx skills add udecode/plate --skill react -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install udecode/plate react --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/udecode/plate.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/react .claude/skills/react && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
react
GitHub stars
17k
Token cost
~9.1k tokens
SKILL.md length
2,207 words
Files
1
Skills in repo
78
Repo updated
First seen
Licence
Custom licence

At a glance

React patterns with destructured props, compiler optimization, Effects, and Tailwind v4 syntax.

  • Works in 4 steps: Use kebab-case - data-slot="form-field"… → Be specific - data-slot="submit-button"… → Match component purpose - Name reflects… → …
  • Tasks that involve React components
  • SKILL.md covers Requirements, Tailwind v4 Syntax, Design Tokens and Data Attribute Styling Patterns, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

React is an agent skill from udecode/plate. React patterns with destructured props, compiler optimization, Effects, and Tailwind v4 syntax. ALWAYS use when using React.

Its SKILL.md is about 9.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Frontend & Design, covering React components. It works with React and Tailwind CSS. The repository describes itself as: Rich-text editor with AI and shadcn/ui.

When your agent uses it

  • Tasks that involve React components

Example prompts

  • “/react”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Use kebab-case - data-slot="form-field" not data-slot="formField"
  2. Be specific - data-slot="submit-button" not data-slot="button"
  3. Match component purpose - Name reflects what it does, not how it looks
  4. Avoid implementation details - data-slot="user-avatar" not data-slot="rounded-image"

What it can do on your machine

Read from SKILL.md and the folder at commit a860762. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript, css and javascript).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

React loads about 9.1k tokens when it runs. Until then it costs about 33 tokens; SKILL.md has 2,207 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~33
When it runs · the whole SKILL.md, loaded when a task matches
~9.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 2,207 words (~9,107 tokens).

“Design tokens are semantic CSS variables that separate theme, context, and usage. Rather than hardcoding colors, use a semantic naming convention that creates layers of abstraction.”

— opening of SKILL.md by udecode, Custom licence
name
react

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/react of udecode/plate.

Open the folder on GitHubat commit a860762

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders. This page covers the copy in udecode/plate, which our catalogue first saw on October 7, 2026.

Compare with similar skills

React next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

React compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
React this skilludecode/plate17k—~9.1kAutomated safety check: PassCustom licence
Web Artifacts Builderanthropics/skills180k40 repos~769Automated safety check: PassApache-2.0
Creative Tim UI Blockscreativetimofficial/ui12k—~2.1kAutomated safety check: NotesMIT
Dify Component Writing Guidelanggenius/dify158k—~626Automated safety check: PassCustom licence
Animated React Component LibrariesHainrixz/editor-pro-max2601 repos~5.7kAutomated safety check: PassCustom licence
Create Setting Itemgraphif/project-graph4.5k—~1.5kAutomated safety check: PassNone

Similar skills

  • Web Artifacts Builder

    anthropics/skills

    Official

    Builds multi-component claude.ai HTML artifacts as a small React, TypeScript and Tailwind project, then bundles it into one shareable HTML file.

    180k GitHub starsUsed in 40 repos~769 tokens
    Frontend & DesignAuto-check passed
  • Creative Tim UI Blocks

    creativetimofficial/ui

    Helps install, generate and review Creative Tim UI blocks: shadcn/ui-based React and Tailwind sections that follow a restrained, production-minded design philosophy.

    12k GitHub stars~2.1k tokensUpdated 6 mo ago
    Frontend & DesignAuto-check: notes
  • Use when implementing or refactoring React/TypeScript components and the task requires decisions about component ownership, feature boundaries, state, data…

    158k GitHub stars~626 tokensUpdated today
    Frontend & DesignAuto-check passed
  • Animated React Component Libraries

    Hainrixz/editor-pro-max

    Helps choose and drop in animated React components from Magic UI and React Bits for landing pages, marketing sites and dashboards, instead of hand-coding animations.

    260 GitHub starsUsed in 1 repo~5.7k tokens
    Frontend & DesignAuto-check passed
  • Create Setting Item

    graphif/project-graph

    指导如何在 Project Graph 项目中创建新的设置项。当用户需要添加新的设置项、配置选项或需要了解设置系统的实现方式时使用此技能。

    4.5k GitHub stars~1.5k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Typebot UI Conventions

    baptisteArno/typebot.io

    Frontend rules for building components in the Typebot codebase: simple Tailwind classes, shared UI primitives, minimal useEffect and a fixed declaration order.

    11k GitHub stars~299 tokensUpdated yesterday
    Frontend & DesignAuto-check passed

More from udecode/plate

All 78 skills in this repo
  • React Useeffect

    udecode/plate

    React useEffect best practices from official docs. An agent skill from udecode/plate.

    17k GitHub starsUsed in 6 repos~573 tokens
    Auto-check passed
  • Video Transcripts

    udecode/plate

    Generate structured video transcripts from local files or video URLs using Gemini Files API.

    17k GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • Build new Plate plugins with Slate-first architecture, sane typing, and explicit React/Plate wrapper boundaries.

    17k GitHub stars~2.3k tokensUpdated today
    Auto-check passed
  • Plate UI

    udecode/plate

    Build new shadcn-style components for Plate's registry and editor surfaces.

    17k GitHub stars~2.6k tokensUpdated today
    Auto-check passed
  • Researches and synthesizes external best practices, documentation, and examples for any technology or framework.

    17k GitHub stars~2k tokensUpdated today
    Auto-check passed
  • Frontend Design

    udecode/plate

    Build web interfaces with genuine design quality, not AI slop.

    17k GitHub stars~3.6k tokensUpdated today
    Auto-check passed

Questions about React

What does React do?

React patterns with destructured props, compiler optimization, Effects, and Tailwind v4 syntax. React is an agent skill from udecode/plate. React patterns with destructured props, compiler optimization, Effects, and Tailwind v4 syntax.

When should I use React?

React fits situations like: tasks that involve React components.

How do I install React in Claude Code?

Run `npx skills add udecode/plate --skill react -a claude-code`. Or copy the skill folder (.agents/skills/react in udecode/plate) into .claude/skills/react in your project. Claude Code loads it when a task matches its description.

How do I install React in Codex?

Run `npx skills add udecode/plate --skill react -a codex`. Or copy the skill folder (.agents/skills/react in udecode/plate) into .agents/skills/react in your project. Codex loads it when a task matches its description.

Can I use React in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add udecode/plate --skill react -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/react, .gemini/skills/react, .github/skills/react and .opencode/skills/react in your project.

What does React need to run?

SKILL.md names no scripts, command-line tools or credentials: React is instructions for the agent only.

Does React access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is React safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does React use?

React has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does React use?

About 9.1k tokens (SKILL.md is roughly 36k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to React?

Skills that share tags, products or a category with React: Web Artifacts Builder (anthropics/skills, 180k stars), Creative Tim UI Blocks (creativetimofficial/ui, 12k stars), Dify Component Writing Guide (langgenius/dify, 158k stars) and Animated React Component Libraries (Hainrixz/editor-pro-max, 260 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains React?

udecode (a GitHub organization) maintains it in udecode/plate, which has 16,638 GitHub stars. The repository holds 78 skills in this directory. The repository was last updated on October 7, 2026.

Source: udecode/plate on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.