[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6GKN2E3AWRRT4CK3PMEYTF4":3,"skill-same:01M6GKN2E3AWRRT4CK3PMEYTF4":84},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":48,"repositoryHtmlUrl":49,"repositoryHomepageUrl":50,"ownerHtmlUrl":51,"ownerBlogUrl":52,"ownerDescription":6,"updatedAt":53,"install":54,"resources":67},"01M6GKN2E3AWRRT4CK3PMEYTF4","roots-triage",null,"Use when you need to know what kind of project the working directory is (Sage theme, Acorn mu-plugin, Radicle, Bedrock, plain WordPress), when the session context is missing or contradicts the files, when there is no .roots-stack.json, or when a detector warning (ACORN_BASEPATH, misplaced env_file, truncated scan, flag drift) needs explaining. Runs scripts\u002Fdetect-roots-project.mjs and writes .roots-stack.json. For choosing a skill after triage use roots-router; for Lando commands use lando-wp.","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-wise\u002Fskills\u002Froots-triage\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"triage","roots triage","scan","wordpress","read-only","you","theme","bedrock","missing","project","drift","file","session context","files","only","never","use","session","filesystem","Bash","2026-11-10 10:12:30",false,"---\nname: roots-triage\ndescription: Use when you need to know what kind of project the working directory is (Sage theme, Acorn mu-plugin, Radicle, Bedrock, plain WordPress), when the session context is missing or contradicts the files, when there is no .roots-stack.json, or when a detector warning (ACORN_BASEPATH, misplaced env_file, truncated scan, flag drift) needs explaining. Runs scripts\u002Fdetect-roots-project.mjs and writes .roots-stack.json. For choosing a skill after triage use roots-router; for Lando commands use lando-wp.\nlicense: MIT\ncompatibility: Filesystem agent with bash and node 20+; the detector is read-only and never runs project commands.\n---\n\n# Roots triage\n\nDeterministic classification of a Roots-stack project: run the detector, read its JSON, act on the warnings, pin the result in a flag file.\n\n## When to use\n\n- No session context names a profile, or the context disagrees with the files in front of you.\n- The request needs facts the detector owns: layout, core directory, Acorn apps and their namespaces, package versions, runner commands, Lando tooling names.\n- A warning from the detector needs explaining or fixing.\n- A project should stop relying on heuristics: write `.roots-stack.json`.\n- Not for: deciding which skill handles the request (that is `roots-router`), or running `lando` itself (`lando-wp`).\n\n## Inputs required\n\n- The project root (defaults to the working directory; pass `--path=\u003Cdir>` otherwise).\n- Read access to `composer.json`, `composer.lock`, `.lando.yml` and companions (`.lando.base.yml`, `.lando.dist.yml`, `.lando.upstream.yml`, `.lando.local.yml`), `wp-cli.yml`, `.roots-stack.json`, theme `style.css` and plugin headers.\n- The plugin root: the directory that contains `skills\u002F` and `scripts\u002F`. Nothing else; no network, no containers.\n\n## Procedure\n\n1. **Run the detector from the plugin root.**\n\n   ```bash\n   node scripts\u002Fdetect-roots-project.mjs --path=\u002Fabs\u002Fpath\u002Fto\u002Fproject            # JSON (default)\n   node scripts\u002Fdetect-roots-project.mjs --path=\u002Fabs\u002Fpath\u002Fto\u002Fproject --format=text  # compact table\n   ```\n\n   Without `--path=` the working directory is the project root. The same file name exists inside this skill folder (`scripts\u002Fdetect-roots-project.mjs`) as a wrapper that forwards to the plugin-root copy, so the relative path works from either place. The script exits 0 always; absence becomes `null` plus an entry in `notes`.\n\n2. **Read the top level first:** `layout`, `coreDir`, `apps.length`, `active`, `runtime.runner`, `flag`, `warnings`, `truncated`. The shape is fixed by [references\u002Ftriage.schema.json](references\u002Ftriage.schema.json); the meaning of every field is in [references\u002Foutput-fields.md](references\u002Foutput-fields.md).\n\n   | Field | Read it as |\n   |---|---|\n   | `layout` | `radicle` \u002F `bedrock` \u002F `composer-wordpress` \u002F `plain-wordpress` \u002F `unknown` - where core and content live |\n   | `coreDir` | the local WordPress source; never edit it, always read it to verify native behaviour |\n   | `apps[active].kind` | the profile: `sage-theme`, `acorn-mu-plugin`, `radicle-app` (or `acorn-theme`, `acorn-plugin`, `acorn-unknown`) |\n   | `apps[active].path`, `.namespace`, `.basePathHint`, `.boot`, `.providers`, `.blocks`, `.postTypes`, `.versions` | where the code is, how it boots, which mechanisms are in use, which versions to document against |\n   | `site.versions`, `site.wpCli` | site-wide versions (`roots\u002Fwordpress`, ACF Pro) and where WP-CLI expects core |\n   | `runtime.runners` | the only commands you may suggest: `wp`, `acorn`, `composer`, `node`, `test`, `lint`, `cache`, `logs` |\n   | `flag` | the committed decision; when present it overrides `apps` for routing |\n\n3. **Act on each warning.** Warnings are plain sentences; match them by what they mention.\n\n   | Warning mentions | Meaning | Action |\n   |---|---|---|\n   | an Acorn app without `ACORN_BASEPATH` while a theme has `composer.json` | Acorn may infer the theme as base path, so the plugin's `config\u002F`, views and storage resolve to the wrong directory | Define `ACORN_BASEPATH` or pass the path to `Application::configure()` in the plugin's boot file; re-run the detector |\n   | `env_file` under `config:` \u002F `misplacedEnvFile` | Lando only injects the top-level `env_file` list; nested, it is dropped silently | Move `env_file` to the top level of `.lando.yml` and rebuild, or confirm PHP loads `.env` itself (then the variables exist for PHP but not for tooling) |\n   | flag vs detected app (drift) | `.roots-stack.json` names a profile or path the heuristics no longer find | Fix the flag (or the project); until then the flag still wins |\n   | two apps booting, or a second app with `wordpress: true` routing | Double boot: two Acorn applications fight for hooks and request routing | Keep one booted app, or make the second one a library |\n   | `tailwind.config.js` next to Tailwind 4 | Stale v3 configuration; v4 reads `@theme` from CSS | Remove or migrate the file into CSS |\n   | Blade views outside the theme with an older `roots\u002Facorn` | Template resolution for non-theme views needs a newer Acorn on recent WordPress | Upgrade `roots\u002Facorn` in the app's `composer.json` |\n   | `truncated` | The walk hit depth 4 or 5,000 files | Narrow with `--path=` to the app, or write the flag file so the walk is not needed |\n   | `runner: none` | No `.lando.yml` or `.ddev\u002F` found | Commands run on the host; say so explicitly and prefer the project's documented wrapper |\n   | `layout: unknown` and no apps | Not a Roots project, or the signals live deeper than the walk | Ask the user; do not guess a profile |\n\n4. **Pin the result.** When the classification is right, propose committing `.roots-stack.json` at the project root:\n\n   ```json\n   { \"profile\": \"acorn-mu-plugin\", \"app\": \"wp-content\u002Fmu-plugins\u002F\u003Cplugin>\", \"runner\": \"lando\", \"corpus\": [\"~\u002Fhekivo\u002Fkivo-wisdom\u002Fcorpus\"] }\n   ```\n\n   `profile` is one of `sage-theme`, `acorn-mu-plugin`, `radicle-app`; `app` is relative to the root (`.` for Radicle); `runner` is `lando`, `ddev` or `none`; `corpus` is optional. The same keys are accepted under `extra.roots-stack` in the root `composer.json`. The flag wins over heuristics, and the detector keeps computing `apps` so it can warn about drift. Writing the file is the user's decision: show the content and the reason.\n\n5. **Hand back to routing.** Report profile, app path, namespace, runners and open warnings in one line, then continue with `roots-router`.\n\n## Verification\n\n- The command exits 0 and prints one JSON document that has every required top-level key of `references\u002Ftriage.schema.json` (`tool`, `root`, `layout`, `coreDir`, `apps`, `active`, `site`, `runtime`, `flag`, `warnings`, `notes`, `truncated`).\n- `apps[active].kind` is one of the three routed profiles, or you asked the user which it should be.\n- `flag`, when present, agrees with `apps[active]` (no drift warning).\n- `truncated` is `false`, or you explained why it is acceptable.\n- `--format=text` prints the compact line that matches what the session context shows.\n\n## Failure modes\n\n| Symptom | Cause | Fix |\n|---|---|---|\n| `detector not found` JSON from the wrapper | The skill wrapper could not find `scripts\u002Fdetect-roots-project.mjs` at the plugin root | Run the command from the plugin root; check the plugin installation is complete |\n| `apps` is empty on a Roots project | The app sits deeper than depth 4, or its `composer.json` does not require `roots\u002Facorn` | Run with `--path=` pointing at the app, or write `.roots-stack.json` |\n| Wrong `active` app (theme chosen over the mu-plugin) | The working directory is inside the theme and no flag exists | Write the flag file; the flag overrides the \"contains cwd\" rule |\n| `runtime.lando` is `null` although `.lando.yml` exists | The YAML subset parser gave up (see `notes`) | Simplify the construct it names, or read the Landofile by hand for that session |\n| `coreDir` is `null` on `composer-wordpress` | `extra.wordpress-install-dir` missing and no `wp-includes\u002Fversion.php` found | Read `wp-cli.yml` `path:`; set `wordpress-install-dir` in the root `composer.json` |\n| Classification flips between runs | `.lando.local.yml` or an untracked flag file differs between machines | Commit `.roots-stack.json`; keep personal overrides out of it |\n| Script throws or prints a stack trace | Contract violation (it must never throw) | Report the input tree and the message; fall back to reading the files by hand |\n\n## Escalation\n\n- A field or warning you cannot interpret: read `references\u002Foutput-fields.md`; if it is still unclear, the detector's `notes` name the file it read.\n- The detector contradicts the project's own documentation: the project documentation wins for this session; file the discrepancy with the project maintainers and, if the detector is wrong, with the plugin.\n- Classification needs human knowledge (brand-new layout, custom boot): ask one question - theme, must-use plugin or repository root? - and pin the answer in `.roots-stack.json`.\n","# Roots triage\n\nDeterministic classification of a Roots-stack project: run the detector, read its JSON, act on the warnings, pin the result in a flag file.\n\n## When to use\n\n- No session context names a profile, or the context disagrees with the files in front of you.\n- The request needs facts the detector owns: layout, core directory, Acorn apps and their namespaces, package versions, runner commands, Lando tooling names.\n- A warning from the detector needs explaining or fixing.\n- A project should stop relying on heuristics: write `.roots-stack.json`.\n- Not for: deciding which skill handles the request (that is `roots-router`), or running `lando` itself (`lando-wp`).\n\n## Inputs required\n\n- The project root (defaults to the working directory; pass `--path=\u003Cdir>` otherwise).\n- Read access to `composer.json`, `composer.lock`, `.lando.yml` and companions (`.lando.base.yml`, `.lando.dist.yml`, `.lando.upstream.yml`, `.lando.local.yml`), `wp-cli.yml`, `.roots-stack.json`, theme `style.css` and plugin headers.\n- The plugin root: the directory that contains `skills\u002F` and `scripts\u002F`. Nothing else; no network, no containers.\n\n## Procedure\n\n1. **Run the detector from the plugin root.**\n\n   ```bash\n   node scripts\u002Fdetect-roots-project.mjs --path=\u002Fabs\u002Fpath\u002Fto\u002Fproject            # JSON (default)\n   node scripts\u002Fdetect-roots-project.mjs --path=\u002Fabs\u002Fpath\u002Fto\u002Fproject --format=text  # compact table\n   ```\n\n   Without `--path=` the working directory is the project root. The same file name exists inside this skill folder (`scripts\u002Fdetect-roots-project.mjs`) as a wrapper that forwards to the plugin-root copy, so the relative path works from either place. The script exits 0 always; absence becomes `null` plus an entry in `notes`.\n\n2. **Read the top level first:** `layout`, `coreDir`, `apps.length`, `active`, `runtime.runner`, `flag`, `warnings`, `truncated`. The shape is fixed by [references\u002Ftriage.schema.json](references\u002Ftriage.schema.json); the meaning of every field is in [references\u002Foutput-fields.md](references\u002Foutput-fields.md).\n\n   | Field | Read it as |\n   |---|---|\n   | `layout` | `radicle` \u002F `bedrock` \u002F `composer-wordpress` \u002F `plain-wordpress` \u002F `unknown` - where core and content live |\n   | `coreDir` | the local WordPress source; never edit it, always read it to verify native behaviour |\n   | `apps[active].kind` | the profile: `sage-theme`, `acorn-mu-plugin`, `radicle-app` (or `acorn-theme`, `acorn-plugin`, `acorn-unknown`) |\n   | `apps[active].path`, `.namespace`, `.basePathHint`, `.boot`, `.providers`, `.blocks`, `.postTypes`, `.versions` | where the code is, how it boots, which mechanisms are in use, which versions to document against |\n   | `site.versions`, `site.wpCli` | site-wide versions (`roots\u002Fwordpress`, ACF Pro) and where WP-CLI expects core |\n   | `runtime.runners` | the only commands you may suggest: `wp`, `acorn`, `composer`, `node`, `test`, `lint`, `cache`, `logs` |\n   | `flag` | the committed decision; when present it overrides `apps` for routing |\n\n3. **Act on each warning.** Warnings are plain sentences; match them by what they mention.\n\n   | Warning mentions | Meaning | Action |\n   |---|---|---|\n   | an Acorn app without `ACORN_BASEPATH` while a theme has `composer.json` | Acorn may infer the theme as base path, so the plugin's `config\u002F`, views and storage resolve to the wrong directory | Define `ACORN_BASEPATH` or pass the path to `Application::configure()` in the plugin's boot file; re-run the detector |\n   | `env_file` under `config:` \u002F `misplacedEnvFile` | Lando only injects the top-level `env_file` list; nested, it is dropped silently | Move `env_file` to the top level of `.lando.yml` and rebuild, or confirm PHP loads `.env` itself (then the variables exist for PHP but not for tooling) |\n   | flag vs detected app (drift) | `.roots-stack.json` names a profile or path the heuristics no longer find | Fix the flag (or the project); until then the flag still wins |\n   | two apps booting, or a second app with `wordpress: true` routing | Double boot: two Acorn applications fight for hooks and request routing | Keep one booted app, or make the second one a library |\n   | `tailwind.config.js` next to Tailwind 4 | Stale v3 configuration; v4 reads `@theme` from CSS | Remove or migrate the file into CSS |\n   | Blade views outside the theme with an older `roots\u002Facorn` | Template resolution for non-theme views needs a newer Acorn on recent WordPress | Upgrade `roots\u002Facorn` in the app's `composer.json` |\n   | `truncated` | The walk hit depth 4 or 5,000 files | Narrow with `--path=` to the app, or write the flag file so the walk is not needed |\n   | `runner: none` | No `.lando.yml` or `.ddev\u002F` found | Commands run on the host; say so explicitly and prefer the project's documented wrapper |\n   | `layout: unknown` and no apps | Not a Roots project, or the signals live deeper than the walk | Ask the user; do not guess a profile |\n\n4. **Pin the result.** When the classification is right, propose committing `.roots-stack.json` at the project root:\n\n   ```json\n   { \"profile\": \"acorn-mu-plugin\", \"app\": \"wp-content\u002Fmu-plugins\u002F\u003Cplugin>\", \"runner\": \"lando\", \"corpus\": [\"~\u002Fhekivo\u002Fkivo-wisdom\u002Fcorpus\"] }\n   ```\n\n   `profile` is one of `sage-theme`, `acorn-mu-plugin`, `radicle-app`; `app` is relative to the root (`.` for Radicle); `runner` is `lando`, `ddev` or `none`; `corpus` is optional. The same keys are accepted under `extra.roots-stack` in the root `composer.json`. The flag wins over heuristics, and the detector keeps computing `apps` so it can warn about drift. Writing the file is the user's decision: show the content and the reason.\n\n5. **Hand back to routing.** Report profile, app path, namespace, runners and open warnings in one line, then continue with `roots-router`.\n\n## Verification\n\n- The command exits 0 and prints one JSON document that has every required top-level key of `references\u002Ftriage.schema.json` (`tool`, `root`, `layout`, `coreDir`, `apps`, `active`, `site`, `runtime`, `flag`, `warnings`, `notes`, `truncated`).\n- `apps[active].kind` is one of the three routed profiles, or you asked the user which it should be.\n- `flag`, when present, agrees with `apps[active]` (no drift warning).\n- `truncated` is `false`, or you explained why it is acceptable.\n- `--format=text` prints the compact line that matches what the session context shows.\n\n## Failure modes\n\n| Symptom | Cause | Fix |\n|---|---|---|\n| `detector not found` JSON from the wrapper | The skill wrapper could not find `scripts\u002Fdetect-roots-project.mjs` at the plugin root | Run the command from the plugin root; check the plugin installation is complete |\n| `apps` is empty on a Roots project | The app sits deeper than depth 4, or its `composer.json` does not require `roots\u002Facorn` | Run with `--path=` pointing at the app, or write `.roots-stack.json` |\n| Wrong `active` app (theme chosen over the mu-plugin) | The working directory is inside the theme and no flag exists | Write the flag file; the flag overrides the \"contains cwd\" rule |\n| `runtime.lando` is `null` although `.lando.yml` exists | The YAML subset parser gave up (see `notes`) | Simplify the construct it names, or read the Landofile by hand for that session |\n| `coreDir` is `null` on `composer-wordpress` | `extra.wordpress-install-dir` missing and no `wp-includes\u002Fversion.php` found | Read `wp-cli.yml` `path:`; set `wordpress-install-dir` in the root `composer.json` |\n| Classification flips between runs | `.lando.local.yml` or an untracked flag file differs between machines | Commit `.roots-stack.json`; keep personal overrides out of it |\n| Script throws or prints a stack trace | Contract violation (it must never throw) | Report the input tree and the message; fall back to reading the files by hand |\n\n## Escalation\n\n- A field or warning you cannot interpret: read `references\u002Foutput-fields.md`; if it is still unclear, the detector's `notes` name the file it read.\n- The detector contradicts the project's own documentation: the project documentation wins for this session; file the discrepancy with the project maintainers and, if the detector is wrong, with the plugin.\n- Classification needs human knowledge (brand-new layout, custom boot): ask one question - theme, must-use plugin or repository root? - and pin the answer in `.roots-stack.json`.\n",{"name":5,"license":15,"description":7,"compatibility":44},"Filesystem agent with bash and node 20+; the detector is read-only and never runs project commands.","main","4045a2f672c1d4c1b4a5a5712b468c5d73ca6724","plugins\u002Fkivo-wise\u002Fskills\u002Froots-triage",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":66},[56,59,62],{"tool":57,"command":58},"npx","npx skills add hekivo\u002Fkivo-wise --skill roots-triage",{"tool":60,"command":61},"bunx","bunx skills add hekivo\u002Fkivo-wise --skill roots-triage",{"tool":63,"command":64},"pnpm","pnpm dlx skills add hekivo\u002Fkivo-wise --skill roots-triage","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhekivo\u002Fkivo-wise\u002Fblob\u002Fmain\u002Fplugins\u002Fkivo-wise\u002Fskills\u002Froots-triage\u002FSKILL.md",true,[68,74,78],{"path":69,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":72,"sourceHtmlUrl":73},"references\u002Foutput-fields.md","REFERENCE","参考文档",5236,"https:\u002F\u002Fgithub.com\u002Fhekivo\u002Fkivo-wise\u002Fblob\u002Fmain\u002Fplugins\u002Fkivo-wise\u002Fskills\u002Froots-triage\u002Freferences\u002Foutput-fields.md",{"path":75,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":76,"sourceHtmlUrl":77},"references\u002Ftriage.schema.json",6398,"https:\u002F\u002Fgithub.com\u002Fhekivo\u002Fkivo-wise\u002Fblob\u002Fmain\u002Fplugins\u002Fkivo-wise\u002Fskills\u002Froots-triage\u002Freferences\u002Ftriage.schema.json",{"path":79,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":82,"sourceHtmlUrl":83},"scripts\u002Fdetect-roots-project.mjs","SCRIPT","脚本",1043,"https:\u002F\u002Fgithub.com\u002Fhekivo\u002Fkivo-wise\u002Fblob\u002Fmain\u002Fplugins\u002Fkivo-wise\u002Fskills\u002Froots-triage\u002Fscripts\u002Fdetect-roots-project.mjs",[85,108,124,146,165,189],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":39},"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",[],[92,93,94,95,22,96,97,98,99,100,38,101,37,35,102,103,104,105,106,107],"REST","api","wp rest api","rest api","workflows","debugging","authentication","Meta","controller","shaping","schema","show","route","register","with","wp-cli",{"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":39},"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",[],[93,115,116,22,96,117,99,92,38,118,119,37,120,35,105,121,122,106,123,107],"wp abilities api","cli","permissions","php","json","node","targets","clients","categories",{"skillNo":125,"name":126,"nameZh":6,"description":127,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":39},"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",[],[131,132,133,134,135,117,136,99,93,137,138,139,140,104,141,28,142,143,144,145],"security","wp security","wp security escaping","writing","code","actions","secrets","livewire","text","cap","map","middleware","native","URL","routes-api",{"skillNo":147,"name":148,"nameZh":6,"description":149,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":150,"categories":151,"keywords":152,"publishedAt":39},"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",[],[153,154,22,97,155,156,35,28,157,158,159,160,161,162,163,164],"wp phpstan","testing","baseline","access","get","neon","runtime","formatting","app","paths","types","errors",{"skillNo":166,"name":167,"nameZh":6,"description":168,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":169,"categories":170,"keywords":171,"publishedAt":39},"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",[],[172,173,174,22,175,176,177,178,179,180,181,182,183,35,184,185,186,187,188,164],"performance","wp performance","design","query design","official","notes","monitor","doctor","cache","server","redis","page","queries","runner","query","type","timing",{"skillNo":190,"name":191,"nameZh":6,"description":192,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":193,"categories":194,"keywords":195,"publishedAt":39},"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",[],[196,197,198,22,199,200,97,136,92,201,138,35,34,202,32,203,204,28,205,25],"lifecycle","hooks","wp hooks lifecycle","init","boot","stack","filters","provider","structure","filter"]