跳转到主要内容
核验档案 覆盖 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
跨平台通用
查看详情