Index of every page on this site: llms.txt
All skills
wpgaurav avatar

/elementor-to-generateblocks

@5ea1ab9
Run it yourself

Convert Elementor layouts to clean GenerateBlocks V2 format, eliminating DIVception

Use this Skill: https://skilld.dev/gh/wpgaurav/generateblocks-skills/elementor-to-generateblocks

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈28 tokens for metadata: the name and description. ≈691 when used: this file. ≈1k more on demand in 2 files.

Description uses 1.4% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈113 characters, or 1.4%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

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

  1. Inventory sections/containers, widgets, forms, dynamic sources, and links.
  2. Inspect actual layout values and device ranges; class names are not numeric specifications. Use the widget map for unfamiliar or interactive widgets.
  3. Flatten only redundant wrappers. Preserve anchor/script dependencies and migrate form/query configuration deliberately.
  4. 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.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts27d4 checks · Risk SAFE
  • Gen Agent Trust Hub27d

    The skill facilitates the migration of WordPress layouts from Elementor to GenerateBlocks. It processes untrusted external data from existing layouts and executes a local Python script for validation, which introduces a surface for indirect prompt injection and standard command execution risks.

  • Socket27d

    No alerts

  • Snyk27d

    Risk: LOW · No issues

  • Runlayer8mo

    1/2 files flagged

Signed by skilld at 5ea1ab9. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 weeks ago.

Activeupdated 4 weeks ago
Other metadata
metadata
{
  "version": "1.0.0",
  "author": "Gaurav Tiwari",
  "updated": "2026-09-18",
  "trigger": [
    "Elementor to GenerateBlocks",
    "convert Elementor",
    "Elementor migration",
    "clean up Elementor",
    "simplify Elementor"
  ],
  "tags": [
    "wordpress",
    "generateblocks",
    "elementor",
    "conversion",
    "migration"
  ],
  "compatibility": "V2 guidance verified on free 2.5.0 / Pro 2.8.0 (WordPress 7.1.3); design-system routing"
}

README badge

README badge for wpgaurav/generateblocks-skills/elementor-to-generateblocks