跳至主要內容
核驗檔案 涵蓋 Claude、ChatGPT、Gemini、Copilot 與 Codex 的跨平台 AI Skills · 快照核驗日期 2026-11-30 瀏覽目錄
Skill 開發與工程 第一方維護

Composition Patterns

Build reusable React APIs with clear composition and state ownership.

維護方: Vercel 跨平台通用
安裝指令
npx skills add vercel-labs/agent-skills --skill vercel-composition-patterns

本站不執行任何安裝指令,請在核驗原始來源後再於本機環境執行。

安裝前安全與風險提示

導入正式或敏感專案前,請審視上游程式碼、所需憑證、遙測與資料外傳行為、寫入權限及授權條款。

能力概述

MIT-licensed patterns show how to structure components with composition, context, and render APIs. Keep context narrow and abstractions justified so state remains understandable.

典型使用情境

  1. 01

    Replace deeply nested component props with composable APIs

  2. 02

    Design focused context providers

  3. 03

    Refactor a component library around explicit render boundaries

原始來源

前往維護方原始倉庫或官方文件核驗最新版本與說明。

https://github.com/vercel-labs/agent-skills/tree/main/skills/composition-patterns

前往原始來源

相關推薦資源

相近工作流領域下其他經核驗的能力。

返回完整檔案
Skill 第一方維護

React Best Practices

Vercel 開發與工程 3.5萬

Improve React and Next.js performance with Vercel’s engineering patterns.

React Next.js Performance
跨平台通用
查看詳情
Skill 第一方維護

React View Transitions

Vercel 開發與工程 3.5萬

Add purposeful route, shared-element, and enter-exit transitions in React.

React Animation Navigation
跨平台通用
查看詳情
Skill 第一方維護

JSON Render React

Vercel 開發與工程 2萬

Render JSON Render specifications as React interfaces.

react JSON Render Rendering
跨平台通用
查看詳情