Install Frontend Stack
Installs the curated frontend development skill stack into the current project for all agents (claude-code, opencode, gemini-cli).
Curated Skill List
Core Frontend (vercel-labs/agent-skills)
Reference: Vercel Design Guidelines — the authoritative source for web interface standards.
| Skill | Purpose |
|---|---|
vercel-react-best-practices | 40+ React/Next.js performance rules across 8 categories |
vercel-composition-patterns | Compound components, state lifting, scalable architecture |
web-design-guidelines | 100+ rules covering the 7 guideline categories below |
Vercel Guidelines Categories
| Category | Key Rules |
|---|---|
| Interactions | Keyboard accessibility, focus management, 44px touch targets, semantic links |
| Animations | Respect prefers-reduced-motion, GPU-accelerated properties, interruptible |
| Layout | Alignment, responsiveness, intrinsic sizing, scrollbar handling |
| Content | Skeletons, empty states, typography, help text, content resilience |
| Forms | Input behavior, validation, autofill, password manager compatibility |
| Performance | <500ms network, virtualization for lists, font optimization |
| Design | Shadows, borders, contrast ratios, color schemes, gradients |
Design & Implementation (anthropics/skills)
| Skill | Purpose |
|---|---|
frontend-design | Production-grade UI implementation, avoids generic AI aesthetics |
web-artifacts-builder | React + Tailwind CSS + shadcn/ui artifact building |
Video (remotion-dev/skills)
| Skill | Purpose |
|---|---|
remotion-best-practices | Best practices for Remotion — video creation in React |
UI Quality (ibelick/ui-skills)
| Skill | Purpose |
|---|---|
baseline-ui | Enforces opinionated UI baseline to prevent AI-generated interface slop |
fixing-accessibility | Fix accessibility issues |
fixing-metadata | Ship correct, complete metadata |
fixing-motion-performance | Fix animation performance issues |
Web Quality (addyosmani/web-quality-skills)
| Skill | Purpose |
|---|---|
accessibility | WCAG 2.1 accessibility audit |
best-practices | Modern web development and security standards |
core-web-vitals | LCP, INP, CLS optimization for search ranking |
performance | Page speed and loading optimization |
seo | Search engine visibility and meta optimization |
web-quality-audit | Comprehensive Lighthouse-based audit |
Execution
Step 1: Show the Plan
Display the skill list above and tell the user:
Frontend Stack Install Plan The following skills will be installed to this project for claude-code, opencode, and gemini-cli: Source: vercel-labs/agent-skills - vercel-react-best-practices - vercel-composition-patterns - web-design-guidelines Source: anthropics/skills - frontend-design - web-artifacts-builder Source: remotion-dev/skills - remotion-best-practices Source: ibelick/ui-skills - baseline-ui, fixing-accessibility, fixing-metadata, fixing-motion-performance Source: addyosmani/web-quality-skills - accessibility, best-practices, core-web-vitals, performance, seo, web-quality-audit Scope: current project (not global). Confirm to proceed.
Step 2: Wait for Confirmation
Do NOT proceed until the user explicitly confirms.
Step 3: Install Skills
Run these commands sequentially. Report progress after each:
bunx skills add vercel-labs/agent-skills \ -a claude-code -a opencode -a gemini-cli \ --skill vercel-react-best-practices \ --skill vercel-composition-patterns \ --skill web-design-guidelines -y
bunx skills add anthropics/skills \ -a claude-code -a opencode -a gemini-cli \ --skill frontend-design \ --skill web-artifacts-builder -y
bunx skills add remotion-dev/skills \ -a claude-code -a opencode -a gemini-cli \ --skill remotion-best-practices -y
bunx skills add ibelick/ui-skills \ -a claude-code -a opencode -a gemini-cli -y
bunx skills add addyosmani/web-quality-skills \ -a claude-code -a opencode -a gemini-cli -y
Step 4: Search for Additional Skills
After the core install, search for Tailwind, shadcn, and Hero UI skills that may exist:
bunx skills find tailwind bunx skills find shadcn bunx skills find heroui
Present any results found and offer to install them.
Step 5: Create AGENTS.md (if not present)
Per Vercel guidelines, projects should include an AGENTS.md to enable design guideline checks during AI code generation.
Check if AGENTS.md exists in project root. If not, create it:
# AGENTS.md ## Web Interface Guidelines This project follows the [Vercel Design Guidelines](https://vercel.com/design/guidelines). When generating or reviewing UI code, apply these standards: - **Interactions**: All flows keyboard-operable, 44px mobile touch targets, semantic `<a>`/`<Link>` elements - **Animations**: Respect `prefers-reduced-motion`, use `transform`/`opacity` for GPU acceleration - **Layout**: Responsive, handle variable content lengths, proper scrollbar styling - **Content**: Skeleton loaders, meaningful empty states, accessible typography - **Forms**: Proper labels, validation feedback, autofill/password manager support - **Performance**: Network requests <500ms, virtualize large lists, optimize fonts - **Design**: Proper contrast ratios, consistent shadows/borders, dark mode support Use `/web-design-guidelines` skill for code review.
Step 6: Verify
Run bunx skills list to confirm all skills were installed. Report the final state.
Notes
- •All installs are per-project (no
-gflag) - •Uses
-yflag after user confirmation to skip redundant CLI prompts - •If any install fails, report the error and continue with remaining skills
- •The
-aflag targets specific agents;-ybypasses all interactive prompts