Source profileQuality 98/100

respira-press/agent-skills-wordpress/skills/design-system-synthesizer/SKILL.md

design-system-synthesizer

Use when the user says 'build a design system for my site', 'extract design tokens', 'capture my brand', or 'build my style guide', or after a rebrand. Reads representative pages, theme files, and media to extract logo, colors, typography, spacing, and components, then writes a visible style-guide page.

Source repository stars
40
Declared platforms
0
Static risk flags
1
Last source update
2026-08-04
Source checked
2026-08-05

Decision brief

What it does—and where it fits

Version: 1.3.0 Updated: 2026-08-04 Freshly updated: v1.3.0 catches up with the design-token surface. Builder global palettes and typography are now written through first-class token tools (respiralistdesigntokens, respiracreatedesigntoken, respiraupdatedesigntoken, respiradelete…

Best for

  • First time setting up an AI workflow for an existing site — generate the design system so future content is on-brand
  • Site rebrand — re-synthesize after the new brand lands so the AI catches the new tokens
  • Before running content-creation skills (buildpage, page generators) so the new pages match the brand

Not for

  • Tasks that require unconfirmed production actions or broad system permissions.
  • Environments where the pinned source and install steps cannot be inspected.

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexNot declaredNo explicit evidencePortability before use
Claude CodeNot declaredNo explicit evidencePortability before use
CursorNot declaredNo explicit evidencePortability before use
Gemini CLINot declaredNo explicit evidencePortability before use
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/respira-press/agent-skills-wordpress --skill "skills/design-system-synthesizer"
Safe inspection promptEditorial

Inspect the Agent Skill "design-system-synthesizer" from https://github.com/respira-press/agent-skills-wordpress/blob/10821eaabe362fe9052f6ee81ecdd62e5d2f2980/skills/design-system-synthesizer/SKILL.md at commit 10821eaabe362fe9052f6ee81ecdd62e5d2f2980. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

Workflow

What the source asks the agent to do

  1. 01

    Execution Workflow

    Call respiragetactivesite + respiragetsitecontext. Note WordPress version and active theme — theme.json or customizer settings may already expose some tokens.

    The homepage (always)The about page (always if present)One typical service or product page
  2. 02

    Step 1 — Confirm site

    Call respiragetactivesite + respiragetsitecontext. Note WordPress version and active theme — theme.json or customizer settings may already expose some tokens.

    Call respiragetactivesite + respiragetsitecontext. Note WordPress version and active theme — theme.json or customizer settings may already expose some tokens.
  3. 03

    Step 2 — Pick representative pages

    Call respiralistpages. From the list, pick 5–10 pages that should represent the brand:

    The homepage (always)The about page (always if present)One typical service or product page
  4. 04

    Step 3 — Extract logo + brand imagery

    Call respiralistmedia filtered for logo-like names (logo, wordmark, brand, favicon). Also check site identity via respiragetoption('siteicon') for the favicon and respiragetoption('customlogo') for the custom logo URL.

    Call respiralistmedia filtered for logo-like names (logo, wordmark, brand, favicon). Also check site identity via respiragetoption('siteicon') for the favicon and respiragetoption('customlogo') for the custom logo URL.
  5. 05

    Step 4 — Read theme stylesheet for CSS variables

    Call respirareadthemefile('style.css') and respirareadthemefile('theme.json') if FSE theme. Extract any :root CSS custom properties (often the cleanest source of brand tokens).

    Call respirareadthemefile('style.css') and respirareadthemefile('theme.json') if FSE theme. Extract any :root CSS custom properties (often the cleanest source of brand tokens).

Permission review

Static risk signals and limitations

Network access

medium · line 31

The documentation includes network, browsing, or remote request actions.

"logo_url": "https://example.com/wp-content/uploads/2025/logo.svg",

Network access

medium · line 33

The documentation includes network, browsing, or remote request actions.

"favicon_url": "https://example.com/favicon.ico",

Evidence record

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score98/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars40SourceRepository attention, not individual Skill quality
Compatibility0 platformsSourceDeclared in the catalog source record
Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
respira-press/agent-skills-wordpress
Skill path
skills/design-system-synthesizer/SKILL.md
Commit
10821eaabe362fe9052f6ee81ecdd62e5d2f2980
License
MIT
Collected
2026-08-05
Default branch
main
View the original SKILL.md

Design System Synthesizer

Version: 1.3.0 Updated: 2026-08-04 Freshly updated: v1.3.0 catches up with the design-token surface. Builder global palettes and typography are now written through first-class token tools (respira_list_design_tokens, respira_create_design_token, respira_update_design_token, respira_delete_design_token), replacing v1.2.0's describe-it-in-plain-words guidance. HTML/design conversions register the colors and typography they carry as named tokens in the builder's own global styles automatically, and converted pages reference those tokens instead of carrying value copies — so the synthesizer reads what is already registered before synthesizing, reuses those names instead of re-inlining values, and reports token registration in its summary. Category: intelligence Status: stable Requires: Respira for WordPress plugin 7.1+ + MCP server


Description

Read a WordPress site's representative pages, theme files, and media library to extract a complete, reusable design system — logo, color palette, typography, spacing scale, component patterns. Persist it to the site so every future content-creation skill references it, and every new page Claude builds matches the existing brand.

This is the foundation for on-brand AI-generated content. Without a design system, the agent guesses at colors, fonts, and spacing — and the result looks like every other AI-generated WordPress page. With a design system, the agent has explicit tokens to use, and new pages snap to the brand.


What it produces

A structured design_system artifact stored at the site level. Schema:

{
  "version": "1.2.0",
  "synthesized_at": "2026-05-24T14:30:00Z",
  "synthesized_from": ["/", "/about/", "/services/web-design/", "/blog/sample-post/", "/contact/"],
  "brand": {
    "logo_url": "https://example.com/wp-content/uploads/2025/logo.svg",
    "logo_dark_url": null,
    "favicon_url": "https://example.com/favicon.ico",
    "social_card_url": "https://example.com/wp-content/uploads/2025/og-default.jpg",
    "wordmark_text": "Acme Studio"
  },
  "colors": {
    "primary": "#2563EB",
    "secondary": "#0F172A",
    "accent": "#F59E0B",
    "neutral_900": "#0F172A",
    "neutral_700": "#334155",
    "neutral_500": "#64748B",
    "neutral_300": "#CBD5E1",
    "neutral_100": "#F1F5F9",
    "background": "#FFFFFF",
    "background_alt": "#F8FAFC",
    "text_primary": "#0F172A",
    "text_secondary": "#475569",
    "link": "#2563EB",
    "success": "#10B981",
    "warning": "#F59E0B",
    "error": "#EF4444"
  },
  "typography": {
    "heading_family": "Söhne, ui-sans-serif, system-ui, sans-serif",
    "heading_weight": 700,
    "h1_size": "3.5rem",
    "h2_size": "2.5rem",
    "h3_size": "1.875rem",
    "h4_size": "1.5rem",
    "h5_size": "1.25rem",
    "h6_size": "1rem",
    "body_family": "Söhne, ui-sans-serif, system-ui, sans-serif",
    "body_weight": 400,
    "body_size": "1rem",
    "body_line_height": 1.65,
    "mono_family": "JetBrains Mono, ui-monospace, monospace",
    "letter_spacing_heading": "-0.02em",
    "letter_spacing_body": "0"
  },
  "spacing": {
    "scale_base": 4,
    "scale_steps": [4, 8, 12, 16, 24, 32, 48, 64, 96, 128],
    "section_padding_y": "96px",
    "section_padding_x": "24px",
    "container_max_width": "1280px"
  },
  "components": {
    "button_primary": {
      "background": "primary",
      "color": "#FFFFFF",
      "padding": "12px 24px",
      "border_radius": "8px",
      "font_weight": 600
    },
    "button_secondary": { /* ... */ },
    "card": {
      "background": "background",
      "border": "1px solid neutral_300",
      "border_radius": "12px",
      "padding": "32px",
      "shadow": "0 1px 3px rgba(0,0,0,0.05)"
    },
    "hero_pattern": "centered_with_kicker_h1_subtitle_2cta",
    "section_pattern": "wide_two_column_image_left"
  },
  "voice_hints": {
    "person": "we",
    "formality": "approachable_professional",
    "sentence_length_avg_words": 14,
    "avoids": ["exclamation marks", "marketing superlatives"]
  }
}

The artifact is stored via respira_update_option('respira_design_system', ...) for v7.1. v7.2 may migrate this to a dedicated respira_intelligence_artifacts table if cross-site rollup is needed.


When to Use

  • First time setting up an AI workflow for an existing site — generate the design system so future content is on-brand
  • Site rebrand — re-synthesize after the new brand lands so the AI catches the new tokens
  • Before running content-creation skills (build_page, page generators) so the new pages match the brand
  • Quarterly refresh — re-synthesize to capture brand drift

Trigger Phrases

  • "build a design system for my site"
  • "extract my brand"
  • "synthesize a design system"
  • "create my design tokens"
  • "what does my site look like"
  • "capture my brand"
  • "build my style guide"
  • "extract design tokens"

Execution Workflow

Step 1 — Confirm site

Call respira_get_active_site + respira_get_site_context. Note WordPress version and active theme — theme.json or customizer settings may already expose some tokens.

Step 2 — Pick representative pages

Call respira_list_pages. From the list, pick 5–10 pages that should represent the brand:

  • The homepage (always)
  • The about page (always if present)
  • One typical service or product page
  • One typical blog post
  • The contact page
  • One landing page if any exists

If the site has fewer than 5 pages, use whatever exists. If more than 10, sample by recency and front-page-link weight.

Step 3 — Extract logo + brand imagery

Call respira_list_media filtered for logo-like names (logo, wordmark, brand, favicon). Also check site identity via respira_get_option('site_icon') for the favicon and respira_get_option('custom_logo') for the custom logo URL.

Step 4 — Read theme stylesheet for CSS variables

Call respira_read_theme_file('style.css') and respira_read_theme_file('theme.json') if FSE theme. Extract any :root CSS custom properties (often the cleanest source of brand tokens).

Step 5 — Extract each picked page's builder content

For each of the 5–10 picked pages:

  1. respira_extract_builder_content(page_id) — get the builder-native structure
  2. Note colors used (background, text, buttons, links)
  3. Note typography (heading sizes, families, weights)
  4. Note spacing (section padding, gutters, container widths)
  5. Note component patterns (hero layout, card style, navigation pattern)

Step 6 — Synthesize

Aggregate the per-page observations into the structured design_system schema (see "What it produces" above). When multiple pages disagree on a value, prefer:

  • The homepage's choice for hero patterns
  • The most common value across all pages for body typography
  • The CSS custom property value if defined (overrides per-page observation)
  • The theme.json value if FSE theme (overrides CSS custom property)

For colors, identify primary / secondary / accent by frequency-of-use + role (background-of-CTA = primary; link color = link; large-text color = primary if it differs from body). Generate a neutral scale (100 → 900) by sampling backgrounds, borders, text colors.

Step 7 — Show the synthesized system to the user

Output a human-readable summary:

## Design system synthesized for {site_url}

**Brand**
- Logo: ![](logo_url)
- Wordmark: {wordmark_text}

**Colors**
- Primary: {primary} ▮
- Secondary: {secondary} ▮
- Accent: {accent} ▮
- Neutrals: {neutral_100} → {neutral_900} (9-step scale)

**Typography**
- Headings: {heading_family} {heading_weight}, H1 {h1_size}
- Body: {body_family} {body_weight}, {body_size}/{body_line_height}

**Spacing**
- Base: {scale_base}px, scale: {scale_steps}
- Section padding: {section_padding_y} vertical, container max {container_max_width}

**Component patterns observed**
- Hero: {hero_pattern}
- Section: {section_pattern}
- Button primary: {button_primary description}
- Card: {card description}

Ask the user to confirm or correct anything.

Step 8 — Persist the data

After confirmation, call respira_update_option('respira_design_system', <json>). Confirm with respira_get_option('respira_design_system').

Step 9 — Generate the visible style-guide page

The JSON in wp_options is the machine source of truth, but it's invisible to humans. Step 9 builds a real WordPress page on the site that renders the synthesized tokens visually — so the user can see their design system, send a link to teammates, and edit it like any other page.

Snapshot before writing (required)

Building the style-guide page is the first write this skill makes to the live site. Take a checkpoint first so it's explicitly reversible:

Tool: respira_get_snapshot
Note the returned snapshot_id — that's the rollback handle.

If anything looks wrong after the build, roll back cleanly:

  • respira_restore_snapshot(snapshot_id) to undo site-level changes, and
  • delete the draft style-guide page you created (respira_delete_page(page_id)).

The persisted respira_design_system option is not destructive (Step 8 already diffed before overwriting), so the snapshot here is about the page build, not the option.

Page settings

  • Title: "Design System" (overridable)
  • Slug: /design-system/ (overridable; check via respira_list_pages and append -2 if conflict)
  • Status: private by default (visible only to logged-in editors). Ask the user: "Publish as private (admin-only preview) or public?" — default to private.
  • Excluded from sitemap, robots noindex by default (so even if accidentally published, it doesn't pollute search).
  • Builder: the active builder (Bricks / Elementor / Divi / Gutenberg / Oxygen / Breakdance / etc.) — never raw HTML. Use respira_get_builder_inline_schemas to confirm available modules before building.

Page structure (the section spine)

Build the page with respira_build_page using this section spine, mapping each section to the active builder's native modules:

  1. Hero

    • Eyebrow: "Design System · synthesized {synthesized_at} from {n} pages"
    • H1: "{brand.wordmark_text} Design System" (or "Design System" if no wordmark)
    • Subtitle: "The visual foundation every page generated on this site references."
    • Logo image (from brand.logo_url) prominently displayed
  2. Brand identity

    • Logo card with full logo, dimensions, file type
    • Favicon swatch
    • Social card preview if brand.social_card_url
    • Wordmark in heading typography if brand.wordmark_text
  3. Color palette

    • 4 primary swatches (primary / secondary / accent / background) — each a large color block with hex code, role name, and "use for" guidance
    • 9-step neutral scale — horizontal strip from neutral_100 → neutral_900 with hex codes
    • Semantic colors row (link / success / warning / error) — smaller swatches
  4. Typography

    • Heading sample: all six heading levels (H1 → H6) rendered in actual heading_family + heading_weight + their specified sizes, each labeled with the size value
    • Body sample: a real paragraph in body_family + body_weight + body_size + body_line_height so the user can SEE the body reading experience
    • Mono sample: a code block in mono_family
    • Side panel listing the font stacks verbatim (with fallbacks) and font-loading note (Google Fonts / Adobe Fonts / self-hosted)
  5. Spacing scale

    • Visual blocks for each step in scale_steps — a colored rectangle whose height matches the step value, labeled with the pixel value
    • "Section padding" block showing actual section padding visually
    • "Container max-width" line showing the max-width as a horizontal ruler
  6. Components

    • Button primary + button secondary rendered in actual styles (background, color, padding, border-radius)
    • Card example with real content ("Card title", short body, button)
    • Hero pattern description with a wireframe sketch
    • Section pattern description with a wireframe sketch
  7. Voice hints (if synthesized)

    • Person used
    • Formality descriptor
    • Avoided words (the strongest signal)
    • Cross-link to the Brand Voice Synthesizer skill — "For the full brand voice including signature phrases, signature openers, and a real paragraph example, run the Brand Voice Synthesizer."
  8. Footer

    • Synthesis metadata: source pages list, synthesized timestamp, version
    • "Edit this page" link to the builder edit URL
    • "Re-synthesize" instructions: "Run the Design System Synthesizer skill again any time to refresh. The artifact will be diffed before overwriting."

Builder mapping

respira_build_page accepts a section spine and renders it as native builder modules. For each section above, the page builder picks the closest module:

SectionBricksElementorDivi 5Gutenberg
Color swatchesdiv block grid + heading + textInner Section + Heading + Text widgetsRow + Column + Code modulecore/columns + core/group blocks
Heading samplesheading element ×6Heading widget ×6Text module ×6core/heading blocks ×6
Button samplesbutton elementButton widgetButton modulecore/buttons block
Spacing blocksdiv block with explicit heightInner Section with marginCode module with custom CSScore/spacer blocks

Do NOT render with raw HTML even when the builder doesn't have a perfect 1:1 mapping. If a section can't be cleanly built (e.g. the spacing-scale visualization requires inline styles the builder doesn't expose), fall back to a labeled bullet list — never a <div> blob.

Output

After page creation, output:

## ✓ Design system saved + style-guide page created

**Machine source of truth:** `wp_options.respira_design_system` (queryable via `respira_get_option`)

**Human view:** {page_url} · status: private (editors only)

**Builder tokens:** {n} tokens registered or aligned in {builder}'s global styles (`respira_list_design_tokens` to inspect), or "none — {builder} has no global token store"

**Open it now:** [{page_title} in the editor]({builder_edit_url})

**Promote to public:** call `respira_update_page(id={page_id}, status='publish')` if you want this visible on your site as a /design-system/ landing.

**Re-sync any time:** run this skill again. Existing data is diffed and the page is regenerated (with the option to keep customizations).

**Roll back this build:** `respira_restore_snapshot({snapshot_id})` then `respira_delete_page({page_id})`.

How other skills use the design system

Once persisted, future skills (Page Template Library, Brand Voice Synthesizer, future content-generation skills) should call respira_get_option('respira_design_system') at the top of their workflow. They use the tokens to:

  • Pick colors when generating new sections (use primary, secondary, accent — never invented hex values)
  • Match typography when generating headings (heading_family, heading_weight, sizes)
  • Match spacing when laying out sections (use the spacing scale, not arbitrary pixel values)
  • Match component patterns when generating heros, cards, buttons (reference button_primary etc.)

Applying tokens to the builder's own global colors / typography

Builders with a global store — the block editor family, Elementor, Divi, Bricks, Beaver, Breakdance, Oxygen — keep their own global color palette and typography settings, separate from the page-level styles. Pushing the synthesized tokens into that store means future hand-edits in the builder also snap to the brand.

That path is now first-class: respira_list_design_tokens, respira_create_design_token, respira_update_design_token, respira_delete_design_token. And HTML/design conversions register the colors and typography they carry as named tokens in that store automatically, with converted pages referencing the tokens instead of carrying value copies. In practice:

  • Start with respira_list_design_tokens — conversions may already have registered tokens on this site. Reuse those names rather than re-inlining raw values or inventing a parallel palette.
  • Persist the respira_design_system option (Step 8) — that stays the canonical machine artifact.
  • With the user's confirmation, register or align the synthesized tokens in the builder's global store via respira_create_design_token / respira_update_design_token.
  • Builders without a global store (Brizy, Thrive Architect, WPBakery, Visual Composer, Flatsome, SeedProd) register nothing — page-level values are the only surface there; say so instead of pretending.
  • Mention the token registration — names and counts — in the completion summary.

This is the foundation. Every other content skill stands on it.


Hard rules

  • Never invent design tokens. Every color, font, size, and pattern in the artifact must trace to an observation in the source pages, theme files, or media. If a token can't be inferred, leave it null — don't guess.
  • Never overwrite an existing design system silently. If respira_get_option('respira_design_system') returns existing data, show the user the diff before overwriting.
  • The logo URL must be an absolute URL. Use wp_get_attachment_url() semantics, not a relative path.
  • Color values must be hex (#RRGGBB). Convert rgb(), rgba(), named colors to hex.
  • Font families preserve the full font-stack as written in CSS (with fallbacks), not just the primary family name.

Tooling

Reading the brand (source of truth)

  • respira_get_active_site
  • respira_get_site_context
  • respira_list_pages
  • respira_list_media
  • respira_get_option — read site_icon / custom_logo, and check for an existing respira_design_system
  • respira_extract_builder_content — per-page tokens from the builder-native structure
  • respira_read_theme_filestyle.css :root custom properties and theme.json (FSE)

Persisting + rendering

  • respira_update_option — write respira_design_system (diff first via respira_get_option)
  • respira_get_builder_inline_schemas — confirm available modules before building
  • respira_get_snapshot — checkpoint before the page build (rollback handle)
  • respira_build_page — render the visible style-guide page in the active builder
  • respira_restore_snapshot + respira_delete_page — explicit rollback of the build

Builder global tokens

  • respira_list_design_tokens — see what conversions already registered; always read before writing
  • respira_create_design_token / respira_update_design_token — register or align the synthesized tokens in the builder's global store (with user confirmation)
  • respira_delete_design_token — remove a token the user has retired

No-store builders (Brizy, Thrive Architect, WPBakery, Visual Composer, Flatsome, SeedProd) have no global surface to write; skip token registration there and say so.


Telemetry

Records: site URL hash, number of pages sampled, builder active, theme name, colors detected count, typography sources used (theme.json / CSS variables / per-page observation), success/failure, total duration. No actual color values, font names, or logo URLs are sent.

Endpoint: POST https://www.respira.press/api/skills/track-usage


Future (v7.2)

Storage will migrate from wp_options to a dedicated respira_intelligence_artifacts table for cross-site rollups and Studio-tier multi-site dashboards. The schema above is stable — the storage layer change is transparent to consuming skills.

Alternatives

Compare before choosing

Computed 9829

MoizIbnYousaf/marketing-cli

higgsfield-generate

Use when the user wants to generate an image or video via Higgsfield AI. Covers 30+ models: Soul V2, Seedance 2.0, Kling 3.0, Veo 3.1, GPT Image 2, Nano Banana 2. Also covers Marketing Studio — branded ad video/image with avatars and products. Use whenever: "generate an image", "make a video", "animate this photo", "image-to-video", "img2vid", "edit this image with AI", "produce a clip", "create an ad", "make a UGC video", "marketing video", "brand video", "TV spot", "import product from URL", "

Computed 9438,502

wshobson/agents

brand-landingpage

Brand-first landing page designer — runs a brand-identity interview (colors, typography, shape language), then generates and iterates on a polished landing page via Stitch with deployment-ready HTML. Use when the user asks to create, design, or build a landing page, homepage, or marketing page and has no established visual direction. Skip when they have a design mockup, need a dashboard or app UI, are working at component level, building a multi-page app, or restyling with known design tokens —

Computed 9343,034

coreyhaines31/marketingskills

emails

When the user wants to create or optimize an email sequence, drip campaign, automated email flow, or lifecycle email program. Also use when the user mentions "email sequence," "drip campaign," "nurture sequence," "onboarding emails," "welcome sequence," "re-engagement emails," "email automation," "lifecycle emails," "trigger-based emails," "email funnel," "email workflow," "what emails should I send," "welcome series," or "email cadence." Use this for any multi-email automated flow. For cold out

Computed 93165

JasonColapietro/suede-creator-skills

suede-image

Suede-affiliated marketing image production for generation prompts, hero and social graphics, product mockups, export sizing, compression, and preview assets. Use when the user needs a general-purpose marketing image or an image-production workflow. NOT FOR: paid-ad creative systems (use suede-ad-creative), video production (use suede-video), or app-store listing strategy (use suede-aso).