[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C21R75YABTRE1JSW47VHXQ":3,"skill-same:01M6C21R75YABTRE1JSW47VHXQ":117},{"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":23,"publishedAt":41,"linkOnly":42,"markdownContent":43,"markdownBody":44,"frontMatter":45,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":50,"repositoryHtmlUrl":51,"repositoryHomepageUrl":6,"ownerHtmlUrl":52,"ownerBlogUrl":53,"ownerDescription":6,"updatedAt":54,"install":55,"resources":68},"01M6C21R75YABTRE1JSW47VHXQ","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\u002FCimo","gambitph","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F3227089?v=4","01M6C1ZD8129MTRC23K53VJ45E","Gambit Technologies","01M6C1ZDCJPEHP3CKCWNG7HDVV",2,"GPL-2.0","https:\u002F\u002Fgithub.com\u002Fgambitph\u002FCimo\u002Fblob\u002Fdevelop\u002F.cursor\u002Fskills\u002Fwp-block-themes\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000015","视觉设计","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40],"wp block themes","template","use","global","settings","node","filesystem","troubleshooting","site","cli","json","php","Bash","templates","workflows","editor","wordpress","2026-11-10 10:12:30",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":46},"Targets WordPress 7.0+ (PHP 7.4.0+). Filesystem-based agent with bash + node. Some workflows require WP-CLI.","develop","647b3a86ad96843d26f677d200372b67b7336254",".cursor\u002Fskills\u002Fwp-block-themes",0,"https:\u002F\u002Fgithub.com\u002Fgambitph\u002FCimo","https:\u002F\u002Fgithub.com\u002Fgambitph","https:\u002F\u002Fwpstackable.com","2026-10-15 14:34:26",{"source":8,"skillName":5,"commands":56,"prompt":66,"zipAvailable":67},[57,60,63],{"tool":58,"command":59},"npx","npx skills add gambitph\u002FCimo --skill wp-block-themes",{"tool":61,"command":62},"bunx","bunx skills add gambitph\u002FCimo --skill wp-block-themes",{"tool":64,"command":65},"pnpm","pnpm dlx skills add gambitph\u002FCimo --skill wp-block-themes","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgambitph\u002FCimo\u002Fblob\u002Fdevelop\u002F.cursor\u002Fskills\u002Fwp-block-themes\u002FSKILL.md",true,[69,75,79,83,87,91,95,99,103,107,111],{"path":70,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":73,"sourceHtmlUrl":74},".claude-plugin\u002Fplugin.json","REFERENCE","参考文档",694,"https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-hugging-face-trackio\u002F.claude-plugin\u002Fplugin.json",{"path":76,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":77,"sourceHtmlUrl":78},"references\u002Falerts.md",6899,"https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-hugging-face-trackio\u002Freferences\u002Falerts.md",{"path":80,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":81,"sourceHtmlUrl":82},"references\u002Fcreating-new-block-theme.md",1378,"https:\u002F\u002Fgithub.com\u002Fgambitph\u002FCimo\u002Fblob\u002Fdevelop\u002F.cursor\u002Fskills\u002Fwp-block-themes\u002Freferences\u002Fcreating-new-block-theme.md",{"path":84,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":85,"sourceHtmlUrl":86},"references\u002Fdebugging.md",1008,"https:\u002F\u002Fgithub.com\u002Fgambitph\u002FCimo\u002Fblob\u002Fdevelop\u002F.cursor\u002Fskills\u002Fwp-block-themes\u002Freferences\u002Fdebugging.md",{"path":88,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":89,"sourceHtmlUrl":90},"references\u002Flogging_metrics.md",5440,"https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-hugging-face-trackio\u002Freferences\u002Flogging_metrics.md",{"path":92,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":93,"sourceHtmlUrl":94},"references\u002Fpatterns.md",592,"https:\u002F\u002Fgithub.com\u002Fgambitph\u002FCimo\u002Fblob\u002Fdevelop\u002F.cursor\u002Fskills\u002Fwp-block-themes\u002Freferences\u002Fpatterns.md",{"path":96,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":97,"sourceHtmlUrl":98},"references\u002Fretrieving_metrics.md",9263,"https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-hugging-face-trackio\u002Freferences\u002Fretrieving_metrics.md",{"path":100,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":101,"sourceHtmlUrl":102},"references\u002Fstyle-variations.md",439,"https:\u002F\u002Fgithub.com\u002Fgambitph\u002FCimo\u002Fblob\u002Fdevelop\u002F.cursor\u002Fskills\u002Fwp-block-themes\u002Freferences\u002Fstyle-variations.md",{"path":104,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":105,"sourceHtmlUrl":106},"references\u002Ftemplates-and-parts.md",442,"https:\u002F\u002Fgithub.com\u002Fgambitph\u002FCimo\u002Fblob\u002Fdevelop\u002F.cursor\u002Fskills\u002Fwp-block-themes\u002Freferences\u002Ftemplates-and-parts.md",{"path":108,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":109,"sourceHtmlUrl":110},"references\u002Ftheme-json.md",3311,"https:\u002F\u002Fgithub.com\u002Fgambitph\u002FCimo\u002Fblob\u002Fdevelop\u002F.cursor\u002Fskills\u002Fwp-block-themes\u002Freferences\u002Ftheme-json.md",{"path":112,"resourceType":113,"resourceTypeDesc":114,"sizeBytes":115,"sourceHtmlUrl":116},"scripts\u002Fdetect_block_themes.mjs","SCRIPT","脚本",2736,"https:\u002F\u002Fgithub.com\u002Fgambitph\u002FCimo\u002Fblob\u002Fdevelop\u002F.cursor\u002Fskills\u002Fwp-block-themes\u002Fscripts\u002Fdetect_block_themes.mjs",[118,137,160,176,196,214],{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":132,"publishedAt":41},"01M6C22DH5PD92NQAX0Y2X0YA6","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\u002FCimo\u002Fblob\u002Fdevelop\u002F.cursor\u002Fskills\u002Fwriting-for-agents\u002FSKILL.md",[124,127],{"categoryNo":125,"categoryName":126,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000018","写作与文案",{"categoryNo":128,"categoryName":129,"taxonomyType":130,"taxonomyTypeDesc":131},"01JBSEEDCAT000000000000036","内容创作者","PROFESSION","适用职业",[133,134,135,136,26],"writing","writing for agents","documents","editing",{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":141,"categories":142,"keywords":149,"publishedAt":41},"01M6C22APBD07T1MBH301FJKA6","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\u002FCimo\u002Fblob\u002Fdevelop\u002F.cursor\u002Fskills\u002Fwp-rest-api\u002FSKILL.md",[143,146],{"categoryNo":144,"categoryName":145,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000010","后端与接口",{"categoryNo":147,"categoryName":148,"taxonomyType":130,"taxonomyTypeDesc":131},"01JBSEEDCAT000000000000030","开发工程师",[150,151,152,153,35,36,30,29,154,26,155,156,157,158,38,40,33,159],"REST","api","wp rest api","debugging","controller","Meta","validation","authentication","shaping","schema",{"skillNo":161,"name":162,"nameZh":6,"description":163,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":164,"categories":165,"keywords":166,"publishedAt":41},"01M6C228355FYPDSH157J7962Z","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\u002FCimo\u002Fblob\u002Fdevelop\u002F.cursor\u002Fskills\u002Fwp-project-triage\u002FSKILL.md",[],[167,168,32,34,35,36,169,170,30,171,172,173,38,40,33,174,26,175,29],"triage","wp project triage","Guardrails","repository","report","core","plugin","version","guide",{"skillNo":177,"name":178,"nameZh":6,"description":179,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":180,"categories":181,"keywords":185,"publishedAt":41},"01M6C225595ZG6MPCRGKA7FSNZ","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\u002FCimo\u002Fblob\u002Fdevelop\u002F.cursor\u002Fskills\u002Fwp-plugin-directory-guidelines\u002FSKILL.md",[182],{"categoryNo":183,"categoryName":184,"taxonomyType":130,"taxonomyTypeDesc":131},"01JBSEEDCAT000000000000037","律师与法务",[186,187,173,188,35,189,190,191,192,193,194,195,40,26],"wp plugin directory guidelines","guidelines","directory","user","question","Rules","why","compliance","plugins","license",{"skillNo":197,"name":198,"nameZh":6,"description":199,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":200,"categories":201,"keywords":203,"publishedAt":41},"01M6C221V1PYQWWN2CVKSDDHC9","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\u002FCimo\u002Fblob\u002Fdevelop\u002F.cursor\u002Fskills\u002Fwp-plugin-development\u002FSKILL.md",[202],{"categoryNo":144,"categoryName":145,"taxonomyType":21,"taxonomyTypeDesc":22},[173,204,205,206,40,33,207,38,208,26,28,29,30,36,151,209,210,211,212,213],"wp plugin development","development","storage","uninstall","packaging","admin","capabilities","release","tasks","architecture",{"skillNo":215,"name":216,"nameZh":6,"description":217,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":218,"categories":219,"keywords":224,"publishedAt":41},"01M6C21YFXNYHM5B9ZN6JGCAJW","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\u002FCimo\u002Fblob\u002Fdevelop\u002F.cursor\u002Fskills\u002Fwp-performance\u002FSKILL.md",[220,221],{"categoryNo":144,"categoryName":145,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":222,"categoryName":223,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",[225,226,151,227,26,228,229,35,230,150,231,232,233,234,235,236,237,40,238,33],"wp performance","performance","backend","profile","profiling","cron","Optimization","server","database","verification","doctor","monitor","http","safe"]