Communitygithub.com

umairmsm/wp-design

Stage 2 of a wp-site-kit WordPress build - design direction, a static HTML/CSS prototype with design tokens, owner sign-off with screenshots, self-hosted fonts, and porting the approved look into a swappable WordPress skin. Use for "design the site", "new look", "redesign", "change colours or fonts", "make a new skin", "port the prototype to WordPress".

What is wp-design?

wp-design is a Claude Code agent skill that stage 2 of a wp-site-kit WordPress build - design direction, a static HTML/CSS prototype with design tokens, owner sign-off with screenshots, self-hosted fonts, and porting the approved look into a swappable WordPress skin. Use for "design the site", "new look", "redesign", "change colours or fonts", "make a new skin", "port the prototype to WordPress".

Works with~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/umairmsm/wp-site-kit/tree/HEAD/skills/wp-design

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

Stage 2: Design

Goal: the owner has approved a look they have seen on a phone and a laptop. It is written as tokens, so it can become a WordPress skin by copying, and be replaced later without losing features.

Steps

  1. Direction. Fill the project's docs/DESIGN_DIRECTION.md: north star, audience, what we must not look like (competitors, templates), and the non-negotiables. Offer two or three directions at most, as small mood boards or hero mockups, not full sites.
  2. Prototype in static/. Plain HTML and CSS. css/tokens.css uses the same names as the theme's skins/default/tokens.css. Components use tokens only. Real structure (header, hero, cards, form, footer), placeholder copy, no prices and no policy text.
  3. Accessibility from the start:
    • contrast ≥ 4.5:1 for text;
    • visible focus;
    • one H1;
    • a skip link;
    • keyboard paths;
    • prefers-reduced-motion respected. Check the prototype with axe (browser extension) before showing it.
  4. Owner review. Screenshots of every page at phone (375 px) and laptop (1440 px) widths. Record the approval date in DESIGN_DIRECTION.md and save the screenshots in docs/design/.
  5. Fonts: self-host .woff2 files, subset to the needed languages, check the licence, and preload the one or two first-screen faces (name them *-preload.woff2). No Google Fonts requests anywhere.
  6. Port to WordPress (references/design-system.md):
    • copy the tokens into the skin;
    • move component CSS into skin.css;
    • lay out templates with the core's render functions;
    • add skin part overrides only where the markup must differ. The look changes; the core's data and markup contracts don't.
  7. Later redesigns are new skins: copy skins/default to skins/<name>, change tokens, preview with ?skin=<name> (admins), and switch with the <prefix>_skin option once approved.

Gate (tick in SITE_STATUS.md)

  • DESIGN_DIRECTION.md written; owner approval recorded with screenshots
  • Tokens defined; components use tokens only
  • Fonts self-hosted; 0 requests to Google Fonts

Lessons

  • The locked design changed when the business partner sent his own redesign. Because the look was a skin, the switch kept every feature. Build every design as a skin, even the first one.
  • Don't copy a competitor's palette, type pairing or layout. Owners notice, and visitors don't remember you.
  • A test-only skin (dev-*) for trying ideas never shows on production.
  • If the frontend-design or design-motion-principles skills are installed, use them for direction and motion.

Individual skills in this repo

This repo contains 7 individual skills — each has its own dedicated page.

umairmsm/wp-build

Stage 3 of a wp-site-kit WordPress build - local DDEV site, the core must-use plugin (modules), the presentation-only child theme with skins, the content model (custom post types, meta, WP_Query, render functions), and the enquiry pipeline that saves leads before forwarding. Use when building or changing features, templates, content types, forms or plugin modules on a wp-site-kit site.

umairmsm/wp-content

Stage 4 of a wp-site-kit WordPress build - real copy and photos. Content truth (facts only from the owner), AI drafts and owner approval, claims audits, banned words and fake proof, legal pages, the photo pipeline (dedupe, real-only, EXIF strip, WebP sizes, alt text, AI image register), and recorded content changes. Use for "write the copy", "add photos", "the owner sent new photos", "check for duplicates", "update prices or text on the live site", "legal pages".

umairmsm/wp-kickoff

Stage 1 of a wp-site-kit WordPress build. Use when starting a new WordPress website or taking over or rebuilding an existing one - discovery brief, stack decision, creating the project with bin/wp-site-new, locked decisions, private repo and credentials inventory. Triggers - "new WordPress site", "start a client website", "rebuild this site", "take over this WordPress site".

umairmsm/wp-operate

Stage 8 of a wp-site-kit WordPress build and everything after launch - backups with an off-machine copy, restore drills, the disaster-recovery runbook, credentials inventory, update policy, alerts, and working from more than one machine (bridge file, workstation doctor, encrypted state bundle, rescuing unpushed work). Use for "backup", "restore", "move to a new machine/server", "update plugins", "what if the server dies", "work from the cloud box", "set up a second machine".

umairmsm/wp-seo

Stage 5 of a wp-site-kit WordPress build - titles and descriptions, canonical URLs, one schema owner and JSON-LD, sitemaps, robots.txt and llms.txt, AI crawler access, redirects (301 vs 302), legacy URL maps, Search Console, and adding languages one pilot at a time with Polylang (hreflang, .po/.mo strings, native review). Use for "SEO", "schema", "redirect", "old URLs", "translate the site", "add French/Spanish", "hreflang", "canonical".

umairmsm/wp-ship

Stage 7 of a wp-site-kit WordPress build - staging behind Cloudflare Access, server hardening, safe deploys from a commit (scripts/deploy-safe.sh), database content changes, the launch audit, DNS cutover without breaking a running business, and the first week after launch. Use for "deploy", "set up staging", "go live", "launch", "cutover", "move DNS", "harden the server".

umairmsm/wp-site

Start here for any WordPress website built with wp-site-kit, from an empty folder to a live site. Use when someone says "build a WordPress site", "new website for a client", "where are we on the site", "what is next before launch", or asks to continue a site project. Finds the current stage from SITE_STATUS.md, applies the hard rules, and hands over to the right stage skill.

Related Skills