react
Skill0 starsChanged 5 months agoMITView on GitHub
React development guidance for components, hooks, state management, Server Components, performance boundaries, and TypeScript TSX patterns. Use when building or reviewing React/Next.js UI, hooks, or frontend state flow.
30 other projects use a version of this.
Adopted by
Most recently taken up by
- lobehub/lobehubtheir own version, first seen Oct 1, 2026
- compozy/compozytheir own version, first seen Oct 1, 2026
- vercel-labs/json-rendertheir own version, first seen Sep 23, 2026
- dafaalz/agent-skillstheir own version, first seen Sep 22, 2026
- AvilaCarlosDev/openclaw-skillstheir own version, first seen Sep 19, 2026
- danielteles/awesome-agent-skillstheir own version, first seen Sep 2, 2026
Used with
Projects with it also use app-renderer-systems, refactoring-analysis and 8 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
pedronauckSkillapp-renderer-systems
Create, extend, or debug frontend domain modules organized under systems/. Covers adapters, Query hooks, local state, and public exports; excludes generic components and backend implementation.
Also in 3 projects that use this
pedronauckSkillrefactoring-analysis
Audit code quality and architectural health or plan refactoring using Fowler code smells and techniques; write prioritized findings to docs/_refacs/. Excludes formatting, performance, and security audits.
Also in 3 projects that use this
MindrallySkillprisma
Expert in Prisma ORM with type-safe database operations and schema design
Also in 4 projects that use this
joabgonzalezSkillexpress
Express.js routing, middleware, and error handling. Trigger: When building REST APIs or server logic with Express.
Also in 3 projects that use this
barisariburnuSkilltanstack
Expert assistance for TanStack Router, Query (v5), and Table (v8). Use when users need help with file-based routing, type-safe navigation, data loading, search params, queries, mutations, optimistic updates, infinite queries, table state management, or debugging TanStack libraries.
Also in 3 projects that use this
MindrallySkillflutter
Expert in Flutter and Dart development with clean architecture and state management
Also in 3 projects that use this
- +1 more from pedronauck
- +1 more from Mindrally
Other versions30 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 30
- lobehub/lobehub★ 83ksame name
- vercel-labs/json-render★ 18ksame name
- compozy/compozy★ 2.8ksame name
- openops-cloud/openops★ 1.1ksame name
- pedronauck/skills★ 633same name
- Mindrally/skills★ 266same name
- magnus919/agent-skills★ 109same name
- dylantarre/design-system-skills★ 50same name
- nimadorostkar/Claude-Skills-collection★ 28same name
- sordi-ai/skill-everything★ 20same name
20 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository33 other files it gives its agents.
- AGENTS.mdAGENTS.md
- api-designSkill
- architecture-consultantSkill
- backend-patternsSkill
- ci-cdSkill
- code-reviewSkill
- containersSkill
- database-migrationsSkill
- doc-generatorSkill
- git-workflowSkill
- go-reviewSkill
- luaSkill
- markdownSkill
- nginxSkill
- nodejsSkill
- observabilitySkill
- product-managerSkill
- project-standards-initSkill
- prompt-designSkill
- python-reviewSkill
- redisSkill
- relay-imagegenSkill
- releaseSkill
- security-baselineSkill
- semi-mcp-setupSkill
- tailwindcssSkill
- test-engineeringSkill
- tibishu-note-searchSkill
- tibishu-notesSkill
- typescript-reviewSkill
- unity-csharpSkill
- validation-lintSkill
- vueSkill
The file
Files
Skill: React Development
本 Skill 专注于 React 生态的开发与架构指导,涵盖从客户端组件到服务器组件 (RSC) 的全栈思维转换。
🎯 触发条件
当以下情况发生时启用:
- "写一个 React 组件"
- "帮我优化一下这个 Hooks 的性能"
- "如何设计这个自定义 Hooks?"
- "在 React 项目中实现状态管理方案"
👉 自动启用本 Skill
🎯 Purpose
提供现代 React 开发的深度指导,强调 Hooks 的地道用法、并发模式下的性能优化以及现代框架(如 Next.js)的架构设计。
🧩 Capabilities
- Atomic Design 架构引导:指导将 UI 拆分为原子 (Atoms)、分子 (Molecules)、组织 (Organisms)、模板 (Templates) 和页面 (Pages),提升组件的可复用性。
- 状态管理决策:
- 服务端状态 (TanStack Query):规范数据获取、缓存、自动同步及乐观更新逻辑。
- 客户端状态 (Zustand):指导轻量级全局状态管理,强调微 Store 设计与 Selector 性能优化。
- Hooks 地道开发模式:
- 逻辑与 UI 分离:通过自定义 Hooks 封装极其复杂的业务逻辑,保持组件纯粹。
- 复合组件模式 (Compound Components):解决深层 Props 传递问题,提供灵活的 API。
- 性能优化规范:利用 React Compiler 或
useMemo/useCallback减少非必要渲染,并利用Suspense与错误边界 (Error Boundaries) 提升韧性。 - RSC 与全栈思维:指导 Next.js/Remix 场景下服务器组件与客户端组件的合理分界。
🔍 能力溯源 (Source Mapping)
| 能力 | 来源 | 类型 |
| Atomic Design 架构 | atomic-design-methodology | ✅ 整合外部优质模式 |
| TanStack Query 规范 | server-state-patterns | ✅ 整合外部优质模式 |
| Zustand 微 Store 设计 | zustand-best-practices | ✅ 整合外部优质模式 |
| 复合组件模式 | react-design-patterns | ✅ 整合外部优质模式 |
📚 参考资料 (References)
🧠 Usage
当以下情况发生时调用:
- 构建复杂的 React 组件树或自定义 Hooks 时。
- 决定项目在 RSC 与 Client Components 之间的架构分配时。
- 处理 React 合成事件、Refs 或与第三方 DOM 库交互时。
📥 Input
- 组件层级图或功能需求。
- 现有的 React JSX/TSX 代码。
- 目标 React 版本与框架版本。
📤 Output
- 高内聚低耦合的 React 组件定义 (TSX)。
- 健壮的自定义 Hooks 实现。
- 性能评估报告与优化建议。
⚠️ Constraints
- ✅ Props 驱动 UI:严禁在子组件内部直接修改外部传入的 Props。
- ✅ 逻辑隔离:复杂的副作用 (Side Effects) 必须封装在自定义 Hooks 中。
- ✅ 非必要渲染预防:必须使用性能分析工具确认重渲染边界是否合理。
- ✅ 类型完整性:所有状态、Props 与 Actions 必须提供完整的 TS 定义。
- ✅ 禁止渲染循环副作用:严禁在渲染过程中直接修改状态或产生可观测副作用。
🔗 Related Skills
- typescript-review: 涉及 TSX 中的类型安全审计。
- backend-patterns: 在全栈开发(如 Next.js)中涉及的架构模式。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

