Agent skill

Design System Synthesizer Skill for WordPress Sites

The design system synthesizer skill has your AI coding agent read 5 to 10 pages of a WordPress site, extract its brand tokens, and save a draft design direction.

Install
npx skills add respira-press/agent-skills-wordpress -g -a claude-code -y
View on GitHub

Stars, license and last push from GitHub. Install count as reported by the open skills directory.

What is the design system synthesizer skill?

The design system synthesizer skill is defined in a SKILL.md in respira-press/agent-skills-wordpress and needs the Respira for WordPress plugin 7.1 or newer plus its MCP server. It extracts logo, colors, typography, spacing and components from 5 to 10 pages, then saves a draft design direction.

It reads a WordPress site's representative pages, theme files and media library to extract a reusable design system: logo, color palette, typography, spacing scale and component patterns. It persists the result to the site so later content skills reference it.

It triggers when you say things like build a design system for my site, extract design tokens, capture my brand or build my style guide, or after a rebrand.

What it extracts

  • Brand: logo URL, favicon, social card and wordmark text.
  • Colors: primary, secondary and accent, a neutral scale from 100 to 900, background, text, link, success, warning and error.
  • Typography: heading, body and mono families, weights, H1 to H6 sizes, line height and letter spacing.
  • Spacing: a scale base, scale steps, section padding and container max width.
  • Components: primary and secondary buttons, cards, a hero pattern and a section pattern.

How the workflow runs

It confirms the site, picks 5 to 10 representative pages, reads the logo, the theme stylesheet and theme.json, and extracts builder content from each page. It then merges the observations into one schema and asks you to confirm or correct the summary.

When pages disagree, the homepage wins for hero patterns, the most common value wins for body typography, a CSS custom property overrides a page observation, and theme.json overrides a CSS custom property.

Saved draft and style guide page

After you confirm, it checks respira_list_design_directions and updates an existing draft instead of saving a duplicate. It saves the result with respira_save_design_direction and reports readiness, including what is still missing.

It then builds a style guide page with respira_build_page. The default title is Design System, the default slug is /design-system/, and the status is private unless you choose public. It uses the active builder's native modules, not raw HTML.

Safeguards

  • Every token must trace to an observation in the source pages, theme files or media. A value filled in by judgment carries inferred: true.
  • An existing design system is diffed and shown to you before anything overwrites it.
  • A direction is activated only after your explicit yes.
  • A snapshot from respira_get_snapshot is taken before the style guide page is built, and respira_restore_snapshot plus respira_delete_page roll it back.
  • Colors are written as #RRGGBB hex and font families keep their full stack.

Who the design system synthesizer skill is for

Best for

  • Setting up an AI workflow for an existing site so future content is on brand.
  • Re-synthesizing after a rebrand so the new tokens are captured.
  • Running before content creation skills so new pages match the brand.
  • A quarterly refresh to capture brand drift.

Not for

  • Writing a design system from reference screenshots and drafting a product PRD, which the ui-designer skill covers.
  • Frameworks for brand voice, visual identity and messaging with scripts that sync guidelines into design tokens, which the brand skill covers.
  • Fetching any public URL over plain HTTP, reading its CSS and writing a skill.md of colors, type, spacing and layout, which the Website Design Systems MCP covers.