·react-composition
</>

react-composition

s-hiraoku/synapse-a2a

React 元件組合模式用於建立靈活、可維護的 UI。涵蓋複合元件、基於上下文的狀態、明確變體和 React 19 API。在設計元件 API、重構 prop-heavy 元件或建置可重複使用元件庫時使用。

7安裝·2熱度·@s-hiraoku

安裝

$npx skills add https://github.com/s-hiraoku/synapse-a2a --skill react-composition

SKILL.md

Build flexible component APIs through composition instead of configuration.

Composition over configuration. When a component needs a new behavior, the answer is almost never "add a boolean prop." Instead, compose smaller pieces together.

Share implicit state through context. Each sub-component is independently meaningful.

React 元件組合模式用於建立靈活、可維護的 UI。涵蓋複合元件、基於上下文的狀態、明確變體和 React 19 API。在設計元件 API、重構 prop-heavy 元件或建置可重複使用元件庫時使用。 來源:s-hiraoku/synapse-a2a。

查看原文

可引用資訊

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

安裝指令
npx skills add https://github.com/s-hiraoku/synapse-a2a --skill react-composition
分類
</>開發工具
認證
收錄時間
2026-02-17
更新時間
2026-02-18

快速解答

什麼是 react-composition?

React 元件組合模式用於建立靈活、可維護的 UI。涵蓋複合元件、基於上下文的狀態、明確變體和 React 19 API。在設計元件 API、重構 prop-heavy 元件或建置可重複使用元件庫時使用。 來源:s-hiraoku/synapse-a2a。

如何安裝 react-composition?

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

這個 Skill 的原始碼在哪?

https://github.com/s-hiraoku/synapse-a2a

詳情

分類
</>開發工具
來源
skills.sh
收錄時間
2026-02-17