npx skills add ...
npx skills add automattic/wordpress-agent-skills --skill 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.
npx skills add automattic/wordpress-agent-skills --skill site-specification
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.
A complete site specification uses this JSON structure:
All fields are optional - only include what can be reasonably inferred from the user's description.
Infer:
Typical layout:
Typography tendency:
Infer:
Typical layout:
Typography tendency:
Infer:
Typical layout:
Typography tendency:
Infer:
Typical layout:
Typography tendency:
Infer:
Typical layout:
Typography tendency:
Infer:
Typical layout:
Typography tendency:
Infer:
Typical layout:
Typography tendency:
User prompt: "Create a theme for my coffee shop called Bean & Brew"
User prompt: "I need a theme for my law firm, Harrison & Associates. We specialize in corporate law and mergers. Very professional, trustworthy vibe."
User prompt: "Make a theme for NeonPulse Gaming - an esports team. We compete in FPS games and want something edgy and fast."
User prompt: "Build a custom theme for my blog"
After extracting the site spec, present it to the user as a readable table for confirmation:
| 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."