·react-best-practices
</>

react-best-practices

dedalus-erp-pas/foundation-skills

全面的 React 和 Next.js 最佳實踐指南,涵蓋性能優化、組件架構、shadcn/ui 模式、運動動畫和現代 React 19+ 模式。在編寫、審查或重構 React/Next.js 代碼時應該使用此技能。觸發涉及 React 組件、Next.js 頁面、數據獲取、UI 組件、動畫或代碼質量改進的任務。

61安裝·1熱度·@dedalus-erp-pas

安裝

$npx skills add https://github.com/dedalus-erp-pas/foundation-skills --skill react-best-practices

SKILL.md

Comprehensive guide for building modern React and Next.js applications. Covers performance optimization, component architecture, shadcn/ui patterns, Motion animations, accessibility, and React 19+ features.

| 1 | Component Architecture | CRITICAL | arch- | | 2 | Eliminating Waterfalls | CRITICAL | async- | | 3 | Bundle Size Optimization | CRITICAL | bundle- | | 4 | Server Components & Actions | HIGH | server- | | 5 | shadcn/ui Patterns | HIGH | shadcn- | | 6 | State Management | MEDIUM-HIGH | state- | | 7 | Motion & Animations | MEDIUM | motion- |

| 8 | Re-render Optimization | MEDIUM | rerender- | | 9 | Accessibility | MEDIUM | a11y- | | 10 | TypeScript Patterns | MEDIUM | ts- |

查看原文

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/dedalus-erp-pas/foundation-skills --skill react-best-practices
分類
</>開發工具
認證
收錄時間
2026-02-01
更新時間
2026-02-18

快速解答

什麼是 react-best-practices?

全面的 React 和 Next.js 最佳實踐指南,涵蓋性能優化、組件架構、shadcn/ui 模式、運動動畫和現代 React 19+ 模式。在編寫、審查或重構 React/Next.js 代碼時應該使用此技能。觸發涉及 React 組件、Next.js 頁面、數據獲取、UI 組件、動畫或代碼質量改進的任務。 來源:dedalus-erp-pas/foundation-skills。

如何安裝 react-best-practices?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/dedalus-erp-pas/foundation-skills --skill react-best-practices 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用

這個 Skill 的原始碼在哪?

https://github.com/dedalus-erp-pas/foundation-skills