[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79RA200PFF7SS1M6JQKTR3H":3,"skill-same:01M79RA200PFF7SS1M6JQKTR3H":78},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":14,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M79RA200PFF7SS1M6JQKTR3H","wp-block-themes",null,"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).","gambitph\u002FAhentic","gambitph","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F3227089?v=4","01M6C1ZD8129MTRC23K53VJ45E","Gambit Technologies","01M79R7A85NS2N9JAK7AC0NE1X",0,"GPL-3.0","https:\u002F\u002Fgithub.com\u002Fgambitph\u002FAhentic\u002Fblob\u002Fmain\u002F.cursor\u002Fskills\u002Fwp-block-themes\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: wp-block-themes\ndescription: \"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).\"\ncompatibility: \"Targets WordPress 7.0+ (PHP 7.4.0+). Filesystem-based agent with bash + node. Some workflows require WP-CLI.\"\n---\n\n# WP Block Themes\n\n## When to use\n\nUse this skill for block theme work such as:\n\n- editing `theme.json` (presets, settings, styles, per-block styles)\n- adding or changing templates (`templates\u002F*.html`) and template parts (`parts\u002F*.html`)\n- adding patterns (`patterns\u002F*.php`) and controlling what appears in the inserter\n- adding style variations (`styles\u002F*.json`)\n- debugging “styles not applying” \u002F “editor doesn’t reflect theme.json”\n\n## Inputs required\n\n- Repo root and which theme is targeted (theme directory if multiple exist).\n- Target WordPress version range (theme.json version and features vary by core version).\n- Where the issue manifests: Site Editor, post editor, frontend, or all.\n\n## Procedure\n\n### 0) Triage and locate block theme roots\n\n1. Run triage:\n   - `node skills\u002Fwp-project-triage\u002Fscripts\u002Fdetect_wp_project.mjs`\n2. Detect theme roots + key folders:\n   - `node skills\u002Fwp-block-themes\u002Fscripts\u002Fdetect_block_themes.mjs`\n\nIf multiple themes exist, pick one and scope all changes to that theme root.\n\n### 1) Create a new block theme (if needed)\n\nIf you are creating a new block theme from scratch (or converting a classic theme):\n\n- Prefer starting from a known-good scaffold (or exporting from a WP environment) rather than guessing file layout.\n- Be explicit about the minimum supported WordPress version because `theme.json` schema versions differ.\n\nRead:\n- `references\u002Fcreating-new-block-theme.md`\n\nAfter creating the theme root, re-run `detect_block_themes` and continue below.\n\n### 2) Confirm theme type and override expectations\n\n- Block theme indicators:\n  - `theme.json` present\n  - `templates\u002F` and\u002For `parts\u002F` present\n- Remember the style hierarchy:\n  - core defaults → theme.json → child theme → user customizations\n  - user customizations can make theme.json edits appear “ignored”\n\nRead:\n- `references\u002Fdebugging.md` (style hierarchy + fastest checks)\n\n### 3) Make `theme.json` changes safely\n\nDecide whether you are changing:\n\n- **settings** (what the UI allows): presets, typography scale, colors, layout, spacing\n- **styles** (how it looks by default): CSS-like rules for elements\u002Fblocks\n\nRead:\n- `references\u002Ftheme-json.md`\n\n### 4) Templates and template parts\n\n- Templates live under `templates\u002F` and are HTML.\n- Template parts live under `parts\u002F` and must not be nested in subdirectories.\n\nRead:\n- `references\u002Ftemplates-and-parts.md`\n\n### 5) Patterns\n\nPrefer filesystem patterns under `patterns\u002F` when you want theme-owned patterns.\n\nRead:\n- `references\u002Fpatterns.md`\n\n### 6) Style variations\n\nStyle variations are JSON files under `styles\u002F`. Note: once a user picks a style variation, that selection is stored in the DB, so changing the file may not “update what the user sees” automatically.\n\nRead:\n- `references\u002Fstyle-variations.md`\n\n## Verification\n\n- Site Editor reflects changes where expected (Styles UI, templates, patterns).\n- Frontend renders with expected styles.\n- If styles aren’t changing, confirm whether user customizations override theme defaults.\n- Run the repo’s build\u002Flint scripts if assets are involved (fonts, custom JS\u002FCSS build).\n\n## Failure modes \u002F debugging\n\nStart with:\n\n- `references\u002Fdebugging.md`\n\nCommon issues:\n\n- wrong theme root (editing an inactive theme)\n- user customizations override your defaults\n- invalid `theme.json` shape\u002Ftypos prevent application\n- templates\u002Fparts in wrong folders (or nested parts)\n\n## Escalation\n\nIf upstream behavior is unclear, consult canonical docs:\n\n- Theme Handbook and Block Editor Handbook for `theme.json`, templates, patterns, and style variations.\n","# WP Block Themes\n\n## When to use\n\nUse this skill for block theme work such as:\n\n- editing `theme.json` (presets, settings, styles, per-block styles)\n- adding or changing templates (`templates\u002F*.html`) and template parts (`parts\u002F*.html`)\n- adding patterns (`patterns\u002F*.php`) and controlling what appears in the inserter\n- adding style variations (`styles\u002F*.json`)\n- debugging “styles not applying” \u002F “editor doesn’t reflect theme.json”\n\n## Inputs required\n\n- Repo root and which theme is targeted (theme directory if multiple exist).\n- Target WordPress version range (theme.json version and features vary by core version).\n- Where the issue manifests: Site Editor, post editor, frontend, or all.\n\n## Procedure\n\n### 0) Triage and locate block theme roots\n\n1. Run triage:\n   - `node skills\u002Fwp-project-triage\u002Fscripts\u002Fdetect_wp_project.mjs`\n2. Detect theme roots + key folders:\n   - `node skills\u002Fwp-block-themes\u002Fscripts\u002Fdetect_block_themes.mjs`\n\nIf multiple themes exist, pick one and scope all changes to that theme root.\n\n### 1) Create a new block theme (if needed)\n\nIf you are creating a new block theme from scratch (or converting a classic theme):\n\n- Prefer starting from a known-good scaffold (or exporting from a WP environment) rather than guessing file layout.\n- Be explicit about the minimum supported WordPress version because `theme.json` schema versions differ.\n\nRead:\n- `references\u002Fcreating-new-block-theme.md`\n\nAfter creating the theme root, re-run `detect_block_themes` and continue below.\n\n### 2) Confirm theme type and override expectations\n\n- Block theme indicators:\n  - `theme.json` present\n  - `templates\u002F` and\u002For `parts\u002F` present\n- Remember the style hierarchy:\n  - core defaults → theme.json → child theme → user customizations\n  - user customizations can make theme.json edits appear “ignored”\n\nRead:\n- `references\u002Fdebugging.md` (style hierarchy + fastest checks)\n\n### 3) Make `theme.json` changes safely\n\nDecide whether you are changing:\n\n- **settings** (what the UI allows): presets, typography scale, colors, layout, spacing\n- **styles** (how it looks by default): CSS-like rules for elements\u002Fblocks\n\nRead:\n- `references\u002Ftheme-json.md`\n\n### 4) Templates and template parts\n\n- Templates live under `templates\u002F` and are HTML.\n- Template parts live under `parts\u002F` and must not be nested in subdirectories.\n\nRead:\n- `references\u002Ftemplates-and-parts.md`\n\n### 5) Patterns\n\nPrefer filesystem patterns under `patterns\u002F` when you want theme-owned patterns.\n\nRead:\n- `references\u002Fpatterns.md`\n\n### 6) Style variations\n\nStyle variations are JSON files under `styles\u002F`. Note: once a user picks a style variation, that selection is stored in the DB, so changing the file may not “update what the user sees” automatically.\n\nRead:\n- `references\u002Fstyle-variations.md`\n\n## Verification\n\n- Site Editor reflects changes where expected (Styles UI, templates, patterns).\n- Frontend renders with expected styles.\n- If styles aren’t changing, confirm whether user customizations override theme defaults.\n- Run the repo’s build\u002Flint scripts if assets are involved (fonts, custom JS\u002FCSS build).\n\n## Failure modes \u002F debugging\n\nStart with:\n\n- `references\u002Fdebugging.md`\n\nCommon issues:\n\n- wrong theme root (editing an inactive theme)\n- user customizations override your defaults\n- invalid `theme.json` shape\u002Ftypos prevent application\n- templates\u002Fparts in wrong folders (or nested parts)\n\n## Escalation\n\nIf upstream behavior is unclear, consult canonical docs:\n\n- Theme Handbook and Block Editor Handbook for `theme.json`, templates, patterns, and style variations.\n",{"name":5,"description":7,"compatibility":24},"Targets WordPress 7.0+ (PHP 7.4.0+). Filesystem-based agent with bash + node. Some workflows require WP-CLI.","main","c4de8c3c2dcdca2892337cdc47c05dcb1cea8562",".cursor\u002Fskills\u002Fwp-block-themes","https:\u002F\u002Fgithub.com\u002Fgambitph\u002FAhentic","https:\u002F\u002Fgithub.com\u002Fgambitph","https:\u002F\u002Fwpstackable.com","2026-08-15 14:40:10",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add gambitph\u002FAhentic --skill wp-block-themes",{"tool":38,"command":39},"bunx","bunx skills add gambitph\u002FAhentic --skill wp-block-themes",{"tool":41,"command":42},"pnpm","pnpm dlx skills add gambitph\u002FAhentic --skill wp-block-themes","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgambitph\u002FAhentic\u002Fblob\u002Fmain\u002F.cursor\u002Fskills\u002Fwp-block-themes\u002FSKILL.md",true,[46,52,56,60,64,68,72],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"references\u002Fcreating-new-block-theme.md","REFERENCE","参考文档",1378,"https:\u002F\u002Fgithub.com\u002Fgambitph\u002FAhentic\u002Fblob\u002Fmain\u002F.cursor\u002Fskills\u002Fwp-block-themes\u002Freferences\u002Fcreating-new-block-theme.md",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"references\u002Fdebugging.md",1008,"https:\u002F\u002Fgithub.com\u002Fgambitph\u002FAhentic\u002Fblob\u002Fmain\u002F.cursor\u002Fskills\u002Fwp-block-themes\u002Freferences\u002Fdebugging.md",{"path":57,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002Fpatterns.md",592,"https:\u002F\u002Fgithub.com\u002Fgambitph\u002FAhentic\u002Fblob\u002Fmain\u002F.cursor\u002Fskills\u002Fwp-block-themes\u002Freferences\u002Fpatterns.md",{"path":61,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":62,"sourceHtmlUrl":63},"references\u002Fstyle-variations.md",439,"https:\u002F\u002Fgithub.com\u002Fgambitph\u002FAhentic\u002Fblob\u002Fmain\u002F.cursor\u002Fskills\u002Fwp-block-themes\u002Freferences\u002Fstyle-variations.md",{"path":65,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002Ftemplates-and-parts.md",442,"https:\u002F\u002Fgithub.com\u002Fgambitph\u002FAhentic\u002Fblob\u002Fmain\u002F.cursor\u002Fskills\u002Fwp-block-themes\u002Freferences\u002Ftemplates-and-parts.md",{"path":69,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Ftheme-json.md",3311,"https:\u002F\u002Fgithub.com\u002Fgambitph\u002FAhentic\u002Fblob\u002Fmain\u002F.cursor\u002Fskills\u002Fwp-block-themes\u002Freferences\u002Ftheme-json.md",{"path":73,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":76,"sourceHtmlUrl":77},"scripts\u002Fdetect_block_themes.mjs","SCRIPT","脚本",2736,"https:\u002F\u002Fgithub.com\u002Fgambitph\u002FAhentic\u002Fblob\u002Fmain\u002F.cursor\u002Fskills\u002Fwp-block-themes\u002Fscripts\u002Fdetect_block_themes.mjs",[79,86,93,100,107,114],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M79RB5GMQX62XBSR4XMJ3758","writing-for-agents","Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.","https:\u002F\u002Fgithub.com\u002Fgambitph\u002FAhentic\u002Fblob\u002Fmain\u002F.cursor\u002Fskills\u002Fwriting-for-agents\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M79RB0ET331AVRW6W4JAW30C","wp-rest-api","Use when building, extending, or debugging WordPress REST API endpoints\u002Froutes: register_rest_route, WP_REST_Controller\u002Fcontroller classes, schema\u002Fargument validation, permission_callback\u002Fauthentication, response shaping, register_rest_field\u002Fregister_meta, or exposing CPTs\u002Ftaxonomies via show_in_rest.","https:\u002F\u002Fgithub.com\u002Fgambitph\u002FAhentic\u002Fblob\u002Fmain\u002F.cursor\u002Fskills\u002Fwp-rest-api\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M79RAX0CGSMDWJ7F5DATG4WF","wp-project-triage","Use when you need a deterministic inspection of a WordPress repository (plugin\u002Ftheme\u002Fblock theme\u002FWP core\u002FGutenberg\u002Ffull site) including tooling\u002Ftests\u002Fversion hints, and a structured JSON report to guide workflows and guardrails.","https:\u002F\u002Fgithub.com\u002Fgambitph\u002FAhentic\u002Fblob\u002Fmain\u002F.cursor\u002Fskills\u002Fwp-project-triage\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":19},"01M79RAQ5Q24QC2W4M3XDM2195","wp-plugin-directory-guidelines","Use when reviewing WordPress plugins for GPL compliance, checking license headers or compatibility, evaluating upsell\u002Ffreemium\u002Ftrialware patterns, validating plugin naming or trademark rules, checking plugin slugs, understanding why a plugin was rejected from WordPress.org, or answering any question about the 18 WordPress.org Plugin Directory guidelines — even if the user doesn't mention 'guidelines' explicitly.","https:\u002F\u002Fgithub.com\u002Fgambitph\u002FAhentic\u002Fblob\u002Fmain\u002F.cursor\u002Fskills\u002Fwp-plugin-directory-guidelines\u002FSKILL.md",[],[],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":19},"01M79RAJ56J66CKG54B0SBK8PX","wp-plugin-development","Use when developing WordPress plugins: architecture and hooks, activation\u002Fdeactivation\u002Funinstall, admin UI and Settings API, data storage, cron\u002Ftasks, security (nonces\u002Fcapabilities\u002Fsanitization\u002Fescaping), and release packaging.","https:\u002F\u002Fgithub.com\u002Fgambitph\u002FAhentic\u002Fblob\u002Fmain\u002F.cursor\u002Fskills\u002Fwp-plugin-development\u002FSKILL.md",[],[],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":19},"01M79RACN5F4BJYC0QX4MBFV0P","wp-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.","https:\u002F\u002Fgithub.com\u002Fgambitph\u002FAhentic\u002Fblob\u002Fmain\u002F.cursor\u002Fskills\u002Fwp-performance\u002FSKILL.md",[],[]]