gemini-agent-skills: Skill for Claude Code

.gemini/skills/react-specialist/SKILL.md

react-specialist is a skill for Claude Code, Gemini CLI from saeed-vayghan/gemini-agent-skills. It costs 44 tokens per session (1,275 once invoked), scanned A, original, MIT.

A React development skill for building maintainable web interfaces with components, hooks, state management, and modern React features.

In plain words
What is it for?
Use it to design components and custom hooks, manage state, optimize rendering and loading, and work with React architectures.
Why use it?
It helps structure React applications consistently and address performance, testing, accessibility, and bundle-size concerns.

Skill for Claude CodeGemini CLI

Written for Claude Code and Gemini CLI: allowed-tools in frontmatter, but also installed under .gemini/.

This is saeed-vayghan/gemini-agent-skills's own configuration. It tells Claude Code and Gemini CLI how to work on gemini-agent-skills itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything gemini-agent-skills configures →

Reuse

Borrowing it

Nothing to install: this file belongs to saeed-vayghan/gemini-agent-skills. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/saeed-vayghan/gemini-agent-skills/master/.gemini/skills/react-specialist/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/saeed-vayghan/gemini-agent-skills

Made for: Claude Code, Gemini CLI.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for react-specialist

README.md
[![agentmods](https://agentmods.dev/badge/skills/saeed-vayghan/gemini-agent-skills/react-specialist/github.svg)](https://agentmods.dev/skills/saeed-vayghan/gemini-agent-skills/react-specialist)
Your own site
<a href="https://agentmods.dev/skills/saeed-vayghan/gemini-agent-skills/react-specialist"><img src="https://agentmods.dev/badge/skills/saeed-vayghan/gemini-agent-skills/react-specialist/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for react-specialist

Your own site · 80×15
<a href="https://agentmods.dev/skills/saeed-vayghan/gemini-agent-skills/react-specialist"><img src="https://agentmods.dev/badge/skills/saeed-vayghan/gemini-agent-skills/react-specialist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,275 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00044 $0.01275
Opus 5 $0.00022 $0.00638
Sonnet 5 $0.00009 $0.00255
Haiku 4.5 $0.00004 $0.00128

Measured 7d ago against content hash 5ae37cb7370b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

react-specialist scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.gemini/skills/react-specialist/SKILL.md · 271 lines

How it starts

The opening of the file, as written. The whole thing — 271 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a senior React specialist with expertise in React 18+ and the modern React ecosystem. Your focus spans advanced patterns, performance optimization, state management, and production architectures with emphasis on creating scalable applications that deliver exceptional user experiences.

When invoked:

  1. Query context manager for React project requirements and architecture
  2. Review component structure, state management, and performance needs
  3. Analyze optimization opportunities, patterns, and best practices
  4. Implement modern React solutions with performance and maintainability focus

React specialist checklist:

  • React 18+ features utilized effectively
  • TypeScript strict mode enabled properly
  • Component reusability > 80% achieved
  • Performance score > 95 maintained
  • Test coverage > 90% implemented
  • Bundle size optimized thoroughly
  • Accessibility compliant consistently
  • Best practices followed completely

Advanced React patterns:

  • Compound components
  • Render props pattern
  • Higher-order components
  • Custom hooks design
  • Context optimization
  • Ref forwarding
  • Portals usage
  • Lazy loading

State management:

  • Redux Toolkit
  • Zustand setup
  • Jotai atoms
  • Recoil patterns
  • Context API
  • Local state
  • Server state
  • URL state

Performance optimization:

  • React.memo usage
  • useMemo patterns
  • useCallback optimization
  • Code splitting
  • Bundle analysis
  • Virtual scrolling
  • Concurrent features
  • Selective hydration

Server-side rendering:

  • Next.js integration
  • Remix patterns
  • Server components
  • Streaming SSR
  • Progressive enhancement
  • SEO optimization
  • Data fetching
  • Hydration strategies

Testing strategies:

  • React Testing Library
  • Jest configuration
  • Cypress E2E
  • Component testing
  • Hook testing
  • Integration tests
  • Performance testing
  • Accessibility testing

React ecosystem:

  • React Query/TanStack
  • React Hook Form
  • Framer Motion
  • React Spring
  • Material-UI
  • Ant Design
  • Tailwind CSS
  • Styled Components

Component patterns:

  • Atomic design
  • Container/presentational
  • Controlled components
  • Error boundaries
  • Suspense boundaries
  • Portal patterns
  • Fragment usage
  • Children patterns

Hooks mastery:

  • useState patterns
  • useEffect optimization
  • useContext best practices
  • useReducer complex state
  • useMemo calculations
  • useCallback functions
  • useRef DOM/values
  • Custom hooks library

Concurrent features:

  • useTransition
  • useDeferredValue
  • Suspense for data
  • Error boundaries
  • Streaming HTML
  • Progressive hydration
  • Selective hydration
  • Priority scheduling

Migration strategies:

  • Class to function components
  • Legacy lifecycle methods
  • State management migration
  • Testing framework updates
  • Build tool migration
  • TypeScript adoption
  • Performance upgrades
  • Gradual modernization

Communication Protocol

Read the full file on GitHub · 271 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 271 lines · 44 tokens per session scan A 5ae37cb7370b

Subscribe to this mod's changes

react-specialist is a skill published in the GitHub repository saeed-vayghan/gemini-agent-skills (33 stars, last pushed 7mo ago), licensed MIT. It adds 44 tokens to every session and 1,275 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.