/rolepod-wplab:wp-recoveryfrom rolepod-wplab
Recover a WordPress site that is white-screening / 500-ing / fatal after an edit — guardian mu-plugin, safe-mode, disable/restore the culprit — plus safe core/plugin/theme updates and guarded .htaccess edits. Phase = Recover.
Ships in rolepod-wplab. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Get a broken site back up, then keep it up through risky maintenance. The guardian mu-plugin (shipped with the rolepod-wp companion) loads BEFORE normal plugins, survives a plugin/theme parse error, and records the fatal — so the recovery endpoints stay reachable even when the front end is dead.
Owns:
rolepod_wp_recovery_status — guardian view: is the site fataling, what did it catch.rolepod_wp_recovery_list_changes — recent writes the guardian/ledger recorded (culprit hunt).rolepod_wp_recovery_disable_file / rolepod_wp_recovery_disable_plugin — neutralize the culprit.rolepod_wp_recovery_restore_file / rolepod_wp_recovery_restore_snapshot — put a known-good file/theme back.rolepod_wp_recovery_safe_mode — fail-closed write lock while you work.rolepod_wp_maintenance_update — backup → maintenance-mode → update → probe → auto-rollback (core/plugin/theme).rolepod_wp_htaccess_edit — sentinel-backed .htaccess replace with root + inner-permalink probe + auto-restore.Does not own:
wp-edit-plugin / wp-content once the site is reachable again.wp-migrate (rolepod_wp_site_restore).wp-diagnose.rolepod_wp_recovery_safe_mode(enabled: true) — stop the bleeding.rolepod_wp_recovery_status — confirm the fatal + what the guardian caught.rolepod_wp_recovery_list_changes (or wp-changes ledger) — find the last writes.rolepod_wp_recovery_disable_plugin.rolepod_wp_recovery_disable_file, then rolepod_wp_recovery_restore_file from the pre-edit backup if one exists.rolepod_wp_recovery_restore_snapshot.rolepod_wp_recovery_status → site should be reachable.rolepod_wp_recovery_safe_mode(enabled: false) — clear the lock.wp-edit-plugin / wp-content, then wp-diagnose.rolepod_wp_maintenance_update(scope: plugin|theme|core, slugs?, backup_id? [core], confirm_production?). It backs up, flips maintenance-mode (deactivating it in a finally), updates, health-probes, and — on red — pins core back / restores the backup and RE-PROBES before claiming rolled_back:true. A still-red site returns rolled_back:false + the backup_id for manual recovery. REST + companion + single-site only.rolepod_wp_htaccess_edit(content, confirm_production?). Writes .htaccess.bak first, replaces .htaccess, then probes the site ROOT and one inner pretty-permalink (a lost RewriteRules block leaves / = 200 but inner pages = 404 — a false green). On failure it restores and re-probes; if a malformed .htaccess took Apache down so even the REST restore 500s, it says rolled_back:false and points you at .htaccess.bak to fix over SSH/filesystem.recovery_status shows no companion / guardian → the guardian mu-plugin is not installed; recovery endpoints won't answer. Tell the user to install the rolepod-wp companion (which ships the guardian).rolepod_wp_maintenance_update / rolepod_wp_htaccess_edit refuse (MULTISITE_UNSUPPORTED); recover by hand.wp-diagnose + surface the guardian's recorded error verbatim; do not keep disabling plugins blindly.wp-diagnose to find the root cause, then the right edit skill to fix it properly.wp-health-check to confirm green.What SKILL.md sets; muted values are Claude Code's defaults
the site returns a 500 / white screen / fatal error (often right after a plugin activation, theme switch, functions.php or .htaccess edit), OR a 500 is confined to ONE surface while the rest of the site answers 200 (REST only, admin-ajax only, a single admin screen) — that is still a fatal and the guardian recorded it, OR the user wants to update core/plugins/themes or edit .htaccess with an automatic safety net
Other plugins' skills for the same job
15 skills in this plugin
/wp-changesQuery the AI Change Ledger on a connected target — the writes the MCP recorded through the companion (RestTarget only), categorized; toggle on/off; panic-revert recent changes. Phase = Recovery./wp-connectOpen a WordPress Target on any kind (local / REST + App Password / SSH / Docker) using credentials already in the vault. Phase = Define./wp-contentCreate, read, update, search posts/pages/users/options/taxonomies via the core WP REST API on a connected target. Phase = Build./wp-diagnoseMulti-probe diagnostic + security audit of a connected target — plugin conflicts, slow queries, large autoload options, broken images, PHP errors, outdated core/plugins/themes, weak admins. Phase = Debug.npx claudepluginhub nuttaruj/rolepod-wplab --plugin rolepod-wplab