Aller au contenu
Skillpedia
Déploiement et cloud (DevOps)48k · #6206

wp-site-health-auditor

Ce qu’il fait

Cet outil analyse le rapport « Site Health » de votre site WordPress et établit un plan pour corriger les problèmes. Il classe les corrections les plus sûres en premier et fournit les commandes exactes pour résoudre les soucis.

Quand l’utiliser

  • ✓Lorsque vous collez votre rapport « Site Health » de WordPress.
  • ✓Lorsque vous voulez savoir ce qui ne va pas sur votre site WordPress.
  • ✓Lorsque vous souhaitez améliorer la sécurité ou la vitesse de votre site.

Lien du skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/wp-site-health-auditor/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/wp-site-health-auditor/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Analysez mon rapport Site Health et expliquez-moi comment corriger les problèmes critiques et les recommandations.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'outil lit le rapport « Site Health », identifie les problèmes et les classe selon leur niveau de risque. Il suggère les commandes exactes pour corriger d'abord les problèmes les plus sûrs, en prenant toujours une sauvegarde avant toute modification.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

WP Site Health Auditor

When to Use This Skill

  • The user pastes a WordPress Site Health report (Tools > Site Health), as text or screenshot
  • The user pastes raw Site Health debug info (Tools > Site Health > Info) and asks what's wrong
  • The user mentions "site health", "recommended improvements," or "critical issues" for a WordPress site
  • The user asks to clean up, harden, or speed up a WP install based on that screen

Turns a WordPress Site Health report (Critical issues / Recommended improvements / Passed tests) into a prioritized, risk-tiered fix plan — then executes the safe fixes and hands off the rest with exact commands or code.

⚠️ Safety — read before touching any file

This skill edits wp-config.php, .htaccess, and php.ini-equivalent settings, and deletes plugins and themes. All three are one bad edit away from a white-screen-of-death or a broken upload path. Never skip this section, even for a one-line change, even if the user is in a hurry.

Before any edit or deletion, in this order:

  1. Back up the specific file(s) you're about to touch outside the web root, not just "have a backup somewhere":
    umask 077
    backup_dir="../wp-site-health-backups/$(date +%Y%m%d-%H%M%S)"
    mkdir -p "$backup_dir"
    cp -p wp-config.php "$backup_dir/wp-config.php"
    cp -p .htaccess "$backup_dir/.htaccess"
    
    If shell access isn't available, tell the user to download the current file via SFTP/host file manager first, and don't proceed until they confirm they have it.
  2. Confirm a full site/database backup exists before deleting any plugin or theme, or running wp search-replace. If the user doesn't have one and has a backup plugin active (UpdraftPlus, etc.), trigger a backup first: wp updraftplus backup or the plugin's own WP-CLI command, or tell them to click "Backup Now" and wait for confirmation before continuing.
  3. Never run wp search-replace without --dry-run first, and always show the dry-run output to the user before running it for real. This command rewrites the database in place — a wrong pattern can corrupt serialized data across every table it touches.
  4. After any PHP file edit, lint it before reloading the site:
    php -l wp-config.php
    
    For .htaccess changes, run apachectl configtest if available, or check the site immediately. A syntax error in wp-config.php takes the entire site down immediately. Do not skip the lint check to save a step.
  5. Change one thing at a time, then verify the site still loads (homepage + wp-admin) before making the next change. Don't batch multiple Tier 2 file edits into one pass — if something breaks, you want to know which change did it.
  6. Give the user the exact rollback command alongside every edit:
    cp ../wp-site-health-backups/<timestamp>/wp-config.php wp-config.php
    
    State this even if nothing goes wrong — it costs one line and saves a panicked user later.

If the user says "just do it, skip the backup" — still create the backup silently as part of the edit sequence and tell them you did. Refuse to skip step 1 or step 4 entirely; those two are non-negotiable regardless of urgency, since the failure mode (corrupted wp-config.php, dead site) is worse than the ten seconds a backup costs.

Overview

The Site Health screen is diagnostic, not prescriptive. It tells the site owner that something is wrong (e.g. "you should use a persistent object cache") but not how to fix it, and it mixes items that are one-click-safe (deactivate a plugin) with items that require host-level changes (php.ini, object cache backend) or are purely informational (SQL server version — no action needed). This skill sorts that out — safely.

Phase 1 — Parse the report

Input is usually one of:

  • Pasted plain text copied from Tools > Site Health (Status tab)
  • Pasted plain text from Tools > Site Health > Info (the debug data export)
  • A screenshot of the Status tab
  • WP-CLI output (wp site-health check is not a core command; note that up front, don't invent one — see Phase 4)

Extract three buckets exactly as WordPress labels them:

  1. Critical issues (red) — always fix first, always confirm before touching.
  2. Recommended improvements (yellow) — the bulk of real work; triage by risk tier below.
  3. Passed tests (green) — skip. Do not "fix" or re-verify passed tests unless the user asks. Do not

…

Questions fréquentes

Qu'est-ce que le rapport « Site Health » ?

C'est une section du tableau de bord WordPress (Outils > Site Health) qui vérifie le bon fonctionnement de votre site et suggère des améliorations.

Pourquoi faire une sauvegarde avant de corriger ?

La sauvegarde vous permet de restaurer votre site si quelque chose se passe mal pendant les corrections.

Que sont les « problèmes critiques » et les « améliorations recommandées » ?

Les problèmes critiques sont des erreurs graves qui nécessitent une intervention immédiate. Les améliorations recommandées sont des suggestions pour rendre votre site plus rapide, plus sûr ou plus efficace.

Détails

Description originale de l’auteur

Turns a WordPress Site Health report into a risk-tiered, backup-first fix plan with exact WP-CLI/PHP snippets. Use for site health, recommended improvements, or critical issue reports.

repo: sickn33/agentic-awesome-skills

Popularité

Étoiles GitHub
48k
Position au classement
#6206
Licence
MIT
Mis à jour
15/10/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires