Skip to content

v0.3.0

Choose a tag to compare

@TBarregren TBarregren released this 20 Jul 19:09
· 141 commits to main since this release

The build-ollie-site skill: bottom-up Atomic-Design site building on the Ollie block theme, from a design system and mockups to token foundation, pattern layers, and instance-based pages.

Added

  • build-ollie-site — a fourth, standalone skill that builds a coherent, token-correct WordPress site on the Ollie block theme from a design system and a set of mockups, bottom-up by Atomic Design. It shares none of the transfer engine's machinery — no production, no Novamira, no recommendation-gate backbone — and works through gated phases where a later layer is never built before the one below it is locked and verified: ground truth (the tokens the install actually resolves and the patterns it already registers), pattern cartography (the pattern taxonomy derived from the mockups' structure, human-in-the-loop, into a confirmed manifest), the token foundation in an Ollie child theme's theme.json, component patterns (Inserter: no molecules), section patterns (full-width bands composing components by wp:pattern reference inside the pattern files), and pages built as stamped, expanded instances of the section patterns — a slug reference can neither carry per-page content nor survive the editor, so every page band is a traceable instance (metadata.patternSlug) filled with that page's own content: supplied copy first, else the mockup's, else flagged placeholders. The manifest classifies each section's content as fixed or per-page, which decides whether a later structure fix may rewrite built instances blindly or only report them. Ollie supplies only tokens and global styles; the site's patterns are the operator's own, verified against what the install actually emits rather than Ollie's prose.
  • Five helper scripts for build-ollie-site under skills/build-ollie-site/scripts/: dump_ground_truth.py (resolved tokens and registered patterns from the live install), mine_structures.py (the pattern-cartography first pass, grouping mockup bands by a content-blind structural signature), lint_markup.py (the on-system gate — no hardcoded values including raw border radii, no invented token slugs, no dangling wp:pattern references, with a lint:allow pragma that downgrades a manifest-sanctioned one-off literal to a visible note), check_contrast.py (the WCAG-AA gate for the design system's colour pairings), and instantiate_patterns.py (pattern expansion onto pages: recursive flatten with provenance stamping, the page-provenance audit, a report-first reapply path for structure fixes on built pages, and a live do_blocks() render check that works for Inserter: no patterns).
  • Being gate-driven and human-in-the-loop, build-ollie-site carries no operational flags — only the help gate — and its scripts/flags.py registry entry, its manual page, and the help/docs consistency test's per-skill binding reflect that.

Full changelog: https://github.com/Kntnt/kntnt-wp-skills/blob/v0.3.0/CHANGELOG.md