一键导入
install-frontend
USE WHEN install frontend skills, frontend stack, setup frontend, new frontend project, react project setup.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
USE WHEN install frontend skills, frontend stack, setup frontend, new frontend project, react project setup.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
USE WHEN PAI system, PAI algorithm, how PAI works, system overview, core configuration, PAI infrastructure.
USE WHEN upgrade, improve system, system upgrade, analyze for improvements, check Anthropic, Anthropic changes, new Claude features, check YouTube, new videos, sync PAI, sync upstream, pull PAI updates. SkillSearch('upgrade') for docs.
USE WHEN user says create custom agents, spin up custom agents, specialized agents, OR asks for agent personalities, available traits, agent voices. Handles custom agent creation, personality assignment, voice mapping, and parallel agent orchestration.
USE WHEN user wants to create visual content, illustrations, diagrams, OR mentions art, header images, visualizations, mermaid, flowchart, technical diagram, infographic, PAI icon, pack icon, or PAI pack icon.
USE WHEN TELOS, life goals, projects, dependencies, books, movies. SkillSearch('telos') for docs.
USE WHEN annual reports, security reports, threat reports, industry reports, update reports, analyze reports, vendor reports, threat landscape.
| name | install-frontend |
| description | USE WHEN install frontend skills, frontend stack, setup frontend, new frontend project, react project setup. |
Installs the curated frontend development skill stack into the current project for all agents (claude-code, opencode, gemini-cli).
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 |
| 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 |
| Skill | Purpose |
|---|---|
frontend-design | Production-grade UI implementation, avoids generic AI aesthetics |
web-artifacts-builder | React + Tailwind CSS + shadcn/ui artifact building |
| Skill | Purpose |
|---|---|
remotion-best-practices | Best practices for Remotion — video creation in React |
| 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 |
| 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 |
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.
Do NOT proceed until the user explicitly confirms.
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
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.
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.
Run bunx skills list to confirm all skills were installed. Report the final state.
-g flag)-y flag after user confirmation to skip redundant CLI prompts-a flag targets specific agents; -y bypasses all interactive prompts