·react-best-practices
</>

react-best-practices

mastra-ai/mastra

来自 Mastra Engineering 的 React 性能优化指南。在编写、审查或重构 React 代码时应使用此技能,以确保最佳性能模式。触发涉及 React 组件、数据获取、捆绑优化或性能改进的任务。

74安装·2热度·@mastra-ai

安装

$npx skills add https://github.com/mastra-ai/mastra --skill react-best-practices

SKILL.md

Comprehensive performance optimization guide for React applications, containing 12 rules across 6 categories. Rules are prioritized by impact to guide automated refactoring and code generation.

| 1 | Eliminating Waterfalls | CRITICAL | | 2 | Bundle Size Optimization | CRITICAL | | 3 | Client-Side Data Fetching | MEDIUM-HIGH | | 4 | Re-render Optimization | MEDIUM | | 5 | Rendering Performance | MEDIUM | | 6 | JavaScript Performance | LOW-MEDIUM |

To look up a specific pattern, grep the rules directory:

来自 Mastra Engineering 的 React 性能优化指南。在编写、审查或重构 React 代码时应使用此技能,以确保最佳性能模式。触发涉及 React 组件、数据获取、捆绑优化或性能改进的任务。 来源:mastra-ai/mastra。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/mastra-ai/mastra --skill react-best-practices
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 react-best-practices?

来自 Mastra Engineering 的 React 性能优化指南。在编写、审查或重构 React 代码时应使用此技能,以确保最佳性能模式。触发涉及 React 组件、数据获取、捆绑优化或性能改进的任务。 来源:mastra-ai/mastra。

如何安装 react-best-practices?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/mastra-ai/mastra --skill react-best-practices 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/mastra-ai/mastra

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-02-01