automattic/editing-blocks
Guidelines for modifying existing WordPress blocks — load this before editing block files
npx skills add https://github.com/Automattic/studio --skill editing-blocks
Use this skill when modifying an existing block (files already exist in the workspace).
Do not use this skill when creating a new block from scratch.
edit tool for targeted changes; only use write when replacing more than 50% of a file"render": "file:./render.php" to block.json)"viewScript": "file:./view.js" to block.json, write view.js using plain JavaScript with standard DOM APIs (querySelector, addEventListener, classList, etc.) — never use the WordPress Interactivity APIBefore editing block files, read the relevant references from the references/ directory next to this skill file.
references/artefact-templates.md — read this to verify correct file structure, paths, and asset references (especially register_block_type path and block.json asset filenames)references/file-templates.md — additional guidelines for each block file typereferences/inner-blocks.md — read this if the block uses InnerBlocks or child blocksreferences/interactivity-api.md — read this when adding interactive behavior to a block that needs frontend JavaScriptTake automattic/editing-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.