design-guide
БесплатноЗапускает вложенные скриптыНе проверенExtract comprehensive design language from websites including colors, typography, animations, interactive states, shadows, gradients, component patterns, and…
Об этом скилле
Comprehensive Design Guide Generator
Extract the complete design language from any website with automated analysis of colors, typography, animations, interactions, and UX patterns. Goes far beyond basic CSS extraction to capture the full design system.
When to Use This Skill
Use this skill when you want to:
- Analyze a website's complete design system - Not just colors and fonts, but the entire design language
- Extract interactive design patterns - Hover states, transitions, animations, micro-interactions
- Document component libraries - Buttons, cards, forms, navigation patterns
- Create pixel-perfect recreations - Comprehensive data for exact replicas
- Build design systems - Complete token systems with all design decisions documented
- Understand UX patterns - Interaction patterns, accessibility features, responsive behavior
- Reverse-engineer designs - Full extraction of design decisions from live websites
What This Skill Extracts
🎨 Visual Design
Colors & Gradients
- Text colors (all variations)
- Background colors
- Border colors
- Shadow colors (extracted from box-shadow)
- Linear and radial gradients
- Complete color palette with CSS custom properties
Typography System
- Font families and fallback stacks
- Complete type scale (all font sizes used)
- Font weights (100-900)
- Line heights
- Letter spacing
- Text transforms
- Heading hierarchy (H1-H6) with exact styles
- Body text specifications
Visual Effects
- Box shadows (all variations)
- Text shadows
- CSS filters (blur, brightness, contrast, etc.)
- Transform properties
- Opacity values
- Border radius values
⚡ Interactive Design
Interactive States
- Hover effects (color, transform, shadow changes)
- Focus states
- Active states
- Transition properties
- Before/after comparisons for hover states
- Screenshots of interactive elements in hover state
Animations
- CSS transitions (timing, easing, duration)
- Keyframe animations
- Animated element detection
- Animation names and rules
📐 Layout & Spacing
Spacing System
- Margin values (sorted scale)
- Padding values (sorted scale)
- Gap values (Flexbox/Grid)
- Complete spacing token system
Layout Patterns
- Container max-widths
- Centered container patterns
- Flexbox configurations
- Grid layouts
- Sticky/fixed positioning
🧩 Component Patterns
UI Components Identified
- Buttons (with exact styling)
- Cards (background, shadow, radius, padding)
- Navigation bars
- Forms and inputs
- Modals
- Badges
- Alerts
Component Documentation
- Exact CSS for each component variant
- Component text content
- Visual hierarchy
🎭 UX & Behavior
Interaction Patterns
- Scroll behavior
- Cursor styles used
- Interactive element count
- Sticky/fixed element patterns
Accessibility Features
- ARIA labels count
- ARIA descriptions count
- Role attributes count
- Image alt text usage
📱 Responsive Design
Multi-Device Analysis
- Mobile screenshots (375x812)
- Tablet screenshots (768x1024)
- Desktop screenshots (1920x1080)
- Layout metrics at each breakpoint
- Viewport-specific behaviors
Instructions for Claude
Step 1: Verify Setup
Navigate to the skill directory:
cd /Users/tchen/projects/mycode/claude-skills/design-guide
Ensure dependencies are installed (first time only):
uv sync
playwright install chromium
Step 2: Gather Requirements
Ask the user for:
- URL (required): The website to analyze
- Output directory (optional): Where to save results (default:
./output) - Viewport size (optional): Custom viewport dimensions (default: 1600x1200)
Step 3: Run the Enhanced Extractor
Execute the comprehensive extraction:
uv run main.py --url <URL> [OPTIONS]
Available Options:
--url, -u: Website URL to analyze (required)--output, -o: Output directory (default:./output)--viewport-width: Viewport width in pixels (default: 1600)--viewport-height: Viewport height in pixels (default: 1200)
What happens during extraction:
The tool will:
- 📄 Load the page and wait for network idle
- 📸 Take viewport and full-page screenshots
- 🔍 Extract HTML structure
- 💅 Extract all CSS (linked and inline)
- 🎯 Compute styles for every element
- ⚡ Capture interactive states (hover 10 elements)
- 🎨 Analyze complete color palette
- 📝 Extract typography system
- 📐 Analyze layout and spacing
- ✨ Detect animations and transitions
- 🌟 Extract shadows and visual effects
- 🧩 Identify component patterns
- 🎭 Analyze UX patterns
- 📱 Test responsive behavior (3 breakpoints)
- 💾 Save all data and generate design guide
Step 4: Review Generated Assets
After extraction, the output directory contains:
Documentation
design-guide.md- Comprehensive design guide (main deliverable)design_data.json- Complete structured data
Visual Assets
viewport_screenshot.png- Desktop viewport captur
Установить design-guide в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл design-guide?
Extract comprehensive design language from websites including colors, typography, animations, interactive states, shadows, gradients, component patterns, and UX behaviors. Generates pixel-perfect design guides with responsive screenshots and complete design system documentation. Use when analyzing website design, creating design systems, or rebuilding sites.
Как установить скилл design-guide?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл design-guide запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic