Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

design-guide

БесплатноЗапускает вложенные скриптыНе проверен

Extract comprehensive design language from websites including colors, typography, animations, interactive states, shadows, gradients, component patterns, and…

tyrchenот tyrchen★ 45 звёзд на GitHub18 установок в других каталогах

Об этом скилле

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:

  1. 📄 Load the page and wait for network idle
  2. 📸 Take viewport and full-page screenshots
  3. 🔍 Extract HTML structure
  4. 💅 Extract all CSS (linked and inline)
  5. 🎯 Compute styles for every element
  6. ⚡ Capture interactive states (hover 10 elements)
  7. 🎨 Analyze complete color palette
  8. 📝 Extract typography system
  9. 📐 Analyze layout and spacing
  10. ✨ Detect animations and transitions
  11. 🌟 Extract shadows and visual effects
  12. 🧩 Identify component patterns
  13. 🎭 Analyze UX patterns
  14. 📱 Test responsive behavior (3 breakpoints)
  15. 💾 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
Полный SKILL.md на GitHub

Установить design-guide в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

README.mdmain.pypyproject.tomluv.lock

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 запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить design-guide с