agent-browser
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling…
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 julianromli/ai-skills --skill composition-patterns --agent claude-code
Codex
$ npx skills add julianromli/ai-skills --skill composition-patterns -a codex -y
Cursor
$ npx skills add julianromli/ai-skills --skill composition-patterns -a cursor -y
Gemini CLI
$ npx skills add julianromli/ai-skills --skill composition-patterns -a gemini-cli -y
GitHub Copilot
$ npx skills add julianromli/ai-skills --skill composition-patterns -a github-copilot -y
OpenCode
$ npx skills add julianromli/ai-skills --skill composition-patterns -a opencode -y
Windsurf
$ npx skills add julianromli/ai-skills --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 curated collection of AI agent skills for coding, frontend, debugging, product thinking, and workflow automation.
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling…
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior.…
Reverse-engineer and clone one or more websites in one shot — extracts assets, CSS, and content section-by-section and…
Use this when building a sidebar that collapses to an icon rail, or any element that toggles between shown and hidden. Labels…
Guidelines for building production-ready Convex apps covering function organization, query patterns, validation, TypeScript…
Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give…
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.