bricks-skills
An AI skill for one-shotting Bricks Builder designs as JSON, hero sections, full landing pages, headers/footers, query loops with faceted filters, ACF-driven layouts, conditions, animations, and popups.
LLM-optimized skill documentation and development resources for the GenerateBlocks WordPress plugin.
Claude Code
$ npx -y skills add wpgaurav/generateblocks-skills --agent claude-code
Codex
$ npx skills add wpgaurav/generateblocks-skills -a codex
Cursor
$ npx skills add wpgaurav/generateblocks-skills -a cursor
Gemini CLI
$ npx skills add wpgaurav/generateblocks-skills -a gemini-cli
GitHub Copilot
$ npx skills add wpgaurav/generateblocks-skills -a github-copilot
OpenCode
$ npx skills add wpgaurav/generateblocks-skills -a opencode
Windsurf
$ npx skills add wpgaurav/generateblocks-skills -a windsurf
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 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 + exact syntax |
query-block.md | Query/Looper/Loop-Item + Pro query extensions |
acf-and-custom-fields.md | ACF fields, repeater loops, options pages, Meta Box |
conditions.md | Pro block/menu/form conditions + free alternatives |
template-authoring.md | Full sites: GeneratePress Elements, FSE, archive templates |
animations.md | Hover, keyframes, scroll-driven animation, reduced motion |
gb-pro.md | Pro feature map (27 blocks, global classes, Editor Access, version timeline) |
pro-forms.md | Pro Forms (2.6+): fields, validation, ESP integrations, Turnstile |
pro-interactive.md | Accordion, Tabs, Carousel, Navigation, Site Header, Overlays |
design-systems-beta.md | Pro 2.8 tokens, Style Book, selectors, managed-root API, native imports, tested example |
css-mode.md | CSS Mode, CSS Properties, selectors, supported at-rules, styles/css parity |
design-quality.md | GenerateBlocks-specific anti-slop and responsive implementation gate |
mcp-publishing.md | Pushing blocks to a live site over MCP or REST: server choice, round trip, transport hazards |
css-patterns.md · svg-icons.md · responsive.md | Durable styling patterns |
global-styles.md · patterns.md · performance.md · migrations.md · troubleshooting.md | Supporting guides |
The importable/ folder contains two formats for each skill:
.skill — Skill archive for clients that support this format.zip — Compressed skill with references includedAfter editing any skill, regenerate all bundles with ./build-bundles.sh.
Four core blocks plus the query family:
generateblocks/element → Containers (div, section, nav, figure, a, ul/ol/li, dl/dt/dd)
generateblocks/text → Text (h1-h6, p, span, div, a, button, figcaption, li)
generateblocks/media → Images (img only — static and dynamic)
generateblocks/shape → SVG icons
generateblocks/query → Dynamic lists (+ looper, loop-item, query-no-results, query-page-numbers)
The rules that matter most:
generateblocks/element (NOT /container), generateblocks/text (NOT /headline or /button)An AI skill for one-shotting Bricks Builder designs as JSON, hero sections, full landing pages, headers/footers, query loops with faceted filters, ACF-driven layouts, conditions, animations, and popups.
Skills for Next.js developers covering bundle size reduction, Cache Components and Partial Prefetching adoption, and verifying runtime behavior in a running app after code edits.
Helps you add, find, fix, style and compose shadcn UI components in your React project, with component docs and usage examples. It can also move a project from Radix UI primitives to Base UI.
electron: Build cross-platform desktop apps with JavaScript, HTML, and CSS.
Gives coding agents a design direction, reference images and a browser check, so the websites and app screens they build look deliberate instead of like a generic template page.
LLM-optimized skill documentation and development resources for the GenerateBlocks WordPress plugin. Install it with the command on its page. It includes elementor-to-generateblocks, figma-to-generateblocks, generateblocks-layouts. Its skills do not fire on their own yet. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it