Agent skill

React

by pedronauck in pedronauck/skills

Build React 19 components and hooks under React Compiler: state, Effects, memoization, props/refs, Actions, use(), compiler/lint setup, and Vitest tests.

No licenceAuto-check passedTesting & QA

Install React

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

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

GitHub CLI
$ gh skill install pedronauck/skills 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/pedronauck/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/mine/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
634
Used in
1 other repo
Token cost
~1.5k tokens
SKILL.md length
754 words
Files
9 (incl. references)
Skills in repo
65
Repo updated
First seen
Licence
None found

At a glance

Build React 19 components and hooks under React Compiler: state, Effects, memoization, props/refs, Actions, use(), compiler/lint setup, and Vitest tests.

  • Tasks that involve Unit testing
  • SKILL.md covers The compiler is the optimizer, Decide memoization first, Branches and Tripwires, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Tasks that involve Cross-platform mobile apps

What it does

React is an agent skill from pedronauck/skills. Build React 19 components and hooks under React Compiler: state, Effects, memoization, props/refs, Actions, use(), compiler/lint setup, and Vitest tests. Excludes React Native, other frameworks, and backend-only Node.js.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 9 other files, including reference files (for example `references/compiler-setup.md`, `references/compiler.md` and `references/components-and-types.md`).

It sits in Testing & QA, covering Unit testing, Cross-platform mobile apps and Linting and formatting. It works with React, Vitest, React Native and Node.js. The repository describes itself as: My personal favorite skills.

When your agent uses it

  • Tasks that involve Unit testing
  • Tasks that involve Cross-platform mobile apps
  • Tasks that involve Linting and formatting

Example prompts

  • “/react”

Requirements

  • Node.js
  • Pre-approved tools (allowed-tools): Read, Grep, Glob

What it can do on your machine

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

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Grep
    • Glob

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    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 1.5k tokens when it runs, and up to ~17k if it reads all its reference files. Until then it costs about 57 tokens; SKILL.md has 754 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~57
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~17k

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

Without a licence we can't republish the file, so here is its outline and opening line. It has 754 words (~1,520 tokens).

“Targets React 19.2 and React Compiler 1.0 (babel-plugin-react-compiler), linted by eslint-plugin-react-hooks 7.1+. Read the reference matched by the API or behavior being changed. Load adjacent references only for concerns the change crosses; reuse relevant context already read.”

— opening of SKILL.md by pedronauck
name
react
allowed-tools
Read, Grep, Glob
metadata.author
Pedro Nauck
metadata.github
https://github.com/pedronauck
metadata.repository
https://github.com/pedronauck/skills

Read the full SKILL.md on GitHub

Files

SKILL.md and 8 other files (references) in skills/mine/react of pedronauck/skills.

  • SKILL.md
  • references/compiler-setup.md
  • references/compiler.md
  • references/components-and-types.md
  • references/effects.md
  • references/react19-apis.md
  • references/rules-of-react.md
  • references/state.md
  • references/testing.md

Open the folder on GitHubat commit 0422940

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in pedronauck/skills, 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 skillpedronauck/skills6341 repos~1.5kAutomated safety check: PassNone
React Native Testingcallstackincubator/agent-skills1.7k—~1.8kAutomated safety check: PassMIT
Jest Testingaiskillstore/marketplace430—~4.1kAutomated safety check: NotesNone
Tooling SetupMadAppGang/claude-code284—~1.2kAutomated safety check: NotesMIT
Cometchat React Native Testingcometchat/cometchat-skills130—~997Automated safety check: PassMIT
Test Guidelinesgetsentry/sentry-react-native1.8k—~1.3kAutomated safety check: PassMIT

Similar skills

  • React Native Testing

    callstackincubator/agent-skills

    Official

    Write tests using React Native Testing Library (RNTL) v13 and v14 (@testing-library/react-native).

    1.7k GitHub stars~1.8k tokensUpdated yesterday
    MobileAuto-check passed
  • Jest Testing

    aiskillstore/marketplace

    Automatically activated when user works with Jest tests, mentions Jest configuration, asks about Jest matchers/mocks, or has files matching .test.js, .test.ts, jest.config..

    430 GitHub stars~4.1k tokensUpdated today
    Testing & QAAuto-check: notes
  • Tooling Setup

    MadAppGang/claude-code

    A skill your agent uses when setting up new projects or updating tool configurations.

    284 GitHub stars~1.2k tokensUpdated 6 mo ago
    Testing & QAAuto-check: notes
  • Cometchat React Native Testing

    cometchat/cometchat-skills

    Test a CometChat React Native integration — mock the SDK for Jest unit tests, assert init-before-render ordering and no-Auth-Key-in-source, and use Detox for the flows only a device can prove.

    130 GitHub stars~997 tokensUpdated 2 days ago
    Testing & QAAuto-check passed
  • Test Guidelines

    getsentry/sentry-react-native

    Official

    Enforce Sentry React Native SDK test conventions for naming, structure, mocking, and fixtures with Jest.

    1.8k GitHub stars~1.3k tokensUpdated today
    Testing & QAAuto-check passed
  • Chooses the right verification step after a code change in Pierre's monorepo: format and lint, a typecheck, Bun unit tests, snapshots, or Playwright E2E.

    6.2k GitHub stars~608 tokensUpdated today
    Testing & QAAuto-check passed

More from pedronauck/skills

All 65 skills in this repo
  • Deep Review

    pedronauck/skills

    Review branch diffs, working trees, or PRs in depth with defect, polish and cross-contract coverage.

    634 GitHub starsUsed in 1 repo~2.3k tokens
    Auto-check passed
  • Yc Apply

    pedronauck/skills

    Prepare, review, and package Y Combinator application answers and founder-video notes using the live form and verified founder facts.

    634 GitHub stars~1.3k tokensUpdated 23 days ago
    Auto-check passed
  • Guide technical communication for software developers. An agent skill from pedronauck/skills.

    634 GitHub starsUsed in 3 repos~2.3k tokens
    Auto-check passed
  • Tauri V2

    pedronauck/skills

    Tauri v2+ cross-platform app development with Rust backend. An agent skill from pedronauck/skills.

    634 GitHub starsUsed in 2 repos~4.1k tokens
    Auto-check passed
  • Hormozi Ad Factory

    pedronauck/skills

    Generates 150-750+ ad variations using Alex Hormozi's combinatorial Hook x Meat x CTA framework.

    634 GitHub stars~2.1k tokensUpdated 23 days ago
    Auto-check passed
  • Yt Master

    pedronauck/skills

    Plans and improves YouTube ideas, titles, thumbnail concepts, scripts, retention, channel strategy, and metric-based diagnosis.

    634 GitHub stars~736 tokensUpdated 23 days ago
    Auto-check passed

Questions about React

What does React do?

Build React 19 components and hooks under React Compiler: state, Effects, memoization, props/refs, Actions, use(), compiler/lint setup, and Vitest tests. React is an agent skill from pedronauck/skills. Build React 19 components and hooks under React Compiler: state, Effects, memoization, props/refs, Actions, use(), compiler/lint setup, and Vitest tests.

When should I use React?

React fits situations like: tasks that involve Unit testing; tasks that involve Cross-platform mobile apps; tasks that involve Linting and formatting.

How do I install React in Claude Code?

Run `npx skills add pedronauck/skills --skill react -a claude-code`. Or copy the skill folder (skills/mine/react in pedronauck/skills) 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 pedronauck/skills --skill react -a codex`. Or copy the skill folder (skills/mine/react in pedronauck/skills) 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 pedronauck/skills --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. Our summary lists: Node.js. Its frontmatter pre-approves these tools: Read, Grep, Glob.

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?

No licence was found for React or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does React use?

About 1.5k tokens (SKILL.md is roughly 6.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 16k tokens, read only when the agent opens those files.

What are the alternatives to React?

Skills that share tags, products or a category with React: React Native Testing (callstackincubator/agent-skills, 1.7k stars), Jest Testing (aiskillstore/marketplace, 430 stars), Tooling Setup (MadAppGang/claude-code, 284 stars) and Cometchat React Native Testing (cometchat/cometchat-skills, 130 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains React?

pedronauck (a GitHub user) maintains it in pedronauck/skills, which has 634 GitHub stars. The repository holds 65 skills in this directory. The repository was last updated on September 14, 2026.

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