[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EGRF12AZD2MJCNSYR05ZZY":3,"skill-same:01M6EGRF12AZD2MJCNSYR05ZZY":47},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M6EGRF12AZD2MJCNSYR05ZZY","wp-wpcli-and-ops",null,"ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FWordPress\u002Fagent-skills\u002Fwp-wpcli-and-ops\u002FSKILL.md",[],[18,19],"wp wpcli and ops","ops","2026-11-10 10:12:30",false,"# WP-CLI and Ops\n\n## When to use\n\nUse this skill when the task involves WordPress operational work via WP-CLI, including:\n\n- `wp search-replace` (URL changes, domain migrations, protocol switch)\n- DB export\u002Fimport, resets, and inspections (`wp db *`)\n- plugin\u002Ftheme install\u002Factivate\u002Fupdate, language packs\n- cron event listing\u002Frunning\n- cache\u002Frewrite flushing\n- multisite operations (`wp site *`, `--url`, `--network`)\n- building repeatable scripts (`wp-cli.yml`, shell scripts, CI jobs)\n\n## Inputs required\n\n- Where WP-CLI will run (local dev, staging, production) and whether it’s safe to run.\n- How to target the correct site root:\n  - `--path=\u003Cwordpress-root>` and (multisite) `--url=\u003Csite-url>`\n- Whether this is multisite and whether commands should run network-wide.\n- Any constraints (no downtime, no DB writes, maintenance window).\n\n## Procedure\n\n### 0) Guardrails: confirm environment and blast radius\n\nWP-CLI commands can be destructive. Before running anything that writes:\n\n1. Confirm environment (dev\u002Fstaging\u002Fprod).\n2. Confirm targeting (path\u002Furl) so you don’t hit the wrong site.\n3. Make a backup when performing risky operations.\n\nRead:\n- `references\u002Fsafety.md`\n\n### 1) Inspect WP-CLI and site targeting (deterministic)\n\nRun the inspector:\n\n- `node skills\u002Fwp-wpcli-and-ops\u002Fscripts\u002Fwpcli_inspect.mjs --path=\u003Cpath> [--url=\u003Curl>]`\n\nIf WP-CLI isn’t available, fall back to installing it via the project’s documented tooling (Composer, container, or system package), or ask for the expected execution environment.\n\n### 2) Choose the right workflow\n\n#### A) Safe URL\u002Fdomain migration (`search-replace`)\n\nFollow a safe sequence:\n\n1. `wp db export` (backup)\n2. `wp search-replace --dry-run` (review impact)\n3. Run the real replace with appropriate flags\n4. Flush caches\u002Frewrite if needed\n\nRead:\n- `references\u002Fsearch-replace.md`\n\n#### B) Plugin\u002Ftheme operations\n\nUse `wp plugin *` \u002F `wp theme *` and confirm you’re acting on the intended site (and network) first.\n\nRead:\n- `references\u002Fpackages-and-updates.md`\n\n#### C) Cron and queues\n\nInspect cron state and run individual events for debugging rather than “run everything blindly”.\n\nRead:\n- `references\u002Fcron-and-cache.md`\n\n#### D) Multisite operations\n\nMultisite changes can affect many sites. Always decide whether you’re operating:\n\n- on a single site (`--url=`), or\n- network-wide (`--network` \u002F iterating sites)\n\nRead:\n- `references\u002Fmultisite.md`\n\n### 3) Automation patterns (scripts + wp-cli.yml)\n\nFor repeatable ops, prefer:\n\n- `wp-cli.yml` for defaults (path\u002Furl, PHP memory limits)\n- shell scripts that log commands and stop on error\n- CI jobs that run read-only checks by default\n\nRead:\n- `references\u002Fautomation.md`\n\n## Verification\n\n- Re-run `wpcli_inspect` after changes that could affect targeting or config.\n- Confirm intended side effects:\n  - correct URLs updated\n  - plugins\u002Fthemes in expected state\n  - cron\u002Fcaches flushed where needed\n- If there’s a health check endpoint or smoke test suite, run it after ops changes.\n\n## Failure modes \u002F debugging\n\n- “Error: This does not seem to be a WordPress installation.”\n  - wrong `--path`, wrong container, or missing `wp-config.php`\n- Multisite commands affecting the wrong site\n  - missing `--url` or wrong URL\n- Search-replace causes unexpected serialization issues\n  - wrong flags or changing serialized data unsafely\n\nSee:\n- `references\u002Fdebugging.md`\n\n## Escalation\n\n- If you cannot confirm environment safety, do not run write operations.\n- If the repo uses containerized tooling (Docker\u002Fwp-env) but you can’t access it, ask for the intended command runner or CI job.\n",{},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002FWordPress\u002Fagent-skills\u002Fwp-wpcli-and-ops",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":7,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill wp-wpcli-and-ops",{"tool":39,"command":40},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill wp-wpcli-and-ops",{"tool":42,"command":43},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill wp-wpcli-and-ops","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FWordPress\u002Fagent-skills\u002Fwp-wpcli-and-ops\u002FSKILL.md",true,[],[48,57,66,75,81,87],{"skillNo":49,"name":50,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":20},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[54,55,56],"model","model hierarchy","model hierarchy skill",{"skillNo":58,"name":59,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":20},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[63,64,65],"MCP","zoom","zoom mcp",{"skillNo":67,"name":68,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":20},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[72,73,74,64],"sdk","zoom apps sdk","apps",{"skillNo":76,"name":77,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":20},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[77],{"skillNo":82,"name":83,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":20},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[83],{"skillNo":88,"name":89,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":20},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[89]]