automattic/creating-blocks
Templates and guidelines for creating new WordPress blocks from scratch — load this before generating block files
npx skills add https://github.com/Automattic/studio --skill creating-blocks
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 JavaScriptTake automattic/creating-blocks from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.