Site Specification 标志

Site Specification

组织
Automattic
site-specification

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.

概览

发布者Automattic
代码仓库wordpress-agent-skills
技能名称site-specification
星标数
113
复刻数
19
附带文件
仅含指令
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 Automattic 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Site Specification AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/Automattic/wordpress-agent-skills/tree/trunk/claude-code/wp-site-creator/skills/site-specification
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Automattic/wordpress-agent-skills.git /tmp/wordpress-agent-skills
mkdir -p .claude/skills
cp -r /tmp/wordpress-agent-skills/claude-code/wp-site-creator/skills/site-specification .claude/skills/site-specification
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Site Specification,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Site Specification。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Site Specification 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

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:

FieldValue
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."

常见问题

Site Specification AI 技能有什么作用?

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.

为什么在 TypingMind 中使用 Site Specification?

因为您只需安装一次,就能搭配任何模型使用。Site Specification 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Site Specification?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/Automattic/wordpress-agent-skills/tree/trunk/claude-code/wp-site-creator/skills/site-specification。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Site Specification?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Site Specification 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Site Specification 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Site Specification AI 技能免费吗?

Automattic 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇