Skill: Sanity Best Practices
by Sanity
Sanity's official agent skill — schema design, GROQ, TypeGen, Visual Editing, Portable Text, Studio structure, localization, Functions and Blueprints, plus integration guides for eight frontend frameworks.
Official WordPress skill for Gutenberg block work: block.json, attributes and serialization, dynamic rendering, and the deprecation path that keeps existing content valid.
Add this skill to your favorite AI agent in a few steps.
Learn how to use this skill with different AI agents.
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.
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.
block.json metadata: attributes, supports, scripts and styles, and the viewScript vs viewScriptModule distinction that depends on your target WordPress versionregister_block_type and register_block_type_from_metadatarender.php and render_callbackdeprecated entries so existing content keeps working@wordpress/scripts, @wordpress/create-block and wp-envThe 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.
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.
by Sanity
Sanity's official agent skill — schema design, GROQ, TypeGen, Visual Editing, Portable Text, Studio structure, localization, Functions and Blueprints, plus integration guides for eight frontend frameworks.
Build Gradio web UIs and ML demos in Python with the current API — components, layouts, events, and chat interfaces.
by Dart team
Compile C/C++ into Dart Code Assets with build and link hooks — local toolchain builds with linker tree-shaking, or hash-validated downloads of prebuilt libraries.
by Dart team
The Dart team's skill for structuring real command-line apps — thin entrypoints, honest exit codes, stream routing, signal teardown and AOT-safe subprocess spawning.