by wpgaurav
Agent skills for GenerateBlocks V2 and Pro: valid block markup for layouts, query loops, conversions and live publishing over MCP. Works with Claude Code, Codex, Cursor and Gemini.
# Add to your Claude Code skills
git clone https://github.com/wpgaurav/generateblocks-skillsGuides for using ai agents skills like generateblocks-skills.
generateblocks-skills is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by wpgaurav. Agent skills for GenerateBlocks V2 and Pro: valid block markup for layouts, query loops, conversions and live publishing over MCP. Works with Claude Code, Codex, Cursor and Gemini. It has 145 GitHub stars.
generateblocks-skills's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/wpgaurav/generateblocks-skills" and add it to your Claude Code skills directory (see the Installation section above).
generateblocks-skills is primarily written in PHP. It is open-source under wpgaurav on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh generateblocks-skills against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
LLM-optimized skill documentation and development resources for the GenerateBlocks WordPress plugin.
Documentation: Wiki · Getting started · Installation · Latest release
Verified on GenerateBlocks 2.5.0 and Pro 2.8.0 in a live WordPress 7.1.3 editor (October 27, 2026), connected through Site Agent. The bundled build_css() compiler now matches the native 2.5 Styles Builder byte for byte: 1,453 generated style objects checked, including 800 from a seed it was never tuned on. The design-system workflow (Design Tokens, Style Book, shared selectors, portable kits) was first tested on 2.5.0-beta.1 / 2.8.0-beta.1.
Styling defaults: local block styles. The skills prompt before introducing shared Global Styles or Design Tokens and add them only when the user explicitly opts in. Existing references are preserved during edits.
Native authoring: GenerateBlocks/Pro and appropriate core blocks only. Styling stays in editable block attributes; interactions use native blocks. Scripts Manager, custom HTML/CSS/JavaScript, and other builders require an explicit request. Accordion checks include padded questions and answers, expanded states, and mobile layouts.
Start with the selected skill, the shared authoring contract, and the router. Familiar static layouts do not require the full recovery, CSS, and breakpoint manuals. Load a diagnostic or mapping reference when the task needs it; keep native editor and preflight validation. Standalone converter bundles carry their layout dependency in references/generateblocks-layouts/.
Paper and Ink product-page kit: 19 tokens, 23 shared styles, six reusable sections, native query/accordion/form blocks, and two brand presets. Both 65-block pages survived real editor reload/save with byte-identical content. Imports, collision preservation, CSS parser/compiler parity, responsive layout, and local form behavior were checked.
Install skills for your AI coding assistant with one command:
git clone https://github.com/wpgaurav/generateblocks-skills.git
cd generateblocks-skills
chmod +x install.sh
./install.sh
This launches an interactive installer that sets up skills for your preferred tools.
| Tool | Install Location | Format |
|---|---|---|
| Claude Code | ~/.claude/skills/ |
Skill directories |
| Cursor | ~/.cursor/skills/ |
Skill directories |
| Windsurf | ~/.windsurf/rules/ |
Combined markdown |
| OpenAI Codex CLI (legacy installer output) | ~/.codex/instructions.md |
Combined markdown; see native installation below |
| Gemini CLI | GEMINI.md (project root) |
Combined markdown |
| GitHub Copilot | .github/copilot-instructions.md |
Combined markdown |
| Cline / Roo Code | .clinerules (project root) |
Combined markdown |
| Aider | CONVENTIONS.md (project root) |
Combined markdown |
This table describes files written by the installer, not a guarantee of automatic loading by every client version. For current Codex skill-directory installation, see the wiki installation guide. Combined rule files reference this checkout and replace their target files; preserve unrelated instructions before installing over them.
./install.sh # Interactive mode (choose tools)
./install.sh --all # Install for all tools
./install.sh claude # Claude Code only
./install.sh cursor codex # Multiple tools at once
./install.sh --help # Show help
If you prefer not to use the installer, you have two options:
Download a .skill or .zip archive and use your assistant's supported skill or
file workflow. Archive support, persistent installation and script execution vary
by client. If it cannot inspect the archive, extract it and provide access to the
complete folder. See Installation.
| Skill | Download |
|---|---|
| GenerateBlocks Layouts | .skill |
| HTML to GenerateBlocks | .skill |
| Elementor to GenerateBlocks | .skill |
| Figma to GenerateBlocks | .skill |
With Claude Code, Cursor, or Windsurf, just reference the skill directly:
Read skills/generateblocks-layouts/SKILL.md and create a testimonial slider with 3 cards
Direct links to skill files:
skills/generateblocks-layouts/SKILL.mdskills/html-to-generateblocks/SKILL.mdskills/elementor-to-generateblocks/SKILL.mdskills/figma-to-generateblocks/SKILL.mdUse the compact examples inside
skills/generateblocks-layouts/examples/.
They cover buttons, containers, an interactive card, a restrained hero, a V2
Query/Looper grid, and SVGs. Every file passes the bundled preflight.py.
Before inserting one into WordPress:
preflight.py <file> --id-scope <SCOPE>; resolve the actual record separately before an authorized write.The root examples/ gallery contains older exploration and
production exports. Treat it as historical visual/structural reference, not as
recovery-safe copy-paste markup. It predates the current CSS Mode parity,
post-scoped ID, and anti-slop gates.
generateblocks-skills/
├── install.sh # Multi-tool skill installer
├── CLAUDE.md # Claude Code project instructions
├── AGENTS.md # Universal LLM instructions
├── skills/ # Skill source files
│ ├── generateblocks-layouts/
│ │ ├── SKILL.md # Main entry point (slim — depth in references/)
│ │ ├── references/ # Routed reference files (see map below)
│ │ └── examples/ # Basic, compound, layout, SVG examples
│ ├── html-to-generateblocks/
│ ├── elementor-to-generateblocks/
│ └── figma-to-generateblocks/
├── importable/ # .skill and .zip files for upload
├── examples/ # Historical exploration/exports; not current copy-paste fixtures
├── generateblocks/ # Plugin source (2.5.0) for reference
└── generateblocks-pro/ # Pro plugin source (2.8.0; git-ignored) for reference
| Skill | Purpose |
|---|---|
| GenerateBlocks Layouts | Build anything with GB V2: static sections, query loops, dynamic tags, ACF data, animations, conditions, Pro forms/interactive blocks, full-site templates |
| HTML to GenerateBlocks | Convert HTML/CSS, or a live rendered page with the bundled capture/convert/verify scripts, to GenerateBlocks block markup |
| Elementor to GenerateBlocks | Migrate Elementor layouts to clean GB blocks |
| Figma to GenerateBlocks | Convert Figma designs to GB blocks |
| File | Covers |
|---|---|
_index.md |
Task router — which file to load for which job |
authoring-contract.md |
Compact required authoring, scope, serialization, styles, and validation contract |
recovery-rules.md |
Every known cause of "Attempt Recovery" errors + exact fixes |
field-notes.md |
Real-conversion lessons: escaping workflow, validation scripts |
block-types.md |
Element/Text/Media/Shape verified attribute schemas |
dynamic-tags.md |
Canonical catalog of all 27 dynamic tags + e |