react-composition
✓React 组件组合模式用于构建灵活、可维护的 UI。涵盖复合组件、基于上下文的状态、显式变体和 React 19 API。在设计组件 API、重构 prop-heavy 组件或构建可重用组件库时使用。
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