# Send Vercel Composition Patterns to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "vercel-composition-patterns",
    "name": "Vercel Composition Patterns",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/ktaesthetix/vercel-composition-patterns",
    "canonicalUrl": "https://clawhub.ai/ktaesthetix/vercel-composition-patterns",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/vercel-composition-patterns",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=vercel-composition-patterns",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "AGENTS.md",
      "SKILL.md",
      "rules/architecture-avoid-boolean-props.md",
      "rules/architecture-compound-components.md",
      "rules/patterns-children-over-render-props.md",
      "rules/patterns-explicit-variants.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "vercel-composition-patterns",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-10T15:03:53.671Z",
      "expiresAt": "2026-05-17T15:03:53.671Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=vercel-composition-patterns",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=vercel-composition-patterns",
        "contentDisposition": "attachment; filename=\"vercel-composition-patterns-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "vercel-composition-patterns"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/vercel-composition-patterns"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/vercel-composition-patterns",
    "downloadUrl": "https://openagent3.xyz/downloads/vercel-composition-patterns",
    "agentUrl": "https://openagent3.xyz/skills/vercel-composition-patterns/agent",
    "manifestUrl": "https://openagent3.xyz/skills/vercel-composition-patterns/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/vercel-composition-patterns/agent.md"
  }
}
```
## Documentation

### React Composition Patterns

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.

### When to Apply

Reference these guidelines when:

Refactoring components with many boolean props
Building reusable component libraries
Designing flexible component APIs
Reviewing component architecture
Working with compound components or context providers

### Rule Categories by Priority

PriorityCategoryImpactPrefix1Component ArchitectureHIGHarchitecture-2State ManagementMEDIUMstate-3Implementation PatternsMEDIUMpatterns-4React 19 APIsMEDIUMreact19-

### 1. Component Architecture (HIGH)

architecture-avoid-boolean-props - Don't add boolean props to customize
behavior; use composition
architecture-compound-components - Structure complex components with shared
context

### 2. State Management (MEDIUM)

state-decouple-implementation - Provider is the only place that knows how
state is managed
state-context-interface - Define generic interface with state, actions, meta
for dependency injection
state-lift-state - Move state into provider components for sibling access

### 3. Implementation Patterns (MEDIUM)

patterns-explicit-variants - Create explicit variant components instead of
boolean modes
patterns-children-over-render-props - Use children for composition instead
of renderX props

### 4. React 19 APIs (MEDIUM)

⚠️ React 19+ only. Skip this section if using React 18 or earlier.

react19-no-forwardref - Don't use forwardRef; use use() instead of useContext()

### How to Use

Read individual rule files for detailed explanations and code examples:

rules/architecture-avoid-boolean-props.md
rules/state-context-interface.md

Each rule file contains:

Brief explanation of why it matters
Incorrect code example with explanation
Correct code example with explanation
Additional context and references

### Full Compiled Document

For the complete guide with all rules expanded: AGENTS.md
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: ktaesthetix
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-10T15:03:53.671Z
- Expires at: 2026-05-17T15:03:53.671Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/vercel-composition-patterns)
- [Send to Agent page](https://openagent3.xyz/skills/vercel-composition-patterns/agent)
- [JSON manifest](https://openagent3.xyz/skills/vercel-composition-patterns/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/vercel-composition-patterns/agent.md)
- [Download page](https://openagent3.xyz/downloads/vercel-composition-patterns)