TomsTools

Style Guide Generator

设计创意v1.0.0
作者:TomsTools更新于 2026-05-17style-guide-generator@clawhub_tomstools11/style-guide-generator
品牌设计视觉素材UI 设计#Documentation#Document#PDF#Website

据 AlphaMoat 统计,截至 2026-09,Style Guide Generator 累计下载 4,085 次、获 2 个星标,在全部 5,078 个 AI 技能中排名第 2,478 位,在「设计创意」分类(512 个)中排名第 237 位。

累计安装
125
累计下载
4,085
星标
2
全站排名
#2,478
全站前 49% · 「设计创意」前 47%
平台累计安装累计下载星标评论
ClawHub ↗1253,8692-
SkillHub ↗1254,0852—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

它可整理颜色、字体、组件、布局和无障碍要求,并按结构化模板输出面向 PDF 的指南。资料不完整时可能出现推断或占位内容;应检查生成结果,并确认输入材料适合分析。

资料发布于 2026-10-29

可以用来做什么

  • 从网站或截图整理视觉规范
  • 把现有品牌文档归纳为设计系统指南
  • 生成结构化的样式指南内容

什么时候用

  • 需要把现有网站、视觉素材或品牌文档转成团队可审阅的设计规范时

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

根据这些截图提取可见的颜色、字体和组件样式,并标出无法确认的内容。
将现有品牌文档整理成样式指南大纲,未知信息保留为待补充项。

月度数据趋势

累计下载4,085
3,1303,6434,1562026-05 · 累计下载 3,2012026-06 · 累计下载 3,3292026-07 · 累计下载 3,5842026-08 · 累计下载 3,7282026-09 · 累计下载 4,08526-0526-09
星标2
1232026-05 · 星标 22026-06 · 星标 22026-07 · 星标 22026-08 · 星标 22026-09 · 星标 226-0526-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-094,085—2
2026-083,728+4.0%2
2026-073,584+7.7%2
2026-063,329+4.0%2
2026-053,201—2

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

11 KB · ClawHub v1.0.0
---
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.
---

# Style Guide Generator

## Overview

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.
展开全部(共 350 行)

## Workflow Decision Tree

When a user requests a style guide, follow this decision tree:

1. **Gather Information**
   - 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

2. **Extract Design Elements**
   - 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

3. **Structure Content**
   - 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

4. **Generate PDF**
   - 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

## Standard Template Structure

Every style guide should follow this professional structure (based on industry best practices):

### 1.0 Introduction
- Version number and last updated date
- Purpose and scope statement
- Target audience (design and development teams)

### 1.1 Mission & Vision
- Company mission statement
- Company vision statement
- Strategic positioning

### 1.2 Design Principles
- 4-6 core principles that guide design decisions
- Each principle with name and description
- Examples: "Clarity Above All", "Empowerment Through Simplicity", "Consistency Builds Trust", "Human-Centered"

### 2.0 Brand Identity

#### 2.1 Logo Usage
- Primary logo specifications
- Clear space requirements
- Incorrect usage examples
- Minimum size requirements
- Color variations (full color, black, white)

#### 2.2 Color Palette
- Organized table with Role, Color Name, HEX, and RGB values
- Primary colors (1-2)
- Secondary colors (1-3)
- Accent colors
- Text colors
- Background colors
- System colors (Success, Warning, Error)
- Accessibility notes for each color combination

#### 2.3 Typography
- Heading font specifications (H1, H2, H3)
- Body text specifications
- Caption/small text specifications
- Font families, weights, sizes, and line heights in tabular format
- Web font loading considerations
- Fallback fonts

#### 2.4 Iconography
- Icon style guidelines (outlined, filled, line weight)
- Grid system specifications
- Size variants
- Usage examples
- Link to icon library

#### 2.5 Imagery
- Photography style guidelines
- Illustration style guidelines
- Image treatment specifications
- Do's and don'ts
- Quality requirements

### 3.0 Content Style Guide

#### 3.1 Voice and Tone
- Voice characteristics (consistent attributes)
- Tone variations (how voice adapts to context)
- Examples for different scenarios

#### 3.2 Grammar and Mechanics
- Punctuation rules
- Capitalization standards
- Voice preference (active/passive)
- Number formatting
- Date and time formatting

### 4.0 UI Components

#### 4.1 Buttons
- State variants (Primary, Secondary, Tertiary, Disabled)
- Size variants
- Usage guidelines
- Code snippets (HTML/CSS)
- Accessibility requirements

#### 4.2 Forms
- Input field specifications
- Label positioning
- Validation states
- Required field indicators
- Error message styling
- Help text formatting

#### 4.3 [Additional Components as needed]
- Cards
- Modals
- Navigation
- Tables
- Alerts/Notifications
- Tooltips
- Badges
- Progress indicators

### 5.0 Layout & Grid
- Grid system specifications (columns, gutters)
- Responsive breakpoints
- Spacing scale (base unit and multipliers)
- Container widths
- Margin and padding conventions

### 6.0 Accessibility (A11y)
- WCAG compliance level (2.1 AA standard)
- Color contrast requirements
- Alt text guidelines
- Keyboard navigation standards
- Screen reader considerations
- Focus indicators

### 7.0 Resources
- Links to design files (Figma, Sketch, Adobe XD)
- Icon library location
- Illustration library location
- Font files repository
- Code repository
- Additional documentation

### 8.0 Changelog
- Version history with dates
- Changes summary for each version

## Information Extraction Process

When analyzing provided materials, extract the following systematically:

### From URLs/Websites:
1. Fetch the website using web_fetch
2. Analyze HTML/CSS for:
   - Color values (background-color, color properties)
   - Font families and typography (font-family, font-size, font-weight)
   - Spacing patterns (margin, padding values)
   - Component structures
3. Take note of:
   - Visual hierarchy
   - Button styles and states
   - Form element treatments
   - Navigation patterns
   - Responsive behavior (if observable)

### From Screenshots/Images:
1. Identify color palette using visual analysis
2. Determine typography hierarchy
3. Note spacing and layout patterns
4. Identify UI component variants
5. Observe design principles in practice

### From Existing Documentation:
1. Extract mission/vision statements
2. Gather existing brand guidelines
3. Collect color specifications
4. Document current typography standards
5. Note any existing component libraries

## Creating Professional Tables

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         |
```

## PDF Generation Best Practices

1. **Professional Formatting:**
   - Use consistent heading hierarchy
   - Apply proper spacing between sections
   - Utilize tables for structured data
   - Include visual examples where possible

2. **Typography:**
   - Use professional fonts (Inter, Roboto, or system fonts)
   - Maintain consistent sizing hierarchy
   - Ensure sufficient line height for readability

3. **Color Usage:**
   - Show color swatches with hex codes
   - Ensure sufficient contrast for accessibility
   - Document color roles clearly

4. **Organization:**
   - Number sections clearly (1.0, 1.1, 2.0, etc.)
   - Include table of contents for longer guides
   - Use page breaks appropriately
   - Add page numbers

5. **Accessibility:**
   - Ensure document is screen-reader friendly
   - Use proper heading structure
   - Include alt text for images
   - Maintain minimum font size of 12pt

## Handling Incomplete Information

When information is missing or unclear:

1. **Make Reasonable Inferences:**
   - Extract colors from provided screenshots
   - Infer typography from website analysis
   - Estimate spacing based on visual patterns

2. **Use Placeholders:**
   - "[Insert company mission statement]" for unknown content
   - "[Link to design files]" for unavailable resources
   - "Version 1.0" and current date as defaults

3. **Ask Clarifying Questions:**
   - "What is your company's mission statement?"
   - "Do you have existing brand colors or should I extract them from the website?"
   - "Are there specific accessibility requirements beyond WCAG 2.1 AA?"

4. **Provide Templates:**
   - Include example text for sections that need user input
   - Show format for content they should provide
   - Give guidance on what information would be ideal

## Example User Interactions

**Example 1: URL-Based Request**
User: "Create a style guide for my website at example.com"
Process: 
1. Fetch website with web_fetch
2. Analyze HTML/CSS for design system
3. Extract colors, fonts, spacing
4. Structure into standard template
5. Generate professional PDF
6. Provide download link

**Example 2: Screenshot-Based Request**
User: "Here are screenshots of my app. Create a style guide." [uploads images]
Process:
1. Analyze images for visual elements
2. Extract color palette
3. Identify typography patterns
4. Document component styles
5. Fill in template structure
6. Generate PDF with findings
7. Provide download link

**Example 3: Comprehensive Request**
User: "Create a style guide using my website URL, these brand colors [list], and our mission statement [text]"
Process:
1. Combine all provided information
2. Fetch and analyze website
3. Integrate provided brand elements
4. Structure complete style guide
5. Generate professional PDF
6. Provide download link

## Quality Checklist

Before delivering the style guide PDF, verify:

- [ ] All sections are complete or marked as placeholders
- [ ] Color palette includes HEX and RGB values
- [ ] Typography specifications are detailed (family, weight, size, line height)
- [ ] Tables are properly formatted and aligned
- [ ] Accessibility requirements are documented
- [ ] Version number and date are included
- [ ] Resources section links are provided (even if placeholder)
- [ ] Changelog is started with version 1.0
- [ ] PDF is professionally formatted
- [ ] Document is ready for team distribution

## Resources

This skill uses the following bundled resources:

### assets/template.pdf
The base template PDF that demonstrates the professional structure and formatting that all generated style guides should follow. This file serves as a reference for structure, section organization, and formatting standards.

### scripts/analyze_website.py
Python script to extract design system information from websites, including colors, typography, and component patterns. Can be used to automatically gather design specifications from live URLs.

### references/design_system_examples.md
Reference document containing examples of well-structured design systems and style guides from leading companies. Use this for inspiration on content organization and presentation standards.

「设计创意」分类下的热门技能

TomsTools 的其他技能

数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。