id: "wp-block-development"
kind: "skill"
name: "wp-block-development"
title: "Wp Block Development"
description: "Use when developing WordPress (Gutenberg) blocks: block.json metadata, register_block_type(_from_metadata), attributes/serialization, supports, dynamic rendering (render.php/render_callback), deprecations/migrations, viewScript vs viewScriptModule, and @wordpress/scripts/@wordpress/create-block build and test workflows."
category: "testing"
source:
  repository: "WordPress/agent-skills"
  path: "skills/wp-block-development/SKILL.md"
  commit: "7374e6f1c913b3b02b25465d266d9c0e0a04fc96"
  url: "https://github.com/WordPress/agent-skills/tree/7374e6f1c913b3b02b25465d266d9c0e0a04fc96/skills/wp-block-development"
license:
  spdx: "NONE"
  redistributable: false
stars: 2390
updated_at: "2026-11-16T04:23:30Z"
score: 0.8526
rank: 136
files_count: 12
bytes: 20359
has_scripts: true
trust_level: "unreviewed"
reviewed_by: "eval-v1"
source_tier: "official"
eval:
  version: "eval-v1"
  date: "2026-11-21T11:02:43Z"
  model: "claude-sonnet-5-5"
  score: 0.8526
  signals:
    tier: 1.0
    rubric: 0.91
    judge: 0.8467
    smoke: "not_run"
    popularity: 0.5437
  rubric:
    score: 0.91
    trigger: 1.0
    scope: 1.0
    safety: 1.0
    injection: 1.0
    references: 1.0
    license: 0.1
    risky: []
    broken_references: []
  judge:
    trigger: 5
    scope: 5
    instructions: 4
    safety: 5
    injection: 5
    references: 4
    overall: 8
    verdict: "feature"
    rationale: "The description is specific and lists block.json, register_block_type, render.php, deprecations and viewScriptModule. The scope is one coherent job: WordPress block development. The procedure is a clear ordered workflow with real pitfalls (apiVersion 3, \"Invalid block\" needing deprecations) and delegates detail to ten reference files and a list script. It has no safety or injection issues. One reference gap: it relies on a wp-project-triage script that isn't in this folder."
  smoke:
    status: "not_run"
requires:
  tools: []
  runtimes: ["node"]
  network: false
  mcp: []
compat:
  - client: "claude-code"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "codex-cli"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "cursor"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "gemini-cli"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "vscode-copilot"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "opencode"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "claude-desktop"
    status: "no"
    reasons: ["runs-bundled-code"]
    source: "derived"
  - client: "chat-mcp"
    status: "no"
    reasons: ["runs-bundled-code"]
    source: "derived"
files:
  - path: "SKILL.md"
    bytes: 6491
    sha256: "d0db3166a84e2efeaa56a697f2b9879be96893bb8dc24f45438f444503699b36"
    url: "https://raw.githubusercontent.com/WordPress/agent-skills/7374e6f1c913b3b02b25465d266d9c0e0a04fc96/skills/wp-block-development/SKILL.md"
  - path: "references/attributes-and-serialization.md"
    bytes: 759
    sha256: "953725785cda47a6f6fc0ee19d5c96b9b4016300278b68eb64bdaaabf5d41a45"
    url: "https://raw.githubusercontent.com/WordPress/agent-skills/7374e6f1c913b3b02b25465d266d9c0e0a04fc96/skills/wp-block-development/references/attributes-and-serialization.md"
  - path: "references/block-json.md"
    bytes: 2336
    sha256: "a6f9f3f56f75caf54ece9beaa61835fda4fa241afc9c91cc3db39a9c396f2d63"
    url: "https://raw.githubusercontent.com/WordPress/agent-skills/7374e6f1c913b3b02b25465d266d9c0e0a04fc96/skills/wp-block-development/references/block-json.md"
  - path: "references/creating-new-blocks.md"
    bytes: 1594
    sha256: "45a437e3a4bc78e517ed478fb550cdb70c88b5b7bd05fe2b61525c95e2a35e0c"
    url: "https://raw.githubusercontent.com/WordPress/agent-skills/7374e6f1c913b3b02b25465d266d9c0e0a04fc96/skills/wp-block-development/references/creating-new-blocks.md"
  - path: "references/debugging.md"
    bytes: 1372
    sha256: "eced905202c692f626a4ffbf7282579b1463e0301496e1464d0e917a964e1e77"
    url: "https://raw.githubusercontent.com/WordPress/agent-skills/7374e6f1c913b3b02b25465d266d9c0e0a04fc96/skills/wp-block-development/references/debugging.md"
  - path: "references/deprecations.md"
    bytes: 665
    sha256: "136b1328823964ae7a7c638398c5662304db5b9d6f45f318a3523705ffd5e937"
    url: "https://raw.githubusercontent.com/WordPress/agent-skills/7374e6f1c913b3b02b25465d266d9c0e0a04fc96/skills/wp-block-development/references/deprecations.md"
  - path: "references/dynamic-rendering.md"
    bytes: 685
    sha256: "fee9acc6909290cf3549f7d23d23cc12fc3003f4db07ba9c49f0e165b2e39dd1"
    url: "https://raw.githubusercontent.com/WordPress/agent-skills/7374e6f1c913b3b02b25465d266d9c0e0a04fc96/skills/wp-block-development/references/dynamic-rendering.md"
  - path: "references/inner-blocks.md"
    bytes: 1196
    sha256: "06d5b2b929d9e27d7c9114ecb14b2d7ee538d24088d80d1e9b3e49890ce16355"
    url: "https://raw.githubusercontent.com/WordPress/agent-skills/7374e6f1c913b3b02b25465d266d9c0e0a04fc96/skills/wp-block-development/references/inner-blocks.md"
  - path: "references/registration.md"
    bytes: 932
    sha256: "b5b0386a03b6c5eabcd9076e3067f78231fef471018e88c1bcf4e4745e9d1e9c"
    url: "https://raw.githubusercontent.com/WordPress/agent-skills/7374e6f1c913b3b02b25465d266d9c0e0a04fc96/skills/wp-block-development/references/registration.md"
  - path: "references/supports-and-wrappers.md"
    bytes: 512
    sha256: "e4001355e8e6c1117da157881589a2267520a7846666ee7540251114f88f697a"
    url: "https://raw.githubusercontent.com/WordPress/agent-skills/7374e6f1c913b3b02b25465d266d9c0e0a04fc96/skills/wp-block-development/references/supports-and-wrappers.md"
  - path: "references/tooling-and-testing.md"
    bytes: 928
    sha256: "571c08dbc19c99bfdc59d277189e8391bb7651e6ee3ea8f09c2b7c412a2cf9d5"
    url: "https://raw.githubusercontent.com/WordPress/agent-skills/7374e6f1c913b3b02b25465d266d9c0e0a04fc96/skills/wp-block-development/references/tooling-and-testing.md"
  - path: "scripts/list_blocks.mjs"
    bytes: 2889
    sha256: "01bd752371dd13d3e8c0b1f7a240eed382c0177594449c102e8853a288023951"
    url: "https://raw.githubusercontent.com/WordPress/agent-skills/7374e6f1c913b3b02b25465d266d9c0e0a04fc96/skills/wp-block-development/scripts/list_blocks.mjs"
alternates: []
icon: "https://versatile.sh/avatars/wordpress.png"
