generateblocks-skills
LLM-optimized skill documentation and development resources for the GenerateBlocks WordPress plugin.
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.
Claude Code
$ npx -y skills add wpgaurav/bricks-skills --agent claude-code
Codex
$ npx skills add wpgaurav/bricks-skills -a codex
Cursor
$ npx skills add wpgaurav/bricks-skills -a cursor
Gemini CLI
$ npx skills add wpgaurav/bricks-skills -a gemini-cli
GitHub Copilot
$ npx skills add wpgaurav/bricks-skills -a github-copilot
OpenCode
$ npx skills add wpgaurav/bricks-skills -a opencode
Windsurf
$ npx skills add wpgaurav/bricks-skills -a windsurf
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. Every settings key and value shape is verified against the Bricks 2.3.6 theme source, not guessed.
Want the agent to edit the live site, not just hand you JSON? Pair this skill with Site Agent, my free WordPress MCP plugin that runs Bricks' own abilities on Bricks 2.4+. How it works.
bricks-skills/ ← the repo is the skill
├── SKILL.md ← start here: workflow, rules, routing table
├── references/ ← 20 focused references (loaded on demand)
│ ├── json-formats.md clipboard / template / postmeta formats + validation
│ ├── style-settings.md every _setting + exact JSON value shapes
│ ├── elements.md full element catalog + nestable structures
│ ├── layout-recipes.md grids, heroes, cards, overlap, sticky, full pages
│ ├── query-loops.md hasLoop + query JSON for posts/terms/users
│ ├── query-filters.md live search, facets, sort, AJAX pagination
│ ├── dynamic-data.md {tags}, filters, args, {echo:}
│ ├── acf-providers.md ACF deep dive (repeaters, groups, flexible) + Meta Box etc.
│ ├── conditions.md _conditions JSON (incl. dynamic data conditions)
│ ├── interactions.md _interactions, full animation list, recipes
│ ├── popups.md popup settings, triggers, limits, AJAX context
│ ├── templates.md template types, conditions, header behaviors
│ ├── components-classes.md components, global classes/variables, palettes
│ ├── theme-styles.md theme styles, breakpoints, CSS pipeline
│ ├── external-assets.md reference remote images/video/SVG/icons by URL
│ └── forms / woocommerce / hooks / custom-elements / assets-permissions
└── patterns/ ← 17 validated, paste-ready JSON files (see INDEX.md)
The repo is the skill: a SKILL.md router → on-demand references/ → paste-ready patterns/. Give it to any AI tool two ways:
SKILL.md (it routes to the right reference on demand).SKILL.md + the one reference your task needs into the chat. The references are self-contained.Grab the files once:
git clone https://github.com/wpgaurav/bricks-skills.git
Install as a global skill (available in every project):
git clone https://github.com/wpgaurav/bricks-skills.git ~/.claude/skills/bricks
Claude auto-loads it whenever your request looks like a Bricks task — just ask. Update later with git -C ~/.claude/skills/bricks pull. For one project only, clone into .claude/skills/bricks/ inside that project — or simply run claude inside the repo (its CLAUDE.md routes automatically).
As a Skill — Pro/Max/Team/Enterprise with code execution enabled:
zip -r bricks.zip bricks-skills -x '*.git*'bricks.zip.Any plan — create a Project, upload SKILL.md and the references/*.md you need as project knowledge, then add "Follow SKILL.md for all Bricks tasks" to the project instructions.
Custom GPT — Create a GPT → Configure → Knowledge → Upload files and add SKILL.md plus the reference files (upload bricks.zip if you hit the file limit). In Instructions paste: "You author Bricks Builder JSON. Always follow SKILL.md and the matching file in references/."
Project / single chat — attach SKILL.md plus the reference for your task (e.g. references/query-loops.md) and ask.
Codex reads AGENTS.md. Clone the repo, then add a pointer (don't paste the whole skill — AGENTS.md is size-capped):
# Bricks Builder
For any Bricks Builder task, follow the skill at ./bricks-skills/SKILL.md and its references/.
Put that in your project's AGENTS.md, or in ~/.codex/AGENTS.md (with an absolute path to the clone) to make it global.
Clone the repo into your project, then add .cursor/rules/bricks.mdc:
---
description: Bricks Builder JSON authoring
alwaysApply: false
---
For any Bricks Builder task, follow ./bricks-skills/SKILL.md and the files in ./bricks-skills/references/.
Output paste-ready JSON using the verified value shapes from those docs.
Cursor attaches it automatically when relevant, or type @bricks to force it. You can also @-mention SKILL.md directly in chat. (Cursor reads AGENTS.md too.)
Clone the repo into your project, then create .github/copilot-instructions.md:
For any Bricks Builder (WordPress) work, follow ./bricks-skills/SKILL.md and the matching file
in ./bricks-skills/references/. Always output paste-ready JSON with verified value shapes.
Copilot picks it up automatically across VS Code, JetBrains, GitHub.com, and the CLI. For file-scoped rules, use .github/instructions/bricks.instructions.md with an applyTo: glob. In chat you can also attach #file:SKILL.md.
Open the repo (or your project with the clone inside) as a workspace, then use whichever assistant you have:
.github/copilot-instructions.md (above) and/or attach #file:SKILL.md.@-mention or attach SKILL.md in the chat, or use the skill / AGENTS.md / rules files from the other sections.Tip: keeping SKILL.md open in a tab gives most assistants the context for free.
Clone the repo, then either reuse the AGENTS.md pointer (project, or global ~/.config/opencode/AGENTS.md) — or list the files in opencode.json (globs and remote URLs both work):
{
"$schema": "https://opencode.ai/config.json",
"instructions": ["./bricks-skills/SKILL.md", "./bricks-skills/references/*.md"]
}
It's all plain Markdown, so it works anywhere — Gemini, Windsurf, Aider, Zed, JetBrains AI, and more:
AGENTS.md? (Zed, Aider, Gemini CLI, Jules, Windsurf…) Drop in the one-line pointer to bricks-skills/SKILL.md.SKILL.md into the system prompt / custom instructions, plus the single reference your task needs — the routing table in SKILL.md tells you which. Self-contained, no internet required."Build a SaaS landing page: split hero, logo strip, 3-col features, pricing, FAQ, CTA. Brand color #6d28d9."
"Create a filterable course archive — search, category filter, price sort, AJAX pagination — as paste-ready JSON."
"Team section from my ACF repeater
team_members(photo, name, role, linkedin_url)."
You get a .json file: paste it into the builder (clipboard format) or import it via Bricks → Templates (template format).
Pasting works for one section. When you want the agent to read the page, change it and check the result itself, connect it to the site with Site Agent, my free WordPress MCP plugin. It's the first route I'd pick for Bricks, for three reasons:
{
"name": "site-agent-run-bricks-ability",
"arguments": {
"ability_name": "bricks/get-page-elements",
"parameters": { "postId": 42, "responseFormat": "summary" }
}
}
Clients sign in through WordPress with OAuth (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code, Gemini, Zed). Tools that change things stay off until you switch them on. On Bricks 2.3.x, generate the JSON with this skill and paste or import it by hand. Staging first, always.
The skill is free and works without any of this. These are products I build, and each one covers something a layout skill can't.
| You want to | Use | Why it fits |
|---|---|---|
| Let the agent edit the site, not just the chat | Site Agent (free) | Runs Bricks' own abilities over MCP. See Push it into a live Bricks site. |
| Give every section the same look | Design Systems Library | Agent-ready design systems: tokens, a DESIGN.md rulebook, components, fonts and live demos. Map the tokens to Bricks global variables and classes once (see components-classes.md), and every layout the agent writes uses the same palette, type and radius. |
| Run a WooCommerce store on Bricks | Stackless for WooCommerce (free Lite) | Subscriptions, Stripe, PayPal, Paddle, licensing, multi-currency and invoices in one plugin on core WooCommerce. Build the shop templates with woocommerce.md; let Stackless replace the add-on stack behind them. Switched-off modules load no code. |
| Sell digital downloads with Easy Digital Downloads | Stackless for EDD (free Lite) | Subscriptions, licensing, gateways, multi-currency and invoices for EDD in one plugin. Pairs with the query-loop and dynamic-data references for download archives. |
| Keep the finished pages fast | GT Performance (free) | Page cache, Cloudflare Free integration, unused CSS removal and Redis, with commerce safeguards. |
| Get more skills like this one | AI Skills Library or All-Access Pass | Writing and visual skills for Claude Code, Codex and Cursor. All-Access adds the Design Systems Library and Notion templates in one yearly pass. |
LLM-optimized skill documentation and development resources for the GenerateBlocks WordPress plugin.
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.
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. Install it with the command on its page. It includes bricks-skills. Its skills do not fire on their own yet. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it