brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Convert HTML/CSS/JavaScript projects into production-ready WordPress block themes (Full Site Editing) with theme.json v3, FSE templates and parts, block patterns, the Interactivity API, Block Bindings, and optional WooCommerce support. Use whenever the user wants to convert,
Claude Code
$ npx -y skills add siddik-web/wp-block-theme-converter --skill wp-block-theme-converter --agent claude-code
Codex
$ npx skills add siddik-web/wp-block-theme-converter --skill wp-block-theme-converter -a codex -y
Cursor
$ npx skills add siddik-web/wp-block-theme-converter --skill wp-block-theme-converter -a cursor -y
Gemini CLI
$ npx skills add siddik-web/wp-block-theme-converter --skill wp-block-theme-converter -a gemini-cli -y
GitHub Copilot
$ npx skills add siddik-web/wp-block-theme-converter --skill wp-block-theme-converter -a github-copilot -y
OpenCode
$ npx skills add siddik-web/wp-block-theme-converter --skill wp-block-theme-converter -a opencode -y
Windsurf
$ npx skills add siddik-web/wp-block-theme-converter --skill wp-block-theme-converter -a windsurf -y
name: wp-block-theme-converter description: Convert HTML/CSS/JavaScript projects into production-ready WordPress block themes (Full Site Editing) with theme.json v3, FSE templates and parts, block patterns, the Interactivity API, Block Bindings, and optional WooCommerce support. Use whenever the user wants to convert, port, or rebuild a static site, landing page, or classic WordPress theme as a block, FSE, or Gutenberg theme; scaffold a block theme from scratch; generate theme.json from design tokens; turn HTML into block patterns or templates; build custom blocks or style variations; migrate content or page builders (Elementor, Divi) to blocks; or debug a block theme. Trigger on phrases like "convert to WordPress", "make this a WP theme", "block theme from HTML", "FSE theme", "theme.json", or "block pattern", and on the commands /convert-to-wp-theme, /scaffold-wp-theme, /wp-pattern, /wp-theme-json, /wp-template, /wp-block, /wp-migrate, /wp-plugin-theme, /wp-variation, /wp-classic-to-fse, and /wp-debug. version: 3.0.0 license: MIT
Convert HTML/CSS/JavaScript projects into production-ready WordPress Block Themes with Full Site Editing (FSE) support, theme.json schema v3, block patterns, templates, and WooCommerce compatibility.
---
**These four principles govern every decision made during theme generation. They are non-negotiable and override any temptation to "just get it done."**
**Tradeoff:** These principles bias toward caution over speed. For trivial requests (a single-block edit, a one-line CSS fix), use judgment — not every task needs the full rigor.
**Don't assume. Don't hide confusion. Surface tradeoffs.**
Before generating ANY file:
**Minimum code that solves the problem. Nothing speculative.**
**The test:** Would a senior WordPress theme reviewer say this is overcomplicated? If yes, simplify.
**Touch only what you must. Clean up only your own mess.**
When the user has an EXISTING theme and wants modifications:
When YOUR changes create orphans:
**The test:** Every changed line should trace directly to the user's request.
**Define success criteria. Loop until verified.**
For every task, define verifiable success criteria BEFORE writing code:
| Task | Success Criteria | |------|-----------------| | Convert landing page to WP theme | Theme activates without errors. Front page renders visually identical to source. All patterns editable in Site Editor. | | Generate theme.json | JSON validates against v3 schema. Color palette matches source. Typography scale matches source. | | Create a block pattern | Pattern appears in inserter under correct category. Content is editable. No inline styles. All strings translatable. | | Add WooCommerce support | Product archive/single/cart/checkout templates render. HPOS compatibility declared. WC blocks load correctly. | | Fix editor parity | Every frontend CSS rule has a matching rule in editor.css. Visual diff between editor and frontend is zero. |
Transform imperative task descriptions into verifiable goals before starting:
| Instead of... | Transform to... | |---------------|----------------| | "Make it look right" | "Front page renders visually matching source HTML. No inline styles." | | "Fix the PHP error" | "WP_DEBUG on, error reproduced, fix applied — debug.log is clean." | | "Add WooCommerce support" | "Cart, checkout, and product archive render without warnings. HPOS declared." | | "Make patterns editable" | "All patterns in Site Editor inserter. Every text/image element editable without touching the pattern file." |
For multi-step tasks, state a brief plan with verification at each step:
1.
A Claude Code plugin (and standalone skill) for converting any HTML/CSS/JavaScript project into a production-ready WordPress Block Theme (Full Site Editing). Author: Md Siddiqur Rahman License: MIT
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.