React patterns

From maxyeh0817/Forge · View interactive version

React patterns is an AI agent skill from the GitHub repository maxyeh0817/Forge. React/Next.js 開發模式。定義元件結構、狀態管理、路由模式等。 Frontend Dev agent 應注入此 skill。

How to use this skill

Skill file

React Patterns 規範

Next.js App Router 慣例

元件結構

1. imports

2. types/interfaces

3. 常數

4. 元件函數

5. export

狀態管理

樣式

常見模式

效能

已知注意事項

(由 QA 迭代時追加)

詳細模式參考:references/patterns.md

歷史教訓:references/lessons.md

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.