[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6GKHPM81JMV37C8CZ04ECSZ":3,"skill-same:01M6GKHPM81JMV37C8CZ04ECSZ":67},{"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":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":48,"repositoryHtmlUrl":49,"repositoryHomepageUrl":50,"ownerHtmlUrl":51,"ownerBlogUrl":52,"ownerDescription":6,"updatedAt":53,"install":54,"resources":66},"01M6GKHPM81JMV37C8CZ04ECSZ","creator",null,"Use when the person runs the creator command to turn a Figma frame, an HTML file or a URL into a WordPress page on the Roots stack - routes the source, runs the ingest, builds and checks the match plan, and stops for approval before anything is emitted. Resumes a run with --run=.creator\u002F\u003Crun>. For one step on its own use html-ingest, figma-ingest, section-matching, block-scaffolding-from-design or visual-fidelity.","hekivo\u002Fkivo-wise","hekivo","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F278159278?v=4","01M6GKH8S3Z4CAJ9RRR607G1WJ","Hekivo","01M6GKH8XNM7HTVF4DC86MA8RG",14,"MIT","https:\u002F\u002Fgithub.com\u002Fhekivo\u002Fkivo-wise\u002Fblob\u002Fmain\u002Fplugins\u002Fkivo-creator\u002Fskills\u002Fcreator\u002FSKILL.md",[],[5,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"ingest","true","URL","with","sources","project","visual","scaffolding","runner","design","use","page","file","figma","official","playwright","mcp server","wordpress","MCP","2026-11-10 10:12:30",false,"---\nname: creator\ndescription: Use when the person runs the creator command to turn a Figma frame, an HTML file or a URL into a WordPress page on the Roots stack - routes the source, runs the ingest, builds and checks the match plan, and stops for approval before anything is emitted. Resumes a run with --run=.creator\u002F\u003Crun>. For one step on its own use html-ingest, figma-ingest, section-matching, block-scaffolding-from-design or visual-fidelity.\ndisable-model-invocation: true\nlicense: MIT\ncompatibility: Requires the kivo-wise plugin (stack detection, runner context). Node 20+; Playwright in the target project for HTML sources and verification; the official Figma MCP server for Figma sources.\n---\n\n# \u002Fcreator\n\nArguments: `\u003Cfigma.com URL | file.html | https URL>` or `--run=.creator\u002F\u003Crun>` to resume.\n\n## When to use\n\n- The person typed the command with a source or a run folder.\n- Never start it on your own; the individual skills cover single steps.\n\n## Inputs required\n\n1. A source (Figma frame URL with `node-id`, an `.html` file or an `http(s)` URL), or an existing run folder.\n2. The target stack: `.roots-stack.json` at the project root. If it is missing, run kivo-wise `\u002Froots-detect --write` first (or ask the person).\n3. The kivo-creator plugin root (two levels above this skill's folder).\n\n## Procedure\n\n1. **Route the source.** `figma.com\u002Fdesign\u002F...` or `figma.com\u002Ffile\u002F...` → `figma-ingest`. A path ending in `.html` or an `http(s)` URL → `html-ingest`. `--run=` → skip to step 3 with that folder. Anything else: ask. There is no fallback: if the Figma MCP server is missing, stop with the instructions from `figma-ingest`.\n2. **Ingest** with the routed skill. It ends with valid specs in `.creator\u002F\u003Crun>\u002Fspecs\u002F`.\n3. **Match** with `section-matching` until `node \u003Ckivo-creator>\u002Fscripts\u002Fmatch.mjs --run=.creator\u002F\u003Crun> --check --project=.` passes.\n   - **Block type for new blocks.** New blocks follow the project's existing pattern: ACF Composer projects get ACF blocks, `block.json` projects get native blocks, whatever the profile. `match.mjs` prints `blockType` (also in `match-plan.json` and `match-plan.md`). `creator.blocks` in `.roots-stack.json` wins (`source: \"override\"`); otherwise the count of existing blocks decides when one type holds at least 80% (`source: \"count\"`).\n   - When `blockType.type` is `null` and the plan scaffolds anything, ask the person **once**: for `reason: \"mixed\"` show `counts` and ask which type new blocks use; for `reason: \"none\"` recommend `blockType.recommended` (the profile default). Then offer to record the answer: `node \u003Ckivo-creator>\u002Fscripts\u002Fblock-type.mjs --set=\u003Cacf|native> --project=.` writes `\"creator\": { \"blocks\": \"\u003Ctype>\" }` into `.roots-stack.json` and keeps its other keys. If the person does not want it recorded, pass `--blocks=\u003Ctype>` to `match.mjs --check` and later to `emit.mjs` (`source: \"asked\"`). Never pick the type yourself.\n4. **Stop.** Show `.creator\u002F\u003Crun>\u002Fmatch-plan.md`, the gaps and any question still open, and ask the person to approve the plan. Do not emit, scaffold or edit project files in this turn.\n5. After the person approves (a later message): `block-scaffolding-from-design`, then `visual-fidelity` (at most three fix rounds). Finish with the fidelity report.\n\n## Verification\n\n- At the stop point the working tree of the project is unchanged apart from `.creator\u002F` (`git status`).\n- `match.mjs --check` passes on the plan you show.\n\n## Failure modes\n\n| Symptom | Cause | Fix |\n|---|---|---|\n| No profile found | No `.roots-stack.json` and no detector output | Run kivo-wise `\u002Froots-detect --write`, then resume with `--run=` |\n| Figma tools unavailable | The Figma MCP server is not connected in this session | Stop; follow the connection steps in `figma-ingest` |\n| Plan check fails | Open or invalid decisions | Finish `section-matching` before stopping |\n| `New blocks need a block type` | Mixed project (neither type reaches 80%) or no blocks yet, and no `creator.blocks` | Ask the person once; record with `block-type.mjs --set=` or pass `--blocks=` |\n| `creator.blocks must be \"acf\" or \"native\"` | Invalid value in `.roots-stack.json` | Fix the value (or remove the key to go back to counting) |\n| Files appear in the project before approval | Emit started too early | Revert them; emitting waits for approval |\n\n## Escalation\n\nEvery run stops at the match plan for the person's approval. Ask again before emitting if the plan changed after it was approved.\n","# \u002Fcreator\n\nArguments: `\u003Cfigma.com URL | file.html | https URL>` or `--run=.creator\u002F\u003Crun>` to resume.\n\n## When to use\n\n- The person typed the command with a source or a run folder.\n- Never start it on your own; the individual skills cover single steps.\n\n## Inputs required\n\n1. A source (Figma frame URL with `node-id`, an `.html` file or an `http(s)` URL), or an existing run folder.\n2. The target stack: `.roots-stack.json` at the project root. If it is missing, run kivo-wise `\u002Froots-detect --write` first (or ask the person).\n3. The kivo-creator plugin root (two levels above this skill's folder).\n\n## Procedure\n\n1. **Route the source.** `figma.com\u002Fdesign\u002F...` or `figma.com\u002Ffile\u002F...` → `figma-ingest`. A path ending in `.html` or an `http(s)` URL → `html-ingest`. `--run=` → skip to step 3 with that folder. Anything else: ask. There is no fallback: if the Figma MCP server is missing, stop with the instructions from `figma-ingest`.\n2. **Ingest** with the routed skill. It ends with valid specs in `.creator\u002F\u003Crun>\u002Fspecs\u002F`.\n3. **Match** with `section-matching` until `node \u003Ckivo-creator>\u002Fscripts\u002Fmatch.mjs --run=.creator\u002F\u003Crun> --check --project=.` passes.\n   - **Block type for new blocks.** New blocks follow the project's existing pattern: ACF Composer projects get ACF blocks, `block.json` projects get native blocks, whatever the profile. `match.mjs` prints `blockType` (also in `match-plan.json` and `match-plan.md`). `creator.blocks` in `.roots-stack.json` wins (`source: \"override\"`); otherwise the count of existing blocks decides when one type holds at least 80% (`source: \"count\"`).\n   - When `blockType.type` is `null` and the plan scaffolds anything, ask the person **once**: for `reason: \"mixed\"` show `counts` and ask which type new blocks use; for `reason: \"none\"` recommend `blockType.recommended` (the profile default). Then offer to record the answer: `node \u003Ckivo-creator>\u002Fscripts\u002Fblock-type.mjs --set=\u003Cacf|native> --project=.` writes `\"creator\": { \"blocks\": \"\u003Ctype>\" }` into `.roots-stack.json` and keeps its other keys. If the person does not want it recorded, pass `--blocks=\u003Ctype>` to `match.mjs --check` and later to `emit.mjs` (`source: \"asked\"`). Never pick the type yourself.\n4. **Stop.** Show `.creator\u002F\u003Crun>\u002Fmatch-plan.md`, the gaps and any question still open, and ask the person to approve the plan. Do not emit, scaffold or edit project files in this turn.\n5. After the person approves (a later message): `block-scaffolding-from-design`, then `visual-fidelity` (at most three fix rounds). Finish with the fidelity report.\n\n## Verification\n\n- At the stop point the working tree of the project is unchanged apart from `.creator\u002F` (`git status`).\n- `match.mjs --check` passes on the plan you show.\n\n## Failure modes\n\n| Symptom | Cause | Fix |\n|---|---|---|\n| No profile found | No `.roots-stack.json` and no detector output | Run kivo-wise `\u002Froots-detect --write`, then resume with `--run=` |\n| Figma tools unavailable | The Figma MCP server is not connected in this session | Stop; follow the connection steps in `figma-ingest` |\n| Plan check fails | Open or invalid decisions | Finish `section-matching` before stopping |\n| `New blocks need a block type` | Mixed project (neither type reaches 80%) or no blocks yet, and no `creator.blocks` | Ask the person once; record with `block-type.mjs --set=` or pass `--blocks=` |\n| `creator.blocks must be \"acf\" or \"native\"` | Invalid value in `.roots-stack.json` | Fix the value (or remove the key to go back to counting) |\n| Files appear in the project before approval | Emit started too early | Revert them; emitting waits for approval |\n\n## Escalation\n\nEvery run stops at the match plan for the person's approval. Ask again before emitting if the plan changed after it was approved.\n",{"name":5,"license":15,"description":7,"compatibility":43,"disable-model-invocation":44},"Requires the kivo-wise plugin (stack detection, runner context). Node 20+; Playwright in the target project for HTML sources and verification; the official Figma MCP server for Figma sources.",true,"main","4045a2f672c1d4c1b4a5a5712b468c5d73ca6724","plugins\u002Fkivo-creator\u002Fskills\u002Fcreator",0,"https:\u002F\u002Fgithub.com\u002Fhekivo\u002Fkivo-wise","https:\u002F\u002Fhekivo.github.io\u002Fkivo-wise\u002F","https:\u002F\u002Fgithub.com\u002Fhekivo","https:\u002F\u002Fhekivo.dev","2026-11-08 06:10:39",{"source":8,"skillName":5,"commands":55,"prompt":65,"zipAvailable":44},[56,59,62],{"tool":57,"command":58},"npx","npx skills add hekivo\u002Fkivo-wise --skill creator",{"tool":60,"command":61},"bunx","bunx skills add hekivo\u002Fkivo-wise --skill creator",{"tool":63,"command":64},"pnpm","pnpm dlx skills add hekivo\u002Fkivo-wise --skill creator","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhekivo\u002Fkivo-wise\u002Fblob\u002Fmain\u002Fplugins\u002Fkivo-creator\u002Fskills\u002Fcreator\u002FSKILL.md",[],[68,92,108,129,148,168],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":38},"01M6GKWJDFKQM27HTFXX20QVTP","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\u002Fhekivo\u002Fkivo-wise\u002Fblob\u002Fmain\u002Fthird-party\u002Fwp-rest-api\u002FSKILL.md",[],[75,76,77,78,36,79,80,81,82,83,84,85,86,29,87,88,89,90,22,91],"REST","api","wp rest api","rest api","workflows","debugging","authentication","Meta","controller","Bash","shaping","filesystem","schema","show","route","register","wp-cli",{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":38},"01M6GKWEA5BMJZ2RPPEEJTCC3N","wp-abilities-api","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.","https:\u002F\u002Fgithub.com\u002Fhekivo\u002Fkivo-wise\u002Fblob\u002Fmain\u002Fthird-party\u002Fwp-abilities-api\u002FSKILL.md",[],[76,99,100,36,79,101,82,75,84,102,103,86,104,29,90,105,106,22,107,91],"wp abilities api","cli","permissions","php","json","node","targets","clients","categories",{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":38},"01M6GKWA4GG2BZRFXCR9E73VR7","wp-security-escaping","Use when writing or reviewing code that outputs data, handles input or checks permissions in a WordPress + Acorn project - Blade {{ }} vs {!! !!}, esc_html, esc_attr, esc_url, wp_kses_post, \"&#038; in the URL\", double escaping, sanitize_text_field, nonces, current_user_can, map_meta_cap, permission_callback, $wpdb->prepare, whereRaw, file uploads, escaping ACF values, secrets in .env. For route middleware use acorn-routes-api; for ACF validation use acf-native; for Livewire actions use acorn-livewire.","https:\u002F\u002Fgithub.com\u002Fhekivo\u002Fkivo-wise\u002Fblob\u002Fmain\u002Fskills\u002Fwp-security-escaping\u002FSKILL.md",[],[115,116,117,118,119,101,120,82,76,121,122,123,124,89,125,24,126,127,21,128],"security","wp security","wp security escaping","writing","code","actions","secrets","livewire","text","cap","map","middleware","native","routes-api",{"skillNo":130,"name":131,"nameZh":6,"description":132,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":133,"categories":134,"keywords":135,"publishedAt":38},"01M6GKW6VVY73BMZ3JNDMR4CWZ","wp-phpstan","Use when configuring, running or fixing PHPStan in a WordPress project that uses Acorn - phpstan.neon, baseline, szepeviktor\u002Fphpstan-wordpress stubs, larastan, level raising, \"Cannot access property on mixed\", get_field() types, paths for app\u002F. For Pint or Mago formatting use testing-wp; for runtime errors use roots-debugging.","https:\u002F\u002Fgithub.com\u002Fhekivo\u002Fkivo-wise\u002Fblob\u002Fmain\u002Fskills\u002Fwp-phpstan\u002FSKILL.md",[],[136,137,36,80,138,139,29,24,140,141,142,143,144,145,146,147],"wp phpstan","testing","baseline","access","get","neon","runtime","formatting","app","paths","types","errors",{"skillNo":149,"name":150,"nameZh":6,"description":151,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":152,"categories":153,"keywords":154,"publishedAt":38},"01M6GKW3JRSRS9N112QFA3SEGT","wp-performance","Use when a WordPress page, query or request is slow or needs profiling - TTFB, slow or N+1 queries, Query Monitor, Server-Timing, wp profile and wp doctor, autoloaded options, Redis object cache hit rate, transients, WP_CACHE_KEY_SALT. Adds the runner and Redis notes on top of the official procedure. For Eloquent query design use acorn-data; for PHP type errors use wp-phpstan.","https:\u002F\u002Fgithub.com\u002Fhekivo\u002Fkivo-wise\u002Fblob\u002Fmain\u002Fskills\u002Fwp-performance\u002FSKILL.md",[],[155,156,28,36,157,33,158,159,160,161,162,163,30,29,164,27,165,166,167,147],"performance","wp performance","query design","notes","monitor","doctor","cache","server","redis","queries","query","type","timing",{"skillNo":169,"name":170,"nameZh":6,"description":171,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":172,"categories":173,"keywords":174,"publishedAt":38},"01M6GKVZN243XQB5QWZ5ZKMG7P","wp-hooks-lifecycle","Use when adding, moving or debugging WordPress actions and filters in an Acorn project - add_action\u002Fadd_filter priority and accepted_args, where a hook belongs (setup or filters files vs a provider boot()), load order (mu-plugins, plugins_loaded, after_setup_theme, init), when Acorn boots per profile, hooks that never fire on Acorn routes, REST or Livewire requests (template_redirect, wp_head), save_post firing twice in the block editor, the_content priorities. For ACF hooks use acf-native; for provider structure use acorn-stack.","https:\u002F\u002Fgithub.com\u002Fhekivo\u002Fkivo-wise\u002Fblob\u002Fmain\u002Fskills\u002Fwp-hooks-lifecycle\u002FSKILL.md",[],[175,176,177,36,178,179,80,120,75,180,122,29,181,182,183,184,185,24,186,187],"lifecycle","hooks","wp hooks lifecycle","init","boot","stack","never","filters","files","provider","structure","filter","theme"]