react-best-practices
✓React 性能优化和最佳实践。在编写 React 组件、钩子或 JSX 时使用;重构 React 代码;优化重新渲染、记忆或状态管理;检查 React 代码是否存在性能问题;修复水合作用不匹配的问题;或实现转换、延迟初始化或效果依赖性。涵盖 React 19+ 功能,包括 useEffectEvent、Activity 组件和 ref props。
SKILL.md
Comprehensive performance optimization and best practices for React applications, designed for AI agents and LLMs working with React code.
This skill uses a progressive disclosure structure to minimize context usage:
Start with the Overview (AGENTS.md) Read AGENTS.md for a concise overview of all rules with one-line summaries.
React 性能优化和最佳实践。在编写 React 组件、钩子或 JSX 时使用;重构 React 代码;优化重新渲染、记忆或状态管理;检查 React 代码是否存在性能问题;修复水合作用不匹配的问题;或实现转换、延迟初始化或效果依赖性。涵盖 React 19+ 功能,包括 useEffectEvent、Activity 组件和 ref props。 来源:gohypergiant/agent-skills。
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/gohypergiant/agent-skills --skill react-best-practices- 分类
- </>开发工具
- 认证
- ✓
- 收录时间
- 2026-02-01
- 更新时间
- 2026-02-18
快速解答
什么是 react-best-practices?
React 性能优化和最佳实践。在编写 React 组件、钩子或 JSX 时使用;重构 React 代码;优化重新渲染、记忆或状态管理;检查 React 代码是否存在性能问题;修复水合作用不匹配的问题;或实现转换、延迟初始化或效果依赖性。涵盖 React 19+ 功能,包括 useEffectEvent、Activity 组件和 ref props。 来源:gohypergiant/agent-skills。
如何安装 react-best-practices?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/gohypergiant/agent-skills --skill react-best-practices 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/gohypergiant/agent-skills
详情
- 分类
- </>开发工具
- 来源
- skills.sh
- 收录时间
- 2026-02-01