react-best-practices
关于 react-best-practices
全面的 React 和 Next.js 性能优化指南,包含 40 多条规则,涵盖消除瀑布流、优化打包体积和改善渲染。适用于优化 React 应用、审查性能或重构组件时。
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / shapeshift/ web --skill react-best-practices安装后在 Claude Code 中输入/react-best-practices确认已加载。
包含的文件
除 SKILL.md 外,安装时一起下载的参考资料和脚本。
references/react-performance-guidelines.mdreferences/rules/_sections.md_template.mdadvanced-event-handler-refs.mdadvanced-use-latest.mdasync-api-routes.mdasync-defer-await.mdasync-dependencies.mdasync-parallel.mdasync-suspense-boundaries.mdbundle-barrel-imports.mdbundle-conditional.mdbundle-defer-third-party.mdbundle-dynamic-imports.mdbundle-preload.mdclient-event-listeners.mdclient-swr-dedup.mddownload_rules.shjs-batch-dom-css.mdjs-cache-function-results.mdjs-cache-property-access.mdjs-cache-storage.mdjs-combine-iterations.mdjs-early-exit.mdjs-hoist-regexp.mdjs-index-maps.mdjs-length-check-first.mdjs-min-max-loop.mdjs-set-map-lookups.mdjs-tosorted-immutable.md评论
支持 Markdown