CommunityBildgithub.com

auceps-dev-team/wp-site-build

Erstellen oder Neugestalten einer kompletten WordPress-Website anhand einer visuellen Referenz – von der ersten Skizze über das lokale HTML-Modell bis hin zum editierbaren Block-Theme, lokalem Staging und der kundenfreigegebenen Bereitstellung.

Was ist wp-site-build?

Diese Fähigkeit (Skill) ermöglicht es KI-Agenten, eine komplette WordPress-Website von einer visuellen Referenz (Bild oder URL) aus zu erstellen oder neu zu gestalten. Der Workflow ist in sieben Phasen unterteilt: Briefing, Mockup (lokales HTML), Seitenset, Block-Theme + lokales Staging, Deployment und Abnahme – jede Phase hat einen definierten Ausgangspunkt (Gate), der vor dem nächsten Schritt erfüllt sein muss. Der Ansatz folgt zehn strikten Regeln, die aus praktischen Fehlern abgeleitet wurden – darunter das Verbot von rohen HTML-Blöcken (`core/html`), die Anforderung eines visuellen Referenzbilds und die Messung der Pixelgenauigkeit mittels berechneter CSS-Styles. Die Methode unterstützt drei Website-Typen: Showcase-Seiten (mit Kontaktformularen und rechtlichen Seiten), WooCommerce-Shops (mit Block-Cart, Checkout, Consent, Zahlungen und Newsletter) sowie Web-Apps (mit Custom Post Types, Rollen und REST-Endpunkten). Lokales Staging erfolgt durch idempotente PHP-Skripte, die in der Produktion wiederverwendet werden können. Der Skill setzt auf eine enge Zusammenarbeit mit dem Kunden: Der Mockup und der Deployment-Plan müssen vor der Umsetzung vom Kunden freigegeben werden. Bestandteil des Skills ist auch die Einhaltung von Fakten: Keine Inhalte dürfen erfunden werden – Platzhalter wie 'à compléter' und 'à vérifier' kennzeichnen, was noch vom Kunden geliefert werden muss.

Funktioniert mit~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/auceps-dev-team/wp-claude-skills/tree/HEAD/skills/wp-site-build

Installed? Explore more Bild skills: steipete/songsee, affaan-m/frontend-design, mattpocock/improve-codebase-architecture · View all 6 →

In Ihrer bevorzugten KI fragen

Öffnet einen neuen Chat, in dem dieser Agent-Skill bereits geladen ist.

Dokumentation

Building a WordPress site, end to end

Why this method exists

An agent designs badly when its feedback loop is slow. Laying a page out inside WordPress costs three to five minutes per iteration — compose, save, serialise, purge, reload, look. In local HTML with a dev server the same loop takes five seconds, and design quality tracks the number of iterations far more reliably than any aesthetic instruction.

The second half is a delivery constraint: the client edits the site without writing code. That is what forbids raw HTML blocks and template-owned content — and it constrains the conversion, never the drawing.

In one line: the design lives in files, not in page content. WordPress receives a finished theme, not layout instructions.

The two rules that come first

Rule 0 — draw phase 2 as if phase 4 did not exist. No conversion constraint enters the mockup. Anticipating "no core/html" while drawing quietly removes depth, overlaps and the central object; the result converts perfectly and pleases nobody.

Rule 0′ — no aesthetic freedom leaves the reference. With a reference, a model drifts toward its own house style: warm beige where the reference is cold white, a characterful serif where it has one sans, an accent it never had. Seven register invariants are read off the reference and reproduced; changing one is a question for the client, asked before coding. The invariants, the register gate and the measuring script are in references/register.md.

The ten rules

Each one comes from a mistake that was actually made.

  1. Require a visual reference. Without one, output regresses to the statistical centre: neutral font, purple gradient, white page.
  2. No mockup without real photos. A grey box reads as a broken image.
  3. Nothing reaches WordPress production before two client approvals: the mockup, then the deployment plan.
  4. The home page is a page, never a template — front-page.html holds header, post-content, footer.
  5. Zero core/html blocks. Compose with groups, headings, paragraphs, images.
  6. Images live in the media library, with an id on every core/image.
  7. Interactive variants all live in the page; the script toggles a class.
  8. No third-party theme under the design.
  9. Accept in the editor, not on the front end — a page can render perfectly and be unusable in Gutenberg.
  10. Pixel fidelity is measured, not eyeballed: computed styles and geometry, selector by selector.

Phases and their gates

Do not start a phase until the previous gate is passed.

PhaseWhoExit gate
0 · WorkspaceAgentProject in the user's working folder, write access tested
1 · BriefClientReference survey, palette and type taken from the reference, "what I add" list
2 · MockupIterativeHome page in HTML, register gate passed, client approval
3 · Page setAgentEvery page assembled from one header/footer source
4 · Block theme + stagingAgentTheme built; local WordPress set up by replayable tools; gates 1–5 pass on staging
5 · DeploymentAgent, after client approval of the planBackup outside the web root, then the same tools run on production
6 · AcceptanceAgentGates 1–5 pass on production, or back to phase 4

Phases 0–3 and the deployment plan: references/phases.md. HTML-to-blocks conversion: references/block-conversion.md. The five gates with their code: references/acceptance.md.

Staging is local, and every change is a tool. Content and configuration are written by idempotent PHP scripts (tools/install-site.php, tools/configure-*.php) run with the PHP CLI against a local copy, never typed into wp-admin. The same scripts replay on production at deployment, and replaying one twice changes nothing — that is checked, not assumed.

Choose the branch

The method is the same for every site; what differs is phase 4 onwards.

SiteWhat changesRead
ShowcasePages, forms (Contact Form 7 + Flamingo), legal pagesthis file and the phases
StoreWooCommerce block templates, catalogue import, product filters, cart/checkout blocks, consent, payments, newsletter, order confirmationreferences/store.md
Web appCustom post types, roles, REST, dynamic blocks, account flows — the mockup still drives every public screenreferences/web-app.md

references/store.md is measured on a real build (WooCommerce 11.2.2, block checkout, block theme). references/web-app.md is not: it says so, and routes to the skills that are.

Facts belong to the client

The mockup invents copy from the brief; it never invents facts. Reviews, ratings, customer counts, press logos, delivery times, prices of services, legal clauses and company identity stay as visible placeholders — à compléter for what only the client can supply, à vérifier for what was read on the old site and may be stale. A fabricated review passes every gate and is the one defect that can cost the client legally.

In comments, commit messages and reports, say which claims were measured (with the date) and which were read (with the source).

Tooling

FileWhen
scripts/serve.mjsPhase 2 — zero-dependency static server, tries the next port when one is taken
scripts/assemble.mjsPhase 3 — builds every page from one <head>, header and footer source
scripts/fetch-fonts.mjsPhase 4 — self-hosts Google Fonts: no request to Google from visitors, nothing to declare under GDPR
scripts/novamira.mjsPhase 5 — calls a Novamira ability over HTTP without registering an MCP server
assets/theme-skeleton/Phase 4 — minimal block theme: theme.json with blockGap: 0px, editor.css, fonts in the editor

References

FileRead it
references/register.mdBefore phase 1, and before showing any mockup
references/phases.mdPhases 0–3, then the deployment sequence of phase 5
references/block-conversion.mdDuring phase 4, every time
references/acceptance.mdPhases 4 and 6 — the five gates and measurement hygiene
references/store.mdAny WooCommerce site
references/web-app.mdMembership, booking, dashboards, anything with logged-in users doing work
references/pitfalls.mdAs soon as a symptom surprises you

Related skills: wp-theme-block-fse for theme.json and templates, wp-design-system for tokens, wp-woocommerce for hooks and HPOS, wp-deploy for migrations, wp-plugin-architecture and wp-blocks-gutenberg for application code, wp-accessibility and wp-performance before acceptance.

Verwandte Skills