callstackincubator/apex-software-factory / .agents/skills/vercel-composition-patterns
vercel-composition-patterns
VerifiedReact composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 2.8 KB |
| SOURCE.md | markdown | 969 B |
| rules/_sections.md | markdown | 829 B |
| rules/_template.md | markdown | 329 B |
| rules/architecture-avoid-boolean-props.md | markdown | 2.2 KB |
| rules/architecture-compound-components.md | markdown | 2.5 KB |
| rules/patterns-children-over-render-props.md | markdown | 1.8 KB |
| rules/patterns-explicit-variants.md | markdown | 2.3 KB |
| rules/react19-no-forwardref.md | markdown | 958 B |
| rules/state-context-interface.md | markdown | 4.9 KB |
| rules/state-decouple-implementation.md | markdown | 2.6 KB |
| rules/state-lift-state.md | markdown | 3.2 KB |
SOURCE.md
View on GitHub# Source
- Upstream: https://github.com/vercel-labs/agent-skills, commit
`063bee94c3f4df8453406c830b0a7df0f2860278` (read 2026-10-05). MIT License (the repository's
README; no license file).
- Files: `skills/composition-patterns/SKILL.md` and `rules/` → this directory.
## Local changes
- Formatted with `pnpm format` (oxfmt), like the rest of the repository; re-run it after an
update.
- `metadata.opencode/autoinvoke: false` added to the frontmatter: the skill is left out of every
agent's skill list, and only the implementer may load it, by name, from the table in the
`implement` skill (ADR 0022).
- Left out: `AGENTS.md` (the rules compiled into one file; an `AGENTS.md` here would read as
instructions for this directory), `README.md`, `metadata.json`, and the "Full Compiled
Document" section that pointed at `AGENTS.md`.
## Updating
Take `SKILL.md` and `rules/` from a newer commit, re-apply the changes above, and update the
commit here.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 321k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |