Generate comprehensive website style guides and design systems from URLs, screenshots, and existing documentation. Use this skill when users ask to create a style guide, design system documentation, brand guidelines document, or design specification from a website, app, or existing materials. This skill produces professional PDF outputs following industry-standard style guide structure.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install style-guide-generator或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install style-guide-generator⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/style-guide-generator/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: style-guide-generator description: Generate comprehensive website style guides and design systems from URLs, screenshots, and existing documentation. Use this skill when users ask to create a style guide, design system documentation, brand guidelines document, or design specification from a website, app, or existing materials. This skill produces professional PDF outputs following industry-standard style guide structure. ---
Generate professionally formatted website style guides and design systems by analyzing provided URLs, screenshots, uploaded files, and user requirements. Output comprehensive PDF documents that serve as the single source of truth for design and development teams.
When a user requests a style guide, follow this decision tree:
- If user provides URL → Use web_fetch to analyze the website - If user provides screenshots/images → Analyze visual elements - If user provides existing documentation → Extract and structure information - If user provides minimal information → Ask clarifying questions about brand, goals, and requirements
- Colors (primary, secondary, accent, text, background, success, warning, error) - Typography (fonts, weights, sizes, line heights) - Logo usage guidelines - Iconography style - Imagery preferences - UI component patterns - Layout and spacing systems - Accessibility requirements
- Follow the standard template structure (see Template Structure section) - Organize extracted information into appropriate sections - Add mission/vision if provided or inferred - Document design principles - Create component specifications
- Use the PDF skill to create a professional document - Apply consistent formatting and typography - Include tables for color palettes, typography specs, and component states - Ensure accessibility with proper contrast ratios - Add version number and last updated date
Every style guide should follow this professional structure (based on industry best practices):
When analyzing provided materials, extract the following systematically:
- Color values (background-color, color properties) - Font families and typography (font-family, font-size, font-weight) - Spacing patterns (margin, padding values) - Component structures
- Visual hierarchy - Button styles and states - Form element treatments - Navigation patterns - Responsive behavior (if observable)
Use well-formatted tables for specifications. Example formats:
Color Palette Table:
| Role | Color | HEX | RGB |
|------------|-------------|---------|---------------|
| Primary | Brand Blue | #378DFF | 55, 141, 255 |
| Secondary | Light Blue | #A5CAFF | 165, 202, 255 |
Typography Table:
| Element | Font Family | Weight | Size (px) | Line Height |
|---------|-------------|---------|-----------|-------------|
| H1 | Inter | Bold | 48 | 1.2 |
| H2 | Inter | Bold | 36 | 1.3 |
| Body | Inter | Regular | 16 | 1.5 |
Button States Table:
| State | Appearance | Usage |
|-----------|-------------------------|--------------------------------|
| Primary | Solid fill, primary | Main call to action on a page |
| Secondary | Outline, primary color | Secondary actions |
| Tertiary | Text only | Less important actions |
- Use consistent heading hierarchy - Apply proper spacing between sections - Utilize tables for structured data - Include visual examples where possible
- Use professional fonts (Inter, Roboto, or system fonts) - Maintain consistent sizing hierarchy - Ensure sufficient line height for readability
- Show color swatches with hex codes - Ensure sufficient contrast for accessibility - Document color roles clearly
...
安装 Style Guide Generator 后,可以对 AI 说这些话来触发它
Help me get started with Style Guide Generator
Explains what Style Guide Generator does, walks through the setup, and runs a quick demo based on your current project
Use Style Guide Generator to generate comprehensive website style guides and design systems from...
Invokes Style Guide Generator with the right parameters and returns the result directly in the conversation
What can I do with Style Guide Generator in my design & creative workflow?
Lists the top use cases for Style Guide Generator, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/style-guide-generator/ 目录(个人级,所有项目可用),或 .claude/skills/style-guide-generator/(项目级)。重启 AI 客户端后,用 /style-guide-generator 主动调用,或让 AI 根据上下文自动发现并使用。
Style Guide Generator 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Style Guide Generator 可免费安装使用。请查阅仓库了解许可证信息。
Generate comprehensive website style guides and design systems from URLs, screenshots, and existing documentation. Use this skill when users ask to create a style guide, design system documentation, brand guidelines document, or design specification from a website, app, or existing materials. This skill produces professional PDF outputs following industry-standard style guide structure.
Automate my design & creative tasks using Style Guide Generator
Identifies repetitive steps in your workflow and sets up Style Guide Generator to handle them automatically
Style Guide Generator 属于「Design & Creative」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。