·vercel-composition-patterns
</>

vercel-composition-patterns

vercel-labs/agent-skills

反應可擴展的組合模式。在通過布爾屬性擴散重構組件、構建靈活的組件庫或設計可重用的 API 時使用。觸發涉及復合組件、渲染道具、上下文提供程序或組件架構的任務。

0安裝·0熱度·@vercel-labs

安裝

$npx skills add https://github.com/vercel-labs/agent-skills --skill vercel-composition-patterns

SKILL.md

Composition patterns for building flexible, maintainable React components. Avoid boolean prop proliferation by using compound components, lifting state, and composing internals. These patterns make codebases easier for both humans and AI agents to work with as they scale.

| 1 | Component Architecture | HIGH | architecture- | | 2 | State Management | MEDIUM | state- | | 3 | Implementation Patterns | MEDIUM | patterns- |

Read individual rule files for detailed explanations and code examples:

反應可擴展的組合模式。在通過布爾屬性擴散重構組件、構建靈活的組件庫或設計可重用的 API 時使用。觸發涉及復合組件、渲染道具、上下文提供程序或組件架構的任務。 來源:vercel-labs/agent-skills。

查看原文

可引用資訊

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

安裝指令
npx skills add https://github.com/vercel-labs/agent-skills --skill vercel-composition-patterns
分類
</>開發工具
認證
收錄時間
2026-02-05
更新時間
2026-02-18

快速解答

什麼是 vercel-composition-patterns?

反應可擴展的組合模式。在通過布爾屬性擴散重構組件、構建靈活的組件庫或設計可重用的 API 時使用。觸發涉及復合組件、渲染道具、上下文提供程序或組件架構的任務。 來源:vercel-labs/agent-skills。

如何安裝 vercel-composition-patterns?

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

這個 Skill 的原始碼在哪?

https://github.com/vercel-labs/agent-skills