From data-liberation
Generates WordPress blocks from scratch using templates from reference files. Guides dynamic block creation with InnerBlocks, viewScript, and data-* attributes.
How this skill is triggered — by the user, by Claude, or both
Slash command
/data-liberation:creating-blocksThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill when creating a new block from scratch.
Use this skill when creating a new block from scratch. Do not use this skill when modifying an existing block.
When the block requires frontend interactivity (clicks, toggles, accordions, modals, carousels, counters, tabs, search filters):
"viewScript": "file:./view.js" (not viewScriptModule)data-* attributes on the block wrapper to pass server-side values to JavaScriptBefore generating block files, read the relevant references from the references/ directory next to this skill file.
references/artefact-templates.md — REQUIRED: read this FIRST before generating any block files. Contains exact file templates with correct paths, asset references, and build pipeline details. You MUST follow these templates exactly.references/file-templates.md — additional guidelines for each block file typereferences/inner-blocks.md — read this if the block uses InnerBlocks or child blocksreferences/dynamic-vs-static.md — read this if you need to decide between a dynamic, static, or interactive rendering approachreferences/interactivity-api.md — read this when creating an interactive block that needs frontend JavaScriptnpx claudepluginhub automattic/data-liberation-agent --plugin data-liberationGuides editing existing WordPress blocks: read all files first, make minimal targeted changes, update block.json/edit/save consistently, handle static-to-dynamic conversion and interactivity.
Scaffolds ACF Composer blocks with custom element architecture, scoped CSS, theme variations, and JS lifecycle. Use when creating new Gutenberg blocks in Sage-based WordPress themes.
Guides modern WordPress plugin development: scaffolding, debugging, testing, and refactoring. Covers WooCommerce, Gutenberg blocks, custom post types, WordPress REST API, hooks, admin pages, WPCS, PHPUnit, Playwright, and wp-scripts.