skills.vishalvoidskills/vishalvoid
Technical & DevelopmentIntermediate

wp-wpcli-and-ops

WP-CLI commands, automation, multisite, search-replace

Developer Setup

Setup & Installation

bash
npx skills add https://github.com/WordPress/agent-skills --skill wp-wpcli-and-ops

Overview

What This Skill Does

WP-CLI commands, automation, multisite, search-replace

Application

When to use this Skill

Documentation

Show Skills.md file

WP-CLI and Ops

When to use

Use this skill when the task involves WordPress operational work via WP-CLI, including:

  • wp search-replace (URL changes, domain migrations, protocol switch)
  • DB export/import, resets, and inspections (wp db *)
  • plugin/theme install/activate/update, language packs
  • cron event listing/running
  • cache/rewrite flushing
  • multisite operations (wp site *, --url, --network)
  • building repeatable scripts (wp-cli.yml, shell scripts, CI jobs)

Inputs required

  • Where WP-CLI will run (local dev, staging, production) and whether it’s safe to run.
  • How to target the correct site root:
    • --path=<wordpress-root> and (multisite) --url=<site-url>
  • Whether this is multisite and whether commands should run network-wide.
  • Any constraints (no downtime, no DB writes, maintenance window).

Procedure

0) Guardrails: confirm environment and blast radius

Lines 1 - 25 of 117

Recommendations

Explore other random skills

All skillsMy patterns