Elementor to GenerateBlocks
Convert Elementor page layouts to clean GenerateBlocks V2 format with semantic blocks.
Installation
- Make sure Claude is on your device and in your terminal.
Skills load from
~/.claude/skills/when Claude Code starts up — so you need it on your machine first. If you don't have it yet, install it once with the command below, then runclaudein any terminal to verify.One-time setupnpm i -g @anthropic-ai/claude-codeAlready have it? Skip ahead.
- Paste into Claude Code or into your terminal.
This copies the whole skill folder into
~/.claude/skills/elementor-to-generateblocks-wpgaurav/— the SKILL.md plus any scripts, reference docs, or templates the skill ships with. Works for every skill.What this command does
- Makes a new, empty temporary folder.
- Downloads the skill's folder,
skills/elementor-to-generateblocks, fromgithub.com/wpgaurav/generateblocks-skills(branchmain), the GitHub repository it's listed from. You get the version that is there now, not a copy we keep. - Copies that folder to
~/.claude/skills/elementor-to-generateblocks-wpgaurav/. - Deletes the temporary folder.
Installing runs none of the skill's files; it only downloads and copies them. When you later use the skill, Claude follows its SKILL.md and may run scripts that come with it. Read them first.
Faster alternative (instruction-only skills)
Skips the clone and grabs only the SKILL.md file. Don't use this if the skill ships Python scripts, reference markdowns, or asset templates — they won't be downloaded and the skill will fail when it tries to load them.
Quick install (SKILL.md only)Sign up to copy - Restart Claude Code.
Quit and reopen Claude Code (or any other agent that loads from
~/.claude/skills/). New skills are picked up on startup. - Just ask Claude.
Skills auto-activate when your request matches the skill's description — no slash command needed. Trigger phrases live in the skill's own frontmatter; you can read them in the “What this skill does” section above.
Prefer to read the source first? Open on GitHub.
When Claude uses it
Convert Elementor layouts to clean GenerateBlocks V2 format, eliminating DIVception
What this skill does
Elementor to GenerateBlocks
Migrate Elementor layouts to semantic native blocks. Reduce unnecessary wrappers without dropping content, device visibility, CMS queries, or working widgets.
Use GenerateBlocks (including Pro) and core blocks only. Keep CSS in native block styles and interactions in native blocks. Do not add Scripts Manager, Page Block, Custom HTML/CSS/JS, or another builder without an explicit request.
Shared contract
Use the companion generateblocks-layouts skill's references/authoring-contract.md
before emitting markup, and its references/_index.md to select task-specific
guides. With installed skills it is the sibling ../generateblocks-layouts/;
a standalone bundle carries the same dependency under
references/generateblocks-layouts/. Do not read both copies or the entire library.
Local block styles are the default. Prompt once about shared Global Styles and Design Tokens unless the user already chose. Create/import shared records or add new shared dependencies only after explicit opt-in; preserve existing references. The companion contract owns the exact scope and prompt. Use the real post ID when available, otherwise one random four-digit scope for the layout.
Conversion workflow
- Inventory sections/containers, widgets, forms, dynamic sources, and links.
- Inspect actual layout values and device ranges; class names are not numeric specifications. Use the widget map for unfamiliar or interactive widgets.
- Flatten only redundant wrappers. Preserve anchor/script dependencies and migrate form/query configuration deliberately.
- Generate
{section}-converted.html, reconcile the widget inventory, and run the shared validation flow. Measure rather than promise speed improvements.
The companion contract contains the familiar static Element/Text path. Load
this conversion reference only when the source mapping
requires it. New visual decisions additionally require design-quality.md.
Dynamic data requires dynamic-tags.md plus the relevant query/field guide;
interactive Pro blocks require their native schemas/save output.
Delivery
Write blocks to files, not chat. Use the companion serializer helpers and run
preflight.py FILE --id-scope SCOPE. Confirm unfamiliar output in the actual editor
and compare visible content and behavior; static preflight is not sufficient.
A live write also requires mcp-publishing.md, a snapshot, and raw-content
readback. A conversion request by itself does not authorize publication.
Keep serialization, class-order, link, CSS-state, and breakpoint rules in the companion contract rather than duplicating them here. Examples are not current brand defaults or import-ready markup for a different post.
Related skills
Generative Code Art
anthropics
Create algorithmic art with p5.js using randomness and interactive parameters.
UI/UX Pro Max
anthropics
Build production-grade web components and interfaces with distinctive, polished design.
Artifact Theme Toolkit
anthropics
Apply professional color and font themes to slides, docs, and web pages.
Multi-Component Web Artifacts
anthropics
Build complex React artifacts with Tailwind CSS and shadcn/ui components.