academy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends…
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.
Claude Code
$ npx -y skills add guanyang/open-agent-hub --skill composition-patterns --agent claude-code
Codex
$ npx skills add guanyang/open-agent-hub --skill composition-patterns -a codex -y
Cursor
$ npx skills add guanyang/open-agent-hub --skill composition-patterns -a cursor -y
Gemini CLI
$ npx skills add guanyang/open-agent-hub --skill composition-patterns -a gemini-cli -y
GitHub Copilot
$ npx skills add guanyang/open-agent-hub --skill composition-patterns -a github-copilot -y
OpenCode
$ npx skills add guanyang/open-agent-hub --skill composition-patterns -a opencode -y
Windsurf
$ npx skills add guanyang/open-agent-hub --skill composition-patterns -a windsurf -y
name: vercel-composition-patterns description: React 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. license: MIT metadata: author: vercel version: '1.0.0'
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.
Reference these guidelines when:
| Priority | Category | Impact | Prefix | | -------- | ----------------------- | ------ | --------------- | | 1 | Component Architecture | HIGH | `architecture-` | | 2 | State Management | MEDIUM | `state-` | | 3 | Implementation Patterns | MEDIUM | `patterns-` | | 4 | React 19 APIs | MEDIUM | `react19-` |
behavior; use composition
context
state is managed
for dependency injection
boolean modes
of renderX props
> **⚠️ React 19+ only.** Skip this section if using React 18 or earlier.
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:
For the complete guide with all rules expanded: `AGENTS.md`
A lightweight, zero-dependency CLI tool to manage and activate capabilities for AI coding assistants (such as Claude Code, Cursor, Trae, etc.).
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends…
This skill should be used for advanced LLM evaluation: LLM-as-judge systems, direct scoring, pairwise comparison, rubric…
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request…
Analyzes article structure, identifies positions requiring visual aids, generates illustrations with Type × Style × Palette…
Knowledge comic creator supporting multiple art styles and tones. Creates original educational comics with detailed panel layouts…
Compresses images to WebP (default) or PNG with automatic tool selection. Use when user asks to "compress image", "optimize…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.