[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-wordpress-wordpress-router":3,"mdc-l2njyj-key":34,"related-repo-wordpress-wordpress-router":314,"related-org-wordpress-wordpress-router":435},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":23,"repoUrl":24,"updatedAt":25,"license":26,"forks":27,"topics":28,"repo":29,"sourceUrl":32,"mdContent":33},"wordpress-router","route WordPress codebase tasks","Use when the user asks about WordPress codebases (plugins, themes, block themes, Gutenberg blocks, WP core checkouts) and you need to quickly classify the repo and route to the correct workflow\u002Fskill (blocks, theme.json, REST API, WP-CLI, performance, security, testing, release packaging).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},"wordpress","WordPress","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fwordpress.png",[12,14,17,20],{"name":9,"slug":8,"type":13},"tag",{"name":15,"slug":16,"type":13},"Triage","triage",{"name":18,"slug":19,"type":13},"Engineering","engineering",{"name":21,"slug":22,"type":13},"Workflow Automation","workflow-automation",1892,"https:\u002F\u002Fgithub.com\u002FWordPress\u002Fagent-skills","2026-04-06T18:58:21.644368",null,284,[],{"repoUrl":24,"stars":23,"forks":27,"topics":30,"description":31},[],"Expert-level WordPress knowledge for AI coding assistants - blocks, themes, plugins, and best practices","https:\u002F\u002Fgithub.com\u002FWordPress\u002Fagent-skills\u002Ftree\u002FHEAD\u002Fskills\u002Fwordpress-router","---\nname: wordpress-router\ndescription: \"Use when the user asks about WordPress codebases (plugins, themes, block themes, Gutenberg blocks, WP core checkouts) and you need to quickly classify the repo and route to the correct workflow\u002Fskill (blocks, theme.json, REST API, WP-CLI, performance, security, testing, release packaging).\"\ncompatibility: \"Targets WordPress 7.0+ (PHP 7.4.0+). Filesystem-based agent with bash + node. Some workflows require WP-CLI.\"\n---\n\n# WordPress Router\n\n## When to use\n\nUse this skill at the start of most WordPress tasks to:\n\n- identify what kind of WordPress codebase this is (plugin vs theme vs block theme vs WP core checkout vs full site),\n- pick the right workflow and guardrails,\n- delegate to the most relevant domain skill(s).\n\n## Inputs required\n\n- Repo root (current working directory).\n- The user’s intent (what they want changed) and any constraints (WP version targets, WP.com specifics, release requirements).\n\n## Procedure\n\n1. Run the project triage script:\n   - `node skills\u002Fwp-project-triage\u002Fscripts\u002Fdetect_wp_project.mjs`\n2. Read the triage output and classify:\n   - primary project kind(s),\n   - tooling available (PHP\u002FComposer, Node, @wordpress\u002Fscripts),\n   - tests present (PHPUnit, Playwright, wp-env),\n   - any version hints.\n3. Route to domain workflows based on user intent + repo kind:\n   - For the decision tree, read: `skills\u002Fwordpress-router\u002Freferences\u002Fdecision-tree.md`.\n4. Apply guardrails before making changes:\n   - Confirm any version constraints if unclear.\n   - Prefer the repo’s existing tooling and conventions for builds\u002Ftests.\n\n## Verification\n\n- Re-run the triage script if you create or restructure significant files.\n- Run the repo’s lint\u002Ftest\u002Fbuild commands that the triage output recommends (if available).\n\n## Failure modes \u002F debugging\n\n- If triage reports `kind: unknown`, inspect:\n  - root `composer.json`, `package.json`, `style.css`, `block.json`, `theme.json`, `wp-content\u002F`.\n- If the repo is huge, consider narrowing scanning scope or adding ignore rules to the triage script.\n\n## Escalation\n\n- If routing is ambiguous, ask one question:\n  - “Is this intended to be a WordPress plugin, a theme (classic\u002Fblock), or a full site repo?”\n",{"data":35,"body":37},{"name":4,"description":6,"compatibility":36},"Targets WordPress 7.0+ (PHP 7.4.0+). Filesystem-based agent with bash + node. Some workflows require WP-CLI.",{"type":38,"children":39},"root",[40,48,55,61,81,87,100,106,195,201,214,220,292,298],{"type":41,"tag":42,"props":43,"children":44},"element","h1",{"id":4},[45],{"type":46,"value":47},"text","WordPress Router",{"type":41,"tag":49,"props":50,"children":52},"h2",{"id":51},"when-to-use",[53],{"type":46,"value":54},"When to use",{"type":41,"tag":56,"props":57,"children":58},"p",{},[59],{"type":46,"value":60},"Use this skill at the start of most WordPress tasks to:",{"type":41,"tag":62,"props":63,"children":64},"ul",{},[65,71,76],{"type":41,"tag":66,"props":67,"children":68},"li",{},[69],{"type":46,"value":70},"identify what kind of WordPress codebase this is (plugin vs theme vs block theme vs WP core checkout vs full site),",{"type":41,"tag":66,"props":72,"children":73},{},[74],{"type":46,"value":75},"pick the right workflow and guardrails,",{"type":41,"tag":66,"props":77,"children":78},{},[79],{"type":46,"value":80},"delegate to the most relevant domain skill(s).",{"type":41,"tag":49,"props":82,"children":84},{"id":83},"inputs-required",[85],{"type":46,"value":86},"Inputs required",{"type":41,"tag":62,"props":88,"children":89},{},[90,95],{"type":41,"tag":66,"props":91,"children":92},{},[93],{"type":46,"value":94},"Repo root (current working directory).",{"type":41,"tag":66,"props":96,"children":97},{},[98],{"type":46,"value":99},"The user’s intent (what they want changed) and any constraints (WP version targets, WP.com specifics, release requirements).",{"type":41,"tag":49,"props":101,"children":103},{"id":102},"procedure",[104],{"type":46,"value":105},"Procedure",{"type":41,"tag":107,"props":108,"children":109},"ol",{},[110,128,156,177],{"type":41,"tag":66,"props":111,"children":112},{},[113,115],{"type":46,"value":114},"Run the project triage script:\n",{"type":41,"tag":62,"props":116,"children":117},{},[118],{"type":41,"tag":66,"props":119,"children":120},{},[121],{"type":41,"tag":122,"props":123,"children":125},"code",{"className":124},[],[126],{"type":46,"value":127},"node skills\u002Fwp-project-triage\u002Fscripts\u002Fdetect_wp_project.mjs",{"type":41,"tag":66,"props":129,"children":130},{},[131,133],{"type":46,"value":132},"Read the triage output and classify:\n",{"type":41,"tag":62,"props":134,"children":135},{},[136,141,146,151],{"type":41,"tag":66,"props":137,"children":138},{},[139],{"type":46,"value":140},"primary project kind(s),",{"type":41,"tag":66,"props":142,"children":143},{},[144],{"type":46,"value":145},"tooling available (PHP\u002FComposer, Node, @wordpress\u002Fscripts),",{"type":41,"tag":66,"props":147,"children":148},{},[149],{"type":46,"value":150},"tests present (PHPUnit, Playwright, wp-env),",{"type":41,"tag":66,"props":152,"children":153},{},[154],{"type":46,"value":155},"any version hints.",{"type":41,"tag":66,"props":157,"children":158},{},[159,161],{"type":46,"value":160},"Route to domain workflows based on user intent + repo kind:\n",{"type":41,"tag":62,"props":162,"children":163},{},[164],{"type":41,"tag":66,"props":165,"children":166},{},[167,169,175],{"type":46,"value":168},"For the decision tree, read: ",{"type":41,"tag":122,"props":170,"children":172},{"className":171},[],[173],{"type":46,"value":174},"skills\u002Fwordpress-router\u002Freferences\u002Fdecision-tree.md",{"type":46,"value":176},".",{"type":41,"tag":66,"props":178,"children":179},{},[180,182],{"type":46,"value":181},"Apply guardrails before making changes:\n",{"type":41,"tag":62,"props":183,"children":184},{},[185,190],{"type":41,"tag":66,"props":186,"children":187},{},[188],{"type":46,"value":189},"Confirm any version constraints if unclear.",{"type":41,"tag":66,"props":191,"children":192},{},[193],{"type":46,"value":194},"Prefer the repo’s existing tooling and conventions for builds\u002Ftests.",{"type":41,"tag":49,"props":196,"children":198},{"id":197},"verification",[199],{"type":46,"value":200},"Verification",{"type":41,"tag":62,"props":202,"children":203},{},[204,209],{"type":41,"tag":66,"props":205,"children":206},{},[207],{"type":46,"value":208},"Re-run the triage script if you create or restructure significant files.",{"type":41,"tag":66,"props":210,"children":211},{},[212],{"type":46,"value":213},"Run the repo’s lint\u002Ftest\u002Fbuild commands that the triage output recommends (if available).",{"type":41,"tag":49,"props":215,"children":217},{"id":216},"failure-modes-debugging",[218],{"type":46,"value":219},"Failure modes \u002F debugging",{"type":41,"tag":62,"props":221,"children":222},{},[223,287],{"type":41,"tag":66,"props":224,"children":225},{},[226,228,234,236],{"type":46,"value":227},"If triage reports ",{"type":41,"tag":122,"props":229,"children":231},{"className":230},[],[232],{"type":46,"value":233},"kind: unknown",{"type":46,"value":235},", inspect:\n",{"type":41,"tag":62,"props":237,"children":238},{},[239],{"type":41,"tag":66,"props":240,"children":241},{},[242,244,250,252,258,259,265,266,272,273,279,280,286],{"type":46,"value":243},"root ",{"type":41,"tag":122,"props":245,"children":247},{"className":246},[],[248],{"type":46,"value":249},"composer.json",{"type":46,"value":251},", ",{"type":41,"tag":122,"props":253,"children":255},{"className":254},[],[256],{"type":46,"value":257},"package.json",{"type":46,"value":251},{"type":41,"tag":122,"props":260,"children":262},{"className":261},[],[263],{"type":46,"value":264},"style.css",{"type":46,"value":251},{"type":41,"tag":122,"props":267,"children":269},{"className":268},[],[270],{"type":46,"value":271},"block.json",{"type":46,"value":251},{"type":41,"tag":122,"props":274,"children":276},{"className":275},[],[277],{"type":46,"value":278},"theme.json",{"type":46,"value":251},{"type":41,"tag":122,"props":281,"children":283},{"className":282},[],[284],{"type":46,"value":285},"wp-content\u002F",{"type":46,"value":176},{"type":41,"tag":66,"props":288,"children":289},{},[290],{"type":46,"value":291},"If the repo is huge, consider narrowing scanning scope or adding ignore rules to the triage script.",{"type":41,"tag":49,"props":293,"children":295},{"id":294},"escalation",[296],{"type":46,"value":297},"Escalation",{"type":41,"tag":62,"props":299,"children":300},{},[301],{"type":41,"tag":66,"props":302,"children":303},{},[304,306],{"type":46,"value":305},"If routing is ambiguous, ask one question:\n",{"type":41,"tag":62,"props":307,"children":308},{},[309],{"type":41,"tag":66,"props":310,"children":311},{},[312],{"type":46,"value":313},"“Is this intended to be a WordPress plugin, a theme (classic\u002Fblock), or a full site repo?”",{"items":315,"total":434},[316,327,334,348,377,398,418],{"slug":317,"name":317,"fn":318,"description":319,"org":320,"tags":321,"stars":23,"repoUrl":24,"updatedAt":326},"blueprint","create WordPress Playground blueprint files","Use when the deliverable is WordPress Playground Blueprint JSON or a Blueprint bundle, including creating, editing, reviewing, validating schema keys, choosing steps\u002Fresources, and debugging Blueprint files. For only running or sharing a Playground environment, use wp-playground.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[322,323],{"name":9,"slug":8,"type":13},{"name":324,"slug":325,"type":13},"WordPress Playground","wordpress-playground","2026-07-27T06:08:32.306955",{"slug":4,"name":4,"fn":5,"description":6,"org":328,"tags":329,"stars":23,"repoUrl":24,"updatedAt":25},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[330,331,332,333],{"name":18,"slug":19,"type":13},{"name":15,"slug":16,"type":13},{"name":9,"slug":8,"type":13},{"name":21,"slug":22,"type":13},{"slug":335,"name":335,"fn":336,"description":337,"org":338,"tags":339,"stars":23,"repoUrl":24,"updatedAt":347},"wp-abilities-api","manage WordPress Abilities API definitions","Use when working with the WordPress Abilities API (wp_register_ability, wp_register_ability_category, \u002Fwp-json\u002Fwp-abilities\u002Fv1\u002F*, @wordpress\u002Fabilities) including defining abilities, categories, meta, REST exposure, and permissions checks for clients.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[340,343,346],{"name":341,"slug":342,"type":13},"Access Control","access-control",{"name":344,"slug":345,"type":13},"API Development","api-development",{"name":9,"slug":8,"type":13},"2026-04-06T18:58:17.857773",{"slug":349,"name":349,"fn":350,"description":351,"org":352,"tags":353,"stars":23,"repoUrl":24,"updatedAt":376},"wp-abilities-audit","audit WordPress plugins for Abilities API registration","Audit a WordPress plugin's REST surface and produce a standardized audit document proposing Abilities API registrations. Produces a markdown doc with a YAML schema and prose sections that humans and agents can both consume when planning a registration rollout. Works on any WP plugin.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[354,357,360,363,366,369,372,373],{"name":355,"slug":356,"type":13},"Abilities API","abilities-api",{"name":358,"slug":359,"type":13},"Audit","audit",{"name":361,"slug":362,"type":13},"Code Analysis","code-analysis",{"name":364,"slug":365,"type":13},"Documentation","documentation",{"name":367,"slug":368,"type":13},"Plugin Development","plugin-development",{"name":370,"slug":371,"type":13},"REST API","rest-api",{"name":9,"slug":8,"type":13},{"name":374,"slug":375,"type":13},"YAML","yaml","2026-05-28T06:48:49.361753",{"slug":378,"name":378,"fn":379,"description":380,"org":381,"tags":382,"stars":23,"repoUrl":24,"updatedAt":397},"wp-abilities-verify","verify WordPress plugin Abilities API registrations","Verify a WordPress plugin's Abilities API registrations: enumerate abilities, check that callback behavior matches each annotation's claim (the adversarial readonly-but-writes detection), validate permissions and schemas, and validate audit documents produced by wp-abilities-audit.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[383,384,385,386,387,390,393,396],{"name":355,"slug":356,"type":13},{"name":361,"slug":362,"type":13},{"name":367,"slug":368,"type":13},{"name":370,"slug":371,"type":13},{"name":388,"slug":389,"type":13},"Security","security",{"name":391,"slug":392,"type":13},"Testing","testing",{"name":394,"slug":395,"type":13},"Validation","validation",{"name":9,"slug":8,"type":13},"2026-05-28T06:48:50.590811",{"slug":399,"name":399,"fn":400,"description":401,"org":402,"tags":403,"stars":23,"repoUrl":24,"updatedAt":417},"wp-block-development","develop WordPress Gutenberg blocks","Use when developing WordPress (Gutenberg) blocks: block.json metadata, register_block_type(_from_metadata), attributes\u002Fserialization, supports, dynamic rendering (render.php\u002Frender_callback), deprecations\u002Fmigrations, viewScript vs viewScriptModule, and @wordpress\u002Fscripts\u002F@wordpress\u002Fcreate-block build and test workflows.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[404,407,410,413,416],{"name":405,"slug":406,"type":13},"Frontend","frontend",{"name":408,"slug":409,"type":13},"PHP","php",{"name":411,"slug":412,"type":13},"React","react",{"name":414,"slug":415,"type":13},"UI Components","ui-components",{"name":9,"slug":8,"type":13},"2026-04-06T18:58:24.172876",{"slug":419,"name":419,"fn":420,"description":421,"org":422,"tags":423,"stars":23,"repoUrl":24,"updatedAt":433},"wp-block-themes","develop WordPress block themes","Use when developing WordPress block themes: theme.json (global settings\u002Fstyles), templates and template parts, patterns, style variations, and Site Editor troubleshooting (style hierarchy, overrides, caching).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[424,427,428,431,432],{"name":425,"slug":426,"type":13},"Design","design",{"name":405,"slug":406,"type":13},{"name":429,"slug":430,"type":13},"Themes","themes",{"name":414,"slug":415,"type":13},{"name":9,"slug":8,"type":13},"2026-04-06T18:58:27.909889",18,{"items":436,"total":434},[437,442,449,455,466,477,485,493,506,521,541,554],{"slug":317,"name":317,"fn":318,"description":319,"org":438,"tags":439,"stars":23,"repoUrl":24,"updatedAt":326},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[440,441],{"name":9,"slug":8,"type":13},{"name":324,"slug":325,"type":13},{"slug":4,"name":4,"fn":5,"description":6,"org":443,"tags":444,"stars":23,"repoUrl":24,"updatedAt":25},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[445,446,447,448],{"name":18,"slug":19,"type":13},{"name":15,"slug":16,"type":13},{"name":9,"slug":8,"type":13},{"name":21,"slug":22,"type":13},{"slug":335,"name":335,"fn":336,"description":337,"org":450,"tags":451,"stars":23,"repoUrl":24,"updatedAt":347},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[452,453,454],{"name":341,"slug":342,"type":13},{"name":344,"slug":345,"type":13},{"name":9,"slug":8,"type":13},{"slug":349,"name":349,"fn":350,"description":351,"org":456,"tags":457,"stars":23,"repoUrl":24,"updatedAt":376},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[458,459,460,461,462,463,464,465],{"name":355,"slug":356,"type":13},{"name":358,"slug":359,"type":13},{"name":361,"slug":362,"type":13},{"name":364,"slug":365,"type":13},{"name":367,"slug":368,"type":13},{"name":370,"slug":371,"type":13},{"name":9,"slug":8,"type":13},{"name":374,"slug":375,"type":13},{"slug":378,"name":378,"fn":379,"description":380,"org":467,"tags":468,"stars":23,"repoUrl":24,"updatedAt":397},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[469,470,471,472,473,474,475,476],{"name":355,"slug":356,"type":13},{"name":361,"slug":362,"type":13},{"name":367,"slug":368,"type":13},{"name":370,"slug":371,"type":13},{"name":388,"slug":389,"type":13},{"name":391,"slug":392,"type":13},{"name":394,"slug":395,"type":13},{"name":9,"slug":8,"type":13},{"slug":399,"name":399,"fn":400,"description":401,"org":478,"tags":479,"stars":23,"repoUrl":24,"updatedAt":417},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[480,481,482,483,484],{"name":405,"slug":406,"type":13},{"name":408,"slug":409,"type":13},{"name":411,"slug":412,"type":13},{"name":414,"slug":415,"type":13},{"name":9,"slug":8,"type":13},{"slug":419,"name":419,"fn":420,"description":421,"org":486,"tags":487,"stars":23,"repoUrl":24,"updatedAt":433},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[488,489,490,491,492],{"name":425,"slug":426,"type":13},{"name":405,"slug":406,"type":13},{"name":429,"slug":430,"type":13},{"name":414,"slug":415,"type":13},{"name":9,"slug":8,"type":13},{"slug":494,"name":494,"fn":495,"description":496,"org":497,"tags":498,"stars":23,"repoUrl":24,"updatedAt":505},"wp-interactivity-api","build interactive features with WordPress Interactivity API","Use when building or debugging WordPress Interactivity API features (data-wp-* directives, @wordpress\u002Finteractivity store\u002Fstate\u002Factions, block viewScriptModule integration, wp_interactivity_*()) including performance, hydration, and directive behavior.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[499,500,501,504],{"name":344,"slug":345,"type":13},{"name":405,"slug":406,"type":13},{"name":502,"slug":503,"type":13},"JavaScript","javascript",{"name":9,"slug":8,"type":13},"2026-04-06T18:58:20.397676",{"slug":507,"name":507,"fn":508,"description":509,"org":510,"tags":511,"stars":23,"repoUrl":24,"updatedAt":520},"wp-patterns","generate WordPress block patterns","Generate technically correct, design-distinctive WordPress block patterns. Use when creating block patterns, starter page patterns, template patterns, template part patterns, or improving pattern design quality. Covers pattern registration (PHP headers, auto\u002Fmanual), block markup syntax, theme.json design tokens, categories, template types, accessibility, and i18n\u002Fescaping.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[512,515,516,519],{"name":513,"slug":514,"type":13},"Block Editor","block-editor",{"name":425,"slug":426,"type":13},{"name":517,"slug":518,"type":13},"Templates","templates",{"name":9,"slug":8,"type":13},"2026-07-24T05:38:43.101238",{"slug":522,"name":522,"fn":523,"description":524,"org":525,"tags":526,"stars":23,"repoUrl":24,"updatedAt":540},"wp-performance","investigate and improve WordPress performance","Use when investigating or improving WordPress performance (backend-only agent): profiling and measurement (WP-CLI profile\u002Fdoctor, Server-Timing, Query Monitor via REST headers), database\u002Fquery optimization, autoloaded options, object caching, cron, HTTP API calls, and safe verification.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[527,530,533,536,539],{"name":528,"slug":529,"type":13},"Backend","backend",{"name":531,"slug":532,"type":13},"Database","database",{"name":534,"slug":535,"type":13},"Performance","performance",{"name":537,"slug":538,"type":13},"SQL","sql",{"name":9,"slug":8,"type":13},"2026-04-06T18:58:22.909053",{"slug":542,"name":542,"fn":543,"description":544,"org":545,"tags":546,"stars":23,"repoUrl":24,"updatedAt":553},"wp-phpstan","run PHPStan static analysis on WordPress projects","Use when configuring, running, or fixing PHPStan static analysis in WordPress projects (plugins\u002Fthemes\u002Fsites): phpstan.neon setup, baselines, WordPress-specific typing, and handling third-party plugin classes.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[547,548,549,552],{"name":361,"slug":362,"type":13},{"name":408,"slug":409,"type":13},{"name":550,"slug":551,"type":13},"QA","qa",{"name":9,"slug":8,"type":13},"2026-04-06T18:58:15.318063",{"slug":555,"name":555,"fn":556,"description":557,"org":558,"tags":559,"stars":23,"repoUrl":24,"updatedAt":568},"wp-playground","manage WordPress Playground instances","Use as the WordPress Playground routing wrapper for ambiguous Playground work, local CLI runs with @wp-playground\u002Fcli, playground.wordpress.net share links, browser previews, snapshots, mounts, version switching, and Xdebug. For Blueprint JSON authoring or review, use the blueprint skill directly.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[560,563,566,567],{"name":561,"slug":562,"type":13},"Local Development","local-development",{"name":564,"slug":565,"type":13},"Sandboxing","sandboxing",{"name":9,"slug":8,"type":13},{"name":324,"slug":325,"type":13},"2026-07-27T06:08:31.31025"]