Persistent cross-session memory for coding agents: hooks capture each session, a local SQLite + vector store compresses it, and a mem-search skill reads it back.

WordPress Block DevelopmentSkill
Summary
Official WordPress skill for Gutenberg block work: block.json, attributes and serialization, dynamic rendering, and the deprecation path that keeps existing content valid.
Features
- block.json metadata: attributes, supports, scripts and styles
- register_block_type and register_block_type_from_metadata registration
- Diagnoses block-invalid and attributes-not-persisting serialization bugs
- Dynamic rendering with render.php and render_callback
- Versioned deprecations and migrations so existing content stays valid
- viewScript vs viewScriptModule guidance by target WordPress version
- Deterministic helper scripts: detect_wp_project.mjs and list_blocks.mjs
- Build tooling for @wordpress/scripts, @wordpress/create-block and wp-env
Install This Skill
Add this skill to your favorite AI agent in a few steps.
Skill Content
Usage Instructions
Learn how to use this skill with different AI agents.
Description
What it is
An official agent skill from the WordPress project, teaching a coding assistant how to build and maintain Gutenberg blocks properly. It is part of WordPress/agent-skills, the WordPress organisation's own repository of expert knowledge for AI coding assistants.
Why block work needs a skill
Block development is where general-purpose coding assistants most reliably go wrong in WordPress. The failure modes are specific and unintuitive: a block that saves markup which no longer matches its save() output is invalid and WordPress will refuse it, attributes silently fail to persist when serialization is misdeclared, and the fix is almost never the one a model guesses. This skill encodes the actual procedure — including the deprecation and migration path that is the correct answer when block output has to change.
What it covers
block.jsonmetadata: attributes,supports, scripts and styles, and theviewScriptvsviewScriptModuledistinction that depends on your target WordPress version- Registration through
register_block_typeandregister_block_type_from_metadata - Attribute definition and serialization, and the "block invalid / not saving / attributes not persisting" class of bugs
- Dynamic rendering via
render.phpandrender_callback - Deprecations and migrations — versioned
deprecatedentries so existing content keeps working - Build tooling:
@wordpress/scripts,@wordpress/create-blockandwp-env
How it is built
The skill is more than a prompt. It ships deterministic helper scripts the agent runs rather than guessing — detect_wp_project.mjs to triage whether it is looking at a plugin, a theme or a full site, and list_blocks.mjs to scan the repository for every block.json and locate the block being changed. A references/ directory holds deep-dive documents on individual topics such as block-json.md and deprecations.md, loaded only when the task calls for them.
That triage-first structure is what makes it reliable across the very wide range of shapes a WordPress codebase can take.
Requirements
Targets WordPress 7.0+ on PHP 7.4.0 or newer. Needs a filesystem-capable agent with bash and node; some workflows also require WP-CLI. Licensed GPL-2.0-or-later, in keeping with WordPress itself.
Install with npx skills add WordPress/agent-skills --skill wp-block-development, project-scoped by default so it can be committed and shared with your team, or --global to make it available across all your projects.
Related Skills
The master skill in PlanetScale's official pack: runs a full read-only best-practices assessment of a database or org, then produces one evidence-backed report.
Build crash-safe AI agents on AgentKit and step.ai — durable tool calls, human-in-the-loop approval, realtime progress, and when not to reach for an agent loop at all.
Inngest's durable-execution playbook as an agent skill — steps and memoisation, event and cron triggers, idempotency, cancellation, retries and non-retriable errors.