agent-sql-pro
Expert SQL developer specializing in complex query optimization, database design, and performance tuning across PostgreSQL,…
Transform UI style requirements into production-ready frontend code with systematic design tokens, accessibility compliance, and creative execution. Use when building websites, web applications, React/Vue components, dashboards, landing pages, or any web UI requiring both design
$ npx -y skills add xiaoyuge886/aigc --skill frontend-design --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/frontend-designContext preview
The summary Claude sees to decide when to auto-load this skill.
Transform UI style requirements into production-ready frontend code with systematic design tokens, accessibility compliance, and creative execution. Use when building websites, web applications, React/Vue components, dashboards, landing pages, or any web UI requiring both design
name: frontend-design description: Transform UI style requirements into production-ready frontend code with systematic design tokens, accessibility compliance, and creative execution. Use when building websites, web applications, React/Vue components, dashboards, landing pages, or any web UI requiring both design consistency and aesthetic quality. version: 2.0.0 license: MIT
**Skill Location**: `{project_path}/skills/frontend-design/`
This skill transforms vague UI style requirements into executable, production-grade frontend code through a systematic design token approach while maintaining creative excellence. It ensures visual consistency, accessibility compliance, and maintainability across all deliverables.
---
**MUST apply this skill when:**
**Trigger phrases:**
**DO NOT use for:**
---
This skill provides:
1. **SKILL.md** (this file): Core methodology and guidelines 2. **examples/css/**: Production-ready CSS examples
3. **examples/typescript/**: TypeScript implementation examples
4. **templates/**: Quick-start templates
---
**Systematic Foundation:**
**Creative Execution:**
Design Tokens → Component Styles → Page Layouts → Interactive States
**Never skip token definition.** All visual properties must derive from the token system.
**Default stack (if unspecified):**
**Supported alternatives:**
**⚠️ CRITICAL: Never use Tailwind via CDN**
**MUST use build-time integration:**
npm install -D tailwindcss postcss autoprefixer npx tailwindcss init -p
**Why build-time is mandatory:**
**CDN only acceptable for:**
---
**Step 1: Understand Context**
- Purpose: What problem does this solve? Who uses it? - Aesthetic Direction: Choose ONE bold direction - Technical Constraints: Framework, performance, accessibility needs - Differentiation: What makes this memorable?
**Step 2: Generate Design Tokens**
Create comprehensive token system (see `examples/css/tokens.css` and `examples/typescript/design-tokens.ts`):
1. **Semantic Color Slots** (light + dark modes):
--background, --surface, --surface-subtle --text, --text-secondary, --text-muted --border, --border-subtle --primary, --primary-hover, --primary-active, --primary-foreground --secondary, --secondary-hover, --secondary-foreground --accent, --success, --warning, --danger
2. **Typography Scale**:
Display: 3.5rem/4rem (56px/64px), weight 700-800 H1: 2.5rem/3rem (40px/48px), weight 700 H2: 2rem/2.5rem (32px/40px), weight 600 H3: 1.5rem/2rem (24px/32px), weight 600 Body: 1rem/1.5rem (16px/24px), weight 400 Small: 0.875rem/1.25rem (14px/20px), weight 400 Caption: 0.75rem/1rem (12px/16px), weight 400
3. **Spacing Scale** (8px system):
0.5 → 4px, 1 → 8px, 2 → 16px, 3 → 24px, 4 → 32px 5 → 40px, 6 → 48px, 8 → 64px, 12 → 96px, 16 → 128px
4. **Radius Scale**:
xs: 2px (badges, tags) sm: 4px (buttons, inputs) md: 6px (cards, modals) lg: 8px (large cards, panels) xl: 12px (hero sections) 2xl: 16px (special elements) full: 9999px (pills, avatars)
5. **Shadow Scale**:
sm: Subtle lift (buttons, inputs) md: Card elevation lg: Modals, dropdowns xl: Large modals, drawers ``
Expert SQL developer specializing in complex query optimization, database design, and performance tuning across PostgreSQL,…
Perform data analysis tasks including data cleaning, statistical analysis, visualization, and insight generation. Use when the…
Single source of truth and librarian for ALL Claude official documentation. Manages local documentation storage, scraping,…
ECharts数据可视化专家,能够根据数据和分析需求生成专业的ECharts图表配置。适用于:数据可视化、图表生成、数据展示、趋势分析图表、对比图表、分布图表、饼图、柱状图、折线图、散点图、雷达图、热力图、仪表盘、漏斗图、树形图、关系图、桑基图、数据报表图表、…
综合智能代理系统,整合任务分析、规划和ReAct执行循环能力。当用户需要处理复杂任务、多步骤工作流或需要自主决策和反思的任务时使用。