‹ 首页

react

@qianleigood · 收录于 昨天 · 上游提交 1 个月前

Use when the main complexity is React engineering, including component architecture, hooks, React 19, rendering behavior, state separation, forms, performance, or React-specific debugging.

适合你,如果要使用 React 构建用户界面

/ 通过 npx 安装 校验哈希
npx oh-my-skill add qianleigood/crawclaw/react
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- qianleigood/crawclaw/react
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify qianleigood/crawclaw/react
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
30GitHub stars
~348最小装载
~708含声明引用
~1.3K文本包总量
索引托管

怎么用

商店整理自技能原文 · 版本 f27e175 · 表述以原文为准
它做什么

Claude 会按照生产级 React 工程实践指导你,包括组件架构、hooks、性能调优、状态管理等,并在实现前要求明确决策。

什么时候触发

当主要复杂性在于 React 工程(组件架构、hooks、React 19 等)时触发,或你主动请求 React 工程指导。

装好后可以这样说
触发状态分离和表单方案决策。
触发性能调优规则。
技能原文 SKILL.md作者撰写 · MIT · f27e175

React

Production-grade React engineering guidance.

When to use

Use this skill when the main challenge is specifically React:

  • components and page architecture
  • hooks and rendering behavior
  • React 19 features
  • client/server state separation
  • React performance tuning
  • React-specific debugging and setup
Core decisions

Before implementation, decide:

  • rendering mode
  • server-state approach
  • client-state approach
  • styling approach
  • forms approach

Hard rule: server state and client state are different concerns.

Working rules
  • Keep component responsibilities tight.
  • Prefer named exports.
  • Keep files and JSX blocks from growing without bound.
  • Treat hook order and effect cleanup as non-negotiable.
  • Fix rendering traps before adding clever abstractions.
Reference routing
Architecture and state

Read references/architecture-and-state.md when you need:

  • architecture decisions
  • component rules
  • state management defaults
React 19 and performance

Read references/react-19-and-performance.md when you need:

  • Server Components
  • use()
  • useActionState
  • performance rules and rendering pitfalls
Traps and setup

Read references/traps-and-setup.md when you need:

  • common hook / rendering / fetching traps
  • setup guidance
  • routing between this skill and neighboring skills
Neighboring skill boundaries
  • Use frontend-dev when the job is broader product-facing frontend experience, visual polish, motion, and content.
  • Use fullstack-dev when the job spans frontend plus backend/application architecture.
  • Use this skill when the work is mostly about React engineering itself.
按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。