[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M70DBTQBP1BAD6RH3ZM9SPQG":3,"skill-same:01M70DBTQBP1BAD6RH3ZM9SPQG":103},{"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":44,"linkOnly":45,"markdownContent":46,"markdownBody":47,"frontMatter":48,"refName":49,"commitSha":50,"skillDirectory":51,"forksCount":14,"repositoryHtmlUrl":52,"repositoryHomepageUrl":53,"ownerHtmlUrl":54,"ownerBlogUrl":6,"ownerDescription":55,"updatedAt":56,"install":57,"resources":70},"01M70DBTQBP1BAD6RH3ZM9SPQG","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).","Spaghetti-Dojo\u002Ftosuto","Spaghetti-Dojo","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F171473277?v=4","01M70D7HTSB1T6F7P71CN4CA4K","Spaghetti Dojo","01M70D7HVFH1GMH0R0ZFAZRXM6",0,"GPL-2.0","https:\u002F\u002Fgithub.com\u002FSpaghetti-Dojo\u002Ftosuto\u002Fblob\u002Fmain\u002F.claude\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,41,42,43],"themes","block","wp block themes","troubleshooting","site","parts","templates","settings","json","editor","template","style","styles","hierarchy","overrides","caching","when","use","wordpress","theme","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).\"\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},"main","c5c9f6be96a3086970a7b9e89f09a99a9bf5d585",".claude\u002Fskills\u002Fwp-block-themes","https:\u002F\u002Fgithub.com\u002FSpaghetti-Dojo\u002Ftosuto","https:\u002F\u002Fspaghetti-dojo.github.io\u002Ftosuto\u002F","https:\u002F\u002Fgithub.com\u002FSpaghetti-Dojo","A place where to experiment","2026-05-27 16:04:29",{"source":8,"skillName":5,"commands":58,"prompt":68,"zipAvailable":69},[59,62,65],{"tool":60,"command":61},"npx","npx skills add Spaghetti-Dojo\u002Ftosuto --skill wp-block-themes",{"tool":63,"command":64},"bunx","bunx skills add Spaghetti-Dojo\u002Ftosuto --skill wp-block-themes",{"tool":66,"command":67},"pnpm","pnpm dlx skills add Spaghetti-Dojo\u002Ftosuto --skill wp-block-themes","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSpaghetti-Dojo\u002Ftosuto\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwp-block-themes\u002FSKILL.md",true,[71,77,81,85,89,93,97],{"path":72,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":75,"sourceHtmlUrl":76},"references\u002Fcreating-new-block-theme.md","REFERENCE","参考文档",1378,"https:\u002F\u002Fgithub.com\u002FSpaghetti-Dojo\u002Ftosuto\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwp-block-themes\u002Freferences\u002Fcreating-new-block-theme.md",{"path":78,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":79,"sourceHtmlUrl":80},"references\u002Fdebugging.md",721,"https:\u002F\u002Fgithub.com\u002FSpaghetti-Dojo\u002Ftosuto\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwp-block-themes\u002Freferences\u002Fdebugging.md",{"path":82,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":83,"sourceHtmlUrl":84},"references\u002Fpatterns.md",592,"https:\u002F\u002Fgithub.com\u002FSpaghetti-Dojo\u002Ftosuto\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwp-block-themes\u002Freferences\u002Fpatterns.md",{"path":86,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":87,"sourceHtmlUrl":88},"references\u002Fstyle-variations.md",439,"https:\u002F\u002Fgithub.com\u002FSpaghetti-Dojo\u002Ftosuto\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwp-block-themes\u002Freferences\u002Fstyle-variations.md",{"path":90,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":91,"sourceHtmlUrl":92},"references\u002Ftemplates-and-parts.md",442,"https:\u002F\u002Fgithub.com\u002FSpaghetti-Dojo\u002Ftosuto\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwp-block-themes\u002Freferences\u002Ftemplates-and-parts.md",{"path":94,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":95,"sourceHtmlUrl":96},"references\u002Ftheme-json.md",2214,"https:\u002F\u002Fgithub.com\u002FSpaghetti-Dojo\u002Ftosuto\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwp-block-themes\u002Freferences\u002Ftheme-json.md",{"path":98,"resourceType":99,"resourceTypeDesc":100,"sizeBytes":101,"sourceHtmlUrl":102},"scripts\u002Fdetect_block_themes.mjs","SCRIPT","脚本",2736,"https:\u002F\u002Fgithub.com\u002FSpaghetti-Dojo\u002Ftosuto\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwp-block-themes\u002Fscripts\u002Fdetect_block_themes.mjs",[104,118,144,176,197,219],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":111,"publishedAt":44},"01M70DDJXEN0BM5TZPB5GF9TA6","wpds","Use when building UIs leveraging the WordPress Design System (WPDS) and its components, tokens, patterns, etc.","https:\u002F\u002Fgithub.com\u002FSpaghetti-Dojo\u002Ftosuto\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwpds\u002FSKILL.md",[110],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[106,42,112,113,114,41,115,40,116,117],"system","tokens","design","design system","patterns","components",{"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":127,"publishedAt":44},"01M70DDG4PMCJVM2MAH4BQ4F6C","wp-wpcli-and-ops","Use when working with WP-CLI (wp) for WordPress operations: safe search-replace, db export\u002Fimport, plugin\u002Ftheme\u002Fuser\u002Fcontent management, cron, cache flushing, multisite, and scripting\u002Fautomation with wp-cli.yml.","https:\u002F\u002Fgithub.com\u002FSpaghetti-Dojo\u002Ftosuto\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwp-wpcli-and-ops\u002FSKILL.md",[124],{"categoryNo":125,"categoryName":126,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",[128,129,130,43,131,132,42,133,134,41,40,135,136,137,138,139,140,141,142,143],"ops","wp wpcli and ops","import","for","db","search","wp-cli","automation","cache","with","plugin","cli","scripting","operations","safe","export",{"skillNo":145,"name":146,"nameZh":6,"description":147,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":148,"categories":149,"keywords":158,"publishedAt":44},"01M70DDD8SMSRYCT6CMZAZ79V8","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\u002FSpaghetti-Dojo\u002Ftosuto\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwp-rest-api\u002FSKILL.md",[150,153],{"categoryNo":151,"categoryName":152,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000010","后端与接口",{"categoryNo":154,"categoryName":155,"taxonomyType":156,"taxonomyTypeDesc":157},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[159,160,161,162,163,164,42,165,166,167,41,168,169,40,170,171,172,173,174,175],"wp rest api","api","REST","rest api","show","register","authentication","Meta","schema","taxonomies","debugging","route","shaping","controller","endpoints","callback","argument",{"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":182,"publishedAt":44},"01M70DDB298BG7A74YZ3XEWHQY","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\u002FSpaghetti-Dojo\u002Ftosuto\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwp-project-triage\u002FSKILL.md",[],[183,184,185,186,43,187,42,188,189,190,41,191,40,192,193,138,194,32,195,196],"project","wp project triage","triage","deterministic","core","Guardrails","tests","inspection","workflows","you","version","tooling","repository","report",{"skillNo":198,"name":199,"nameZh":6,"description":200,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":201,"categories":202,"keywords":204,"publishedAt":44},"01M70DD924A87SK645B5HKE39A","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\u002FSpaghetti-Dojo\u002Ftosuto\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwp-plugin-development\u002FSKILL.md",[203],{"categoryNo":151,"categoryName":152,"taxonomyType":21,"taxonomyTypeDesc":22},[205,206,207,138,208,42,209,210,41,40,211,212,160,213,214,215,216,31,217,218],"development","plugin development","wp plugin development","uninstall","packaging","hooks","tasks","architecture","capabilities","admin","storage","release","plugins","data storage",{"skillNo":220,"name":221,"nameZh":6,"description":222,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":223,"categories":224,"keywords":225,"publishedAt":44},"01M70DD5JTD6MBJV9KAQBZ5191","wp-playground","Use for WordPress Playground workflows: fast disposable WP instances in the browser or locally via @wp-playground\u002Fcli (server, run-blueprint, build-snapshot), auto-mounting plugins\u002Fthemes, switching WP\u002FPHP versions, blueprints, and debugging (Xdebug).","https:\u002F\u002Fgithub.com\u002FSpaghetti-Dojo\u002Ftosuto\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwp-playground\u002FSKILL.md",[],[226,227,228,131,42,24,229,41,230,231,169,191,232,233,139,234,235,236,237,217],"playground","wp playground","instances","auto","switching","Blueprint","browser","server","via","build","run","snapshot"]