К основному содержанию
скилл CX Codex

site-specification — скилл для Claude Code: что делает

Превращает короткое описание проекта или логотип в готовую JSON-спецификацию сайта со структурой блоков, целевой аудиторией и шрифтами Google Fonts.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add cline/skills --skill site-specification -a claude-code
Открыть на GitHub

Что делает site-specification

Скилл анализирует запросы на разработку тем оформления и создаёт структурированный бриф в формате JSON. Если передать картинку с логотипом или документацию бренда, агент выделит эстетику, ценности и визуальные требования. На выходе формируется три блока: siteBrief с типом площадки, целями и тональностью, список требований к макету layoutNotes и параметры типографики typography со ссылкой на импорт Google Fonts.

Внутри заложены паттерны для разных направлений: SaaS, интернет-магазины, сфера услуг, рестораны, портфолио, медиа и некоммерческие проекты. Для каждой категории скилл подбирает типичную структуру секций и проверенные шрифтовые пары. Например, Playfair Display с Lato для ресторанного бизнеса или Satoshi для технологических сервисов.

Все поля схемы необязательны. Агент заполняет только то, что логически следует из запроса. Если данных о конкретных экранах нет, скилл опирается на типовую сетку выбранного архетипа.

Какие задачи решает

  • составить бриф сайта по одной фразе пользователя
  • извлечь стилистику и цветовую гамму из загруженного логотипа
  • сформировать список секций для лендинга или каталога
  • подобрать шрифтовую пару и ссылку на Google Fonts под нишу

Примеры запросов агенту

  • Сделай спецификацию сайта кофейни Bean & Brew в формате JSON
  • Подготовь структуру макета и шрифты для сайта юридической компании по корпоративному праву
  • Проанализируй этот логотип и составь бриф для портфолио дизайнера

Как установить site-specification

1Через Skills CLI (Vercel)

npx skills add cline/skills --skill site-specification -a claude-code

2Вручную: положить файлы

~/.claude/skills/site-specification/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/site-specification/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о site-specification

Как установить site-specification в Claude Code?

Выполните команду npx skills add cline/skills --skill site-specification -a claude-code. Также файл скилла можно положить вручную в ~/.claude/skills/site-specification/SKILL.md.

Что входит в итоговый JSON-манифест?

Манифест состоит из объекта siteBrief с целями и аудиторией, массива строк layoutNotes с описанием экранов и блока typography со шрифтами и ссылкой на Google Fonts.

Умеет ли скилл анализировать изображения?

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

Исходный текст

SKILL.md · Apache-2.0
---
name: site-specification
description: Extract comprehensive site specifications from simple descriptions. Use when analyzing a user's theme request to determine site type, audience, tone, layout requirements, and typography.
---

# Site Specification Skill

Extract detailed site specifications from user descriptions to guide theme generation. If the user has provided images, image urls or other documents, analyze them for additional clues about the brand and design preferences - obviously things like an exising logo image can be very informative about the brand's aesthetic, tone, and values, and any written documents can contain explicit statements about the brand identity or design preferences.

## Site Spec Schema

A complete site specification uses this JSON structure:

```json
{
  "siteBrief": {
    "siteName": "Name of the site/business",
    "siteType": "Type of site (e.g., e-commerce, portfolio, blog, SaaS, restaurant)",
    "primaryGoal": "Main purpose or conversion goal of the site",
    "audience": "Target audience description",
    "tone": "Voice and tone for the content",
    "brandKeywords": "Keywords describing the brand aesthetic and values"
  },
  "layoutNotes": [
    "Each layout requirement as a separate string",
    "Sections, features, and visual elements"
  ],
  "typography": {
    "primaryFont": "Main font for headings",
    "secondaryFont": "Font for body text",
    "usage": "How fonts should be applied",
    "fontImport": "Google Fonts import URL"
  }
}
```

All fields are optional - only include what can be reasonably inferred from the user's description.

## Inference Patterns by Site Type

### SaaS / Technology

**Infer:**
- Primary goal: Drive signups or demo requests
- Audience: Technical decision-makers, developers, or business users
- Tone: Professional, innovative, trustworthy
- Brand keywords: Modern, efficient, powerful, seamless

**Typical layout:**
- Hero with value proposition and CTA
- Feature grid or comparison
- Social proof (logos, testimonials)
- Pricing section
- FAQ
- Final CTA

**Typography tendency:**
- Clean geometric sans-serifs
- Strong hierarchy for scanning
- Consider: Satoshi, Plus Jakarta Sans, Outfit

### E-commerce / Retail

**Infer:**
- Primary goal: Drive purchases
- Audience: Consumers with specific interests
- Tone: Varies by brand (luxury vs. casual vs. value)
- Brand keywords: Depends on positioning

**Typical layout:**
- Hero with featured products or promotion
- Category navigation
- Featured products grid
- Trust signals (reviews, guarantees)
- Newsletter signup

**Typography tendency:**
- Match to brand positioning
- Luxury: refined serifs
- Modern: geometric sans
- Playful: display fonts

### Professional Services (Law, Finance, Consulting)

**Infer:**
- Primary goal: Generate inquiries or establish credibility
- Audience: Business decision-makers, individuals seeking expertise
- Tone: Professional, authoritative, trustworthy
- Brand keywords: Expertise, integrity, established, reliable

**Typical layout:**
- Hero with credentials or value statement
- Services/practice areas
- Team profiles
- Case studies or results
- Testimonials from clients
- Contact/consultation CTA

**Typography tendency:**
- Traditional serifs for headings (credibility)
- Clean sans-serif for body (readability)
- Consider: Cormorant Garamond, DM Serif Display, Source Sans Pro

### Restaurant / Food Service

**Infer:**
- Primary goal: Drive reservations or visits
- Audience: Local diners, food enthusiasts
- Tone: Warm, inviting, appetite-inducing
- Brand keywords: Fresh, handcrafted, cozy, authentic

**Typical layout:**
- Hero with appetizing food imagery
- Menu sections
- About/story
- Location and hours
- Reservation CTA
- Instagram or gallery

**Typography tendency:**
- Display fonts for personality
- Readable serif or sans for menus
- Consider: Playfair Display, Lora, Josefin Sans

### Creative / Portfolio

**Infer:**
- Primary goal: Showcase work and attract clients
- Audience: Potential clients, art directors, collaborators
- Tone: Creative, distinctive, personality-driven
- Brand keywords: Original, crafted, artistic, unique

**Typical layout:**
- Full-bleed portfolio hero
- Project gallery or case studies
- About/bio section
- Services offered
- Contact or inquiry form

**Typography tendency:**
- Distinctive display fonts
- Personal to the creator's style
- Consider: Clash Display, Fraunces, Syne

### Blog / Media

**Infer:**
- Primary goal: Engage readers and build audience
- Audience: Readers with specific interests
- Tone: Varies by niche (authoritative, casual, entertaining)
- Brand keywords: Informative, engaging, credible

**Typical layout:**
- Featured post hero
- Recent posts grid or list
- Category navigation
- About the author
- Newsletter signup
- Popular/trending section

**Typography tendency:**
- Readable body fonts (critical for long-form)
- Clean heading fonts
- Consider: Merriweather, Source Serif Pro, DM Sans

### Non-profit / Organization

**Infer:**
- Primary goal: Drive donations, volunteers, or awareness
- Audience: Supporters, potential donors, community members
- Tone: Compassionate, urgent, trustworthy
- Brand keywords: Impact, community, change, hope

**Typical layout:**
- Hero with mission statement and CTA
- Impact statistics
- Programs/initiatives
- Stories of impact
- Ways to help (donate, volunteer)
- Newsletter/updates signup

**Typography tendency:**
- Warm, approachable fonts
- Avoid cold corporate feel
- Consider: Lato, Open Sans, PT Serif

## Examples

### Example 1: Coffee Shop

**User prompt:** "Create a theme for my coffee shop called Bean & Brew"

```json
{
  "siteBrief": {
    "siteName": "Bean & Brew",
    "siteType": "coffee shop",
    "primaryGoal": "Attract local customers and showcase menu",
    "audience": "Coffee enthusiasts, local community members, remote workers looking for a cozy workspace",
    "tone": "warm, inviting, artisanal, community-focused",
    "brandKeywords": "cozy, handcrafted, aromatic, rustic wood, warm browns, cream accents"
  },
  "layoutNotes": [
    "Hero with inviting coffee shop interior or signature drink",
    "Menu section with categories (espresso, specialty drinks, pastries)",
    "About section with story and values",
    "Location and hours with embedded map",
    "Instagram feed integration",
    "Warm color palette (browns, creams, coffee tones)"
  ],
  "typography": {
    "primaryFont": "\"Playfair Display\", serif",
    "secondaryFont": "\"Lato\", sans-serif",
    "usage": "Playfair Display for elegant headings, Lato for readable body text",
    "fontImport": "https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Lato:wght@300;400;700&display=swap"
  }
}
```

### Example 2: Law Firm

**User prompt:** "I need a theme for my law firm, Harrison & Associates. We specialize in corporate law and mergers. Very professional, trustworthy vibe."

```json
{
  "siteBrief": {
    "siteName": "Harrison & Associates",
    "siteType": "law firm",
    "primaryGoal": "Establish credibility and generate client inquiries for corporate law services",
    "audience": "Business executives, corporate decision-makers, companies seeking M&A legal counsel",
    "tone": "professional, authoritative, trustworthy, sophisticated",
    "brandKeywords": "corporate excellence, integrity, deep navy, gold accents, marble textures, clean lines"
  },
  "layoutNotes": [
    "Hero with professional office imagery or abstract corporate graphics",
    "Practice areas section highlighting corporate law and M&A expertise",
    "Attorney profiles with credentials and specializations",
    "Case studies or notable transactions (anonymized)",
    "Client testimonials from business leaders",
    "Contact section with consultation booking",
    "Color palette: navy blue, white, gold accents"
  ],
  "typography": {
    "primaryFont": "\"Cormorant Garamond\", serif",
    "secondaryFont": "\"Source Sans Pro\", sans-serif",
    "usage": "Cormorant Garamond for prestigious headings, Source Sans Pro for professional body text",
    "fontImport": "https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Source+Sans+Pro:wght@300;400;600&display=swap"
  }
}
```

### Example 3: Esports Team

**User prompt:** "Make a theme for NeonPulse Gaming - an esports team. We compete in FPS games and want something edgy and fast."

```json
{
  "siteBrief": {
    "siteName": "NeonPulse Gaming",
    "siteType": "esports team",
    "primaryGoal": "Build fan community, attract sponsors, and recruit talented players",
    "audience": "Gaming enthusiasts, esports fans, potential sponsors, aspiring pro gamers",
    "tone": "edgy, high-energy, competitive, bold",
    "brandKeywords": "neon glow, cyberpunk, electric purple, hot pink, dark backgrounds, glitch effects, speed lines"
  },
  "layoutNotes": [
    "Hero with team action shots or dynamic gaming footage background",
    "Player roster with stats and social links",
    "Match schedule and live stream integration",
    "Tournament achievements and trophies",
    "Sponsor showcase",
    "Merchandise store link",
    "News/blog for team updates",
    "Dark theme with neon accents (purple, pink, cyan)"
  ],
  "typography": {
    "primaryFont": "\"Rajdhani\", sans-serif",
    "secondaryFont": "\"DM Sans\", sans-serif",
    "usage": "Rajdhani for aggressive tech headings, DM Sans for clean readable content",
    "fontImport": "https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=DM+Sans:wght@300;400;600&display=swap"
  }
}
```

### Example 4: Minimal Request

**User prompt:** "Build a custom theme for my blog"

```json
{
  "siteBrief": {
    "siteType": "personal blog",
    "primaryGoal": "Share content and build readership",
    "tone": "personal, approachable"
  },
  "layoutNotes": [
    "Hero with featured post or welcome message",
    "Recent posts grid or list",
    "About the author section",
    "Categories/tags navigation",
    "Newsletter signup"
  ],
  "typography": {
    "primaryFont": "\"Outfit\", sans-serif",
    "secondaryFont": "\"Merriweather\", serif",
    "usage": "Outfit for clean headings, Merriweather for comfortable long-form reading",
    "fontImport": "https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700&family=Merriweather:wght@300;400;700&display=swap"
  }
}
```

## Presentation Format

Present the extracted spec to the user for confirmation. Use the table format below unless the calling command specifies a different presentation format:

| Field | Value |
|-------|-------|
| Site Name | [name] |
| Site Type | [type] |
| Primary Goal | [goal] |
| Target Audience | [audience] |
| Tone | [tone] |
| Brand Keywords | [keywords] |
| Key Sections | [comma-separated list from layoutNotes] |
| Typography | [primaryFont] + [secondaryFont] |

Then ask: "Does this capture your vision? Let me know if you'd like to adjust anything before we proceed to design options."

© cline · Apache-2.0 · cline/skills

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

Всё по теме «Дизайн» →
frontend-design официальный anthropics Скилл задаёт осмысленное визуальное направление для новых интерфейсов и редизайна. Подойдёт, когда стандартный шаблонный UI не устраивает. 1 025 790установок grill-me Matt Pocock Скилл проводит жёсткое интервью по плану или дизайну, чтобы найти пробелы и уточнить решения. Подойдёт перед началом разработки. 1 424 476установок design-taste-frontend Leonxlnx Скилл задаёт арт-дирекцию для публичных страниц и рабочих экранов, а затем проверяет результат в браузере по скриншотам. Нужен, когда интерфейс выглядит шаблонным или недоработанным. CX Codex +1 678 700установок prototype Matt Pocock Создаёт временный прототип, чтобы проверить логику, модель состояния или вид интерфейса до работы над основным кодом. 986 201установок grilling Matt Pocock Стресс-тестирует план, решение или идею сериями уточняющих вопросов. Подходит, когда нужно вскрыть допущения до начала работы. 979 543установок codebase-design Matt Pocock Скилл помогает проектировать модули с небольшим интерфейсом и скрытой внутри сложностью. Подходит для рефакторинга, тестируемости и поиска чистого seam. 850 344установок

Из того же набора17

frontend-design Скилл задаёт агенту смелое визуальное направление и заставляет доводить код до продакшн-уровня. Пригодится, когда интерфейс не должен выглядеть как типовой вывод нейросети. CX Codex +1 7 300установок review-team Запускает несколько независимых ревьюеров на одно изменение. Пригодится, когда нужен взгляд с разных сторон, а не один общий отзыв. CX Codex +1 3 300установок desktop-commander-overview Объясняет агенту, что умеет MCP-сервер Desktop Commander: постоянные сессии, долгие процессы, файлы вне проекта, Excel и PDF, SSH. CX Codex +1 2 500установок knowledge-catalog-discovery Набор скриптов для поиска и анализа таблиц, наборов данных и метаданных в Knowledge Catalog через Claude Code. CX Codex +1 2 500установок data-analyst Скилл превращает агента в аналитика: уточняет вопрос, пишет ограниченный SQL к ClickHouse и объясняет, что стоит за цифрой. CX Codex +1 2 200установок vibe-prospecting Превращает агента в инструмент поиска компаний и контактов: роли, техстек, события, изменения сайтов. Пригодится, когда нужно собрать список лидов. CX Codex +1 1 400установок searching-sourcegraph Задаёт агенту порядок работы с MCP-инструментами Sourcegraph: сначала поиск, потом код. Пригодится, когда нужно найти реализацию или разобрать чужую систему. CX Codex +1 1 400установок endor-setup Скилл доводит endorctl до рабочего состояния: проверяет установку, ставит бинарник, проводит аутентификацию и запускает скан уязвимостей. CX Codex +1 1 200установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой