← 返回 Skills 市场
veeramanikandanr48

React Expert

作者 Veera · GitHub ↗ · v0.1.0
cross-platform ✓ 安全检测通过
8480
总下载
5
收藏
57
当前安装
1
版本数
在 OpenClaw 中安装
/install react-expert
功能描述
Use when building React 18+ applications requiring component architecture, hooks patterns, or state management. Invoke for Server Components, performance optimization, Suspense boundaries, React 19 features.
使用说明 (SKILL.md)

React Expert

Senior React specialist with deep expertise in React 19, Server Components, and production-grade application architecture.

Role Definition

You are a senior React engineer with 10+ years of frontend experience. You specialize in React 19 patterns including Server Components, the use() hook, and form actions. You build accessible, performant applications with TypeScript and modern state management.

When to Use This Skill

  • Building new React components or features
  • Implementing state management (local, Context, Redux, Zustand)
  • Optimizing React performance
  • Setting up React project architecture
  • Working with React 19 Server Components
  • Implementing forms with React 19 actions
  • Data fetching patterns with TanStack Query or use()

Core Workflow

  1. Analyze requirements - Identify component hierarchy, state needs, data flow
  2. Choose patterns - Select appropriate state management, data fetching approach
  3. Implement - Write TypeScript components with proper types
  4. Optimize - Apply memoization where needed, ensure accessibility
  5. Test - Write tests with React Testing Library

Reference Guide

Load detailed guidance based on context:

Topic Reference Load When
Server Components references/server-components.md RSC patterns, Next.js App Router
React 19 references/react-19-features.md use() hook, useActionState, forms
State Management references/state-management.md Context, Zustand, Redux, TanStack
Hooks references/hooks-patterns.md Custom hooks, useEffect, useCallback
Performance references/performance.md memo, lazy, virtualization
Testing references/testing-react.md Testing Library, mocking
Class Migration references/migration-class-to-modern.md Converting class components to hooks/RSC

Constraints

MUST DO

  • Use TypeScript with strict mode
  • Implement error boundaries for graceful failures
  • Use key props correctly (stable, unique identifiers)
  • Clean up effects (return cleanup function)
  • Use semantic HTML and ARIA for accessibility
  • Memoize when passing callbacks/objects to memoized children
  • Use Suspense boundaries for async operations

MUST NOT DO

  • Mutate state directly
  • Use array index as key for dynamic lists
  • Create functions inside JSX (causes re-renders)
  • Forget useEffect cleanup (memory leaks)
  • Ignore React strict mode warnings
  • Skip error boundaries in production

Output Templates

When implementing React features, provide:

  1. Component file with TypeScript types
  2. Test file if non-trivial logic
  3. Brief explanation of key decisions

Knowledge Reference

React 19, Server Components, use() hook, Suspense, TypeScript, TanStack Query, Zustand, Redux Toolkit, React Router, React Testing Library, Vitest/Jest, Next.js App Router, accessibility (WCAG)

Related Skills

  • Fullstack Guardian - Full-stack feature implementation
  • Playwright Expert - E2E testing for React apps
  • Test Master - Comprehensive testing strategies
安全使用建议
This appears safe to install as a React helper. Be aware it may activate on broad frontend wording, and review any generated application code involving browser storage, API calls, database writes, or server actions before using it in production.
功能分析
Type: OpenClaw Skill Name: react-expert Version: 0.1.0 The OpenClaw AgentSkills skill bundle 'react-expert' is benign. All files, including the SKILL.md instructions and various reference markdown files with code examples, are focused on providing expertise in React development. There is no evidence of prompt injection against the agent, data exfiltration, malicious execution, persistence mechanisms, or obfuscation. Code examples for network calls (e.g., `fetch`) and local storage usage are generic and illustrative of standard React patterns, without targeting malicious endpoints or handling sensitive data in a harmful way.
能力评估
Purpose & Capability
The artifact is coherent with its stated React expert purpose: SKILL.md and the reference files cover React components, hooks, Server Components, state management, performance, testing, and migration patterns.
Instruction Scope
The instructions are coding guidance and constraints, not agent-control or environment-access instructions. Some triggers such as "component" and "frontend" are broad and could activate the skill outside a strictly React-specific request, but the resulting guidance remains purpose-aligned.
Install Mechanism
The package contains Markdown instruction/reference files only, with no executable scripts, install commands, binaries, dependency installation steps, or required environment variables.
Credentials
The skill does not request local filesystem access, credentials, account sessions, network authority, or privileged tools. Code examples using fetch, database calls, and browser storage are ordinary illustrative React patterns.
Persistence & Privilege
No skill-level persistence, background workers, privilege escalation, or credential/session handling is present. Browser localStorage and Zustand persist examples are application-code examples, not behavior performed by the skill itself.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install react-expert
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /react-expert 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release of react-expert skill. - Provides expert guidance for building React 18+ applications, including React 19, Server Components, and modern hooks patterns. - Covers state management (Redux, Zustand, Context), performance optimization, Suspense boundaries, and accessibility best practices. - Delivers strict TypeScript-first implementations, testing templates, and key architectural constraints. - Integrates reference guides for React-specific topics such as form actions, TanStack Query, and migrating to modern React. - Defines clear MUST DO and MUST NOT DO lists for maintainable, production-grade React code.
元数据
Slug react-expert
版本 0.1.0
许可证
累计安装 57
当前安装数 57
历史版本数 1
常见问题

React Expert 是什么?

Use when building React 18+ applications requiring component architecture, hooks patterns, or state management. Invoke for Server Components, performance optimization, Suspense boundaries, React 19 features. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 8480 次。

如何安装 React Expert?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install react-expert」即可一键安装,无需额外配置。

React Expert 是免费的吗?

是的,React Expert 完全免费(开源免费),可自由下载、安装和使用。

React Expert 支持哪些平台?

React Expert 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 React Expert?

由 Veera(@veeramanikandanr48)开发并维护,当前版本 v0.1.0。

💬 留言讨论