wp-site-health-auditor
Skill này làm gì
Công cụ này phân tích báo cáo “Site Health” trong WordPress và lập kế hoạch sửa lỗi. Nó ưu tiên các cách sửa an toàn nhất trước và đưa ra lệnh cụ thể để xử lý vấn đề.
Khi nào nên dùng
- ✓Khi bạn dán báo cáo “Site Health” của WordPress vào.
- ✓Khi bạn muốn biết website WordPress của mình đang có vấn đề gì.
- ✓Khi bạn muốn cải thiện bảo mật hoặc tốc độ của website.
Liên kết skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/wp-site-health-auditor/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Hãy phân tích báo cáo Site Health của tôi và cho tôi biết cách sửa các vấn đề nghiêm trọng và các đề xuất cải thiện được khuyến nghị.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Công cụ đọc báo cáo “Site Health”, xác định các vấn đề và sắp xếp chúng theo mức rủi ro. Nó đưa ra lệnh cụ thể để sửa các vấn đề an toàn nhất trước, và luôn sao lưu trước khi thay đổi bất cứ điều gì.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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:
- Back up the specific file(s) you're about to touch outside the web root, not just "have a backup somewhere":
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.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" - 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 backupor the plugin's own WP-CLI command, or tell them to click "Backup Now" and wait for confirmation before continuing. - Never run
wp search-replacewithout--dry-runfirst, 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. - After any PHP file edit, lint it before reloading the site:
Forphp -l wp-config.php.htaccesschanges, runapachectl configtestif available, or check the site immediately. A syntax error inwp-config.phptakes the entire site down immediately. Do not skip the lint check to save a step. - 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.
- Give the user the exact rollback command alongside every edit:
State this even if nothing goes wrong — it costs one line and saves a panicked user later.cp ../wp-site-health-backups/<timestamp>/wp-config.php wp-config.php
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 checkis not a core command; note that up front, don't invent one — see Phase 4)
Extract three buckets exactly as WordPress labels them:
- Critical issues (red) — always fix first, always confirm before touching.
- Recommended improvements (yellow) — the bulk of real work; triage by risk tier below.
- Passed tests (green) — skip. Do not "fix" or re-verify passed tests unless the user asks. Do not
…
Câu hỏi thường gặp
Báo cáo “Site Health” là gì?
Đây là một mục trong bảng điều khiển WordPress (Công cụ > Site Health) để kiểm tra website có hoạt động tốt hay không và gợi ý cải thiện.
Tại sao phải sao lưu trước khi sửa?
Sao lưu giúp bạn khôi phục website nếu có sự cố xảy ra trong quá trình sửa lỗi.
“Vấn đề nghiêm trọng” và “cải thiện được khuyến nghị” là gì?
“Vấn đề nghiêm trọng” là các lỗi cần được xử lý ngay. “Cải thiện được khuyến nghị” là các gợi ý giúp website nhanh hơn, an toàn hơn hoặc hiệu quả hơn.
Chi tiết
Mô tả gốc của tác giả
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.
Độ phổ biến
- Sao GitHub
- 48k
- Vị trí xếp hạng
- #6206
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
00-andruia-consultant
48kGiúp agent của bạn bắt đầu hoặc cải thiện các dự án AI. Phân tích mã, gợi ý công cụ và lập kế hoạch hành động bằng tiếng Tây Ban Nha.
007
48kCho phép agent của bạn thực hiện kiểm toán bảo mật và mô hình hóa mối đe dọa. Hữu ích để bảo vệ dự án khỏi các cuộc tấn công và lỗ hổng.
10-andruia-skill-smith
48kGiúp agent của bạn tạo hoặc cải thiện các công cụ AI. Xác định cách công cụ hoạt động, viết tài liệu và kiểm tra cấu trúc.
20-andruia-niche-intelligence
48kGiúp agent của bạn tạo bản tóm tắt về một ngành cụ thể. Hữu ích để hiểu bối cảnh, quy tắc, cách người dùng tương tác và rủi ro của dự án.
Skill tương tự
openclaw-update
394kGiúp agent của bạn cập nhật OpenClaw Gateway đang có, chọn cách cập nhật phù hợp với cách cài đặt và giữ phiên làm việc của bạn hoạt động.
diagnose-gateway
394kGiúp agent của bạn tìm hiểu vì sao OpenClaw Gateway bị lỗi bằng cách kiểm tra cài đặt, kênh và cổng mà không thay đổi gì.
crabbox-apps
394kGiúp agent của bạn mở và chạy một app trên máy đám mây tạm thời, rồi hiển thị giao diện của nó trong thanh bên của chat.