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

/generateblocks-layouts

@5ea1ab9
Run it yourself

Build and audit WordPress layouts with GenerateBlocks V2, including CSS Mode, responsive at-rules, dynamic data, Pro components, and recovery-safe block serialization. Use for new GB layouts, conversions, repairs, and hand-authored block markup.

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

Nothing lands on disk. Nothing to clean up.

Fork this Skill

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

SKILL.md

≈67 tokens for metadata: the name and description. ≈747 when used: this file. ≈110k more on demand in 37 files.

Description uses 3.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 ≈270 characters, or 3.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.

GenerateBlocks layout builder

Build or repair GenerateBlocks V2 layouts using the installed plugin's native serialization. This skill supports local styling, dynamic content, Pro blocks, and explicitly requested shared systems.

Use GenerateBlocks and core blocks only. Keep styling in native block styles/css and use native Pro blocks for interactions. Do not introduce Scripts Manager, Page Block, Custom HTML/CSS/JS, another builder, or theme/plugin code to complete a GenerateBlocks design. An external implementation requires an explicit user request. Simplify unsupported effects within native blocks.

Read only what the task needs

Before generating markup, read authoring-contract.md. It owns the scope prompt, IDs, blocks, serialization, CSS parity, responsive basics, and validation rules. Use _index.md to select additional references. Do not load the entire library or recovery catalog for a routine static layout; the compact contract is sufficient for familiar Element/Text layouts using ordinary states and native breakpoints.

Local styles are the default. Prompt once about shared Global Styles and Design Tokens unless the user already chose. Add shared records or new shared dependencies only after explicit opt-in; preserve existing references. The contract contains the exact prompt; styling-scope.md covers edge cases.

Workflow

  1. Inspect the source/target, versions, and design guidance. Use the real post ID when available; otherwise use a random four-digit block-ID scope.
  2. Select semantic blocks and preserve content/behavior. For new designs, read design-quality.md; for dynamic data, read dynamic-tags.md and its task guide.
  3. Generate file output with the native serializer or scripts/gb_serialize.py. Keep editable styles and compiled css aligned.
  4. Run scripts/preflight.py FILE --id-scope SCOPE, then validate unfamiliar output in the real editor. Check visible content and relevant responsive/interactivity behavior. Static preflight alone is not proof of editor validity.
  5. For live writes, first read mcp-publishing.md; snapshot, splice, read back, and verify with scripts/verify_roundtrip.py.

Keep summaries short: what changed, output path, required Pro features, tests, and any unverified behavior. Source conversion does not authorize publication.

Examples and failures

Use examples as structural starting points; replace their IDs, URLs, and content. Choose a relevant file in examples/basic, compound, layouts, or svg only when needed. examples/beta-design-system is an opt-in shared-system example, not the default starter.

For a recovery/preflight failure, open the matching topic in recovery-rules.md or troubleshooting.md. For an unfamiliar attribute/tag, use block-types.md or installed block.json. Reuse scripts rather than duplicating escape tables or embedding another block manual here.

Source: SKILL.md on GitHub

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.

1 warning27d5 checks · Risk SAFE
  • Gen Agent Trust Hub27d

    The skill includes Python scripts for layout validation that utilize command execution for internal testing. It also contains PHP setup scripts for example environments that modify the WordPress installation by adding a mail-sink to the must-use plugins directory. These features are documented and intended for developer use on local installations.

  • Socket27d

    No alerts

  • Snyk27d

    Risk: LOW · No issues

  • Runlayer9mo

    20/21 files flagged

  • ZeroLeaks7mo

    Score: 93/100 · 2 sections analyzed

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
{
  "compatibility": "Verified: free 2.5.0 + Pro 2.8.0 on WordPress 7.1.3/PHP 8.5 (live native editor, 2026-10-27). Design-system workflow first tested on 2.5.0-beta.1 + 2.8.0-beta.1. Older sites: free 2.4.x + Pro 2.7.x notes retained."
}

README badge

README badge for wpgaurav/generateblocks-skills/generateblocks-layouts