You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: site-to-block-theme - Rebuild live-site templates, parts and patterns in a block theme #4060
Add the site-to-block-theme skill: the direct route from a live site to block theme files, with no Figma layout step. It is the generic version of tsp-theme's tsp-match-live skill.
The skill inventories the part of the live site to rebuild, measures it, maps every value to the theme's theme.json tokens, builds with the official WordPress skills, and proves the match against live.
Scope
Measure:measure-page.ts reads computed styles of named elements at 390, 768 and 1440, in default, hover and focus, and takes full-page screenshots. It refuses wp-admin and login URLs and never clicks, types or submits.
Map to tokens:map-to-tokens.ts matches each value to palette, spacing, font size, radius, shadow, font family and custom tokens. Fluid sizes are evaluated per width.
Prove:diff-measurements.ts compares live and local measurements and writes the "Differences from live" table for the pull request.
Standards:references/wordpress-standards.md holds the current WordPress coding-standards checklist.
site-to-design-tokens, site-to-figma-components, figma-to-block-theme and the onboarding routing map point to the new skill.
Activity
linear-code commentedon Nov 23, 2026
GIT-2785