Use when working with WP-CLI (wp) for WordPress operations: safe search-replace, db export/import, plugin/theme/user/content management, cron, cache flushing, multisite, and scripting/automation with wp-cli.yml.
80
100%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Use this skill when the task involves WordPress operational work via WP-CLI, including:
wp search-replace (URL changes, domain migrations, protocol switch)wp db *)wp site *, --url, --network)wp-cli.yml, shell scripts, CI jobs)--path=<wordpress-root> and (multisite) --url=<site-url>WP-CLI commands can be destructive. Before running anything that writes:
Read:
references/safety.mdRun the inspector:
node skills/wp-wpcli-and-ops/scripts/wpcli_inspect.mjs --path=<path> [--url=<url>]If 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.
search-replace)Follow a safe sequence:
wp db export (backup)wp search-replace --dry-run (review impact)Read:
references/search-replace.mdUse wp plugin * / wp theme * and confirm you’re acting on the intended site (and network) first.
Read:
references/packages-and-updates.mdInspect cron state and run individual events for debugging rather than “run everything blindly”.
Read:
references/cron-and-cache.mdMultisite changes can affect many sites. Always decide whether you’re operating:
--url=), or--network / iterating sites)Read:
references/multisite.mdFor repeatable ops, prefer:
wp-cli.yml for defaults (path/url, PHP memory limits)Read:
references/automation.mdwpcli_inspect after changes that could affect targeting or config.--path, wrong container, or missing wp-config.php--url or wrong URLSee:
references/debugging.md120d309
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.