Wp Plugin Skill — Security skill for Claude Code
Build WordPress plugins with AI that don't ship vulnerabilities.
How to install Wp Plugin Skill
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open ararai1991/wp-plugin-skill and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Wp Plugin Skill does
Build WordPress plugins with AI that don't ship vulnerabilities. A Claude skill covering all 18 Plugin Handbook chapters plus the security model behind nearly every plugin CVE — with a 79-check security and correctness scanner.
Alternatives in Security
- Cve MCP Server — Production-grade MCP server giving Claude 27 security intelligence tools across 21 APIs — CVE lookup, EPSS sco 1.2k ★
- Engage.Threatmodel — Materialize, lint, and drift-check the engagement threat model 348 ★
- Security Audit — Audit de securite complet d'une web app (OWASP Top 10, CWE/CVE, headers, auth, paywall, infra) 80 ★
README
wp-plugin-skill
**Build WordPress plugins with AI that don't ship vulnerabilities.**
A skill that teaches Claude the full [WordPress Plugin Handbook](https://developer.wordpress.org/plugins/) — all 18 chapters — plus the security model behind nearly every plugin CVE.
[](LICENSE) [](https://developer.wordpress.org/plugins/) [](https://claude.com/claude-code) [](#contributing)
[Install](#install) · [What changes](#what-changes) · [Coverage](#coverage) · [Scanner](#the-scanner) · [FAQ](#faq)
The problem
Ask any AI to "add an AJAX handler that saves settings" and you will usually get this:
add_action( 'wp_ajax_save_settings', 'save_settings' );
add_action( 'wp_ajax_nopriv_save_settings', 'save_settings' );
function save_settings() {
update_option( $_POST['name'], $_POST['value'] );
echo $_POST['message'];
wp_die();
}
It works. It also hands **any visitor on the internet** full control of the site — set `default_role` to `administrator`, enable registration, sign up, done. Plus reflected XSS and an unprefixed function name that will collide with the next plugin.
Every one of those is a real, catalogued vulnerability class that appears in WordPress plugin CVEs every week.
What changes
With the skill loaded, the same request produces:
add_action( 'wp_ajax_myplugin_save_settings', 'myplugin_save_settings' );
// No nopriv variant — this is not a public action.
function myplugin_save_settings() {
if ( ! current_user_can( 'manage_options' ) ) { // Gate 2: authorization
wp_send_json_error( array( 'message' => __( 'Forbidden', 'my-plugin' ) ), 403 );
}
che
Related Skills
Shipwright
One skill to design, build, test, polish, and ship world-class software. A complete AI coding agent skill cove
Mike Skills
Personal Claude Code skills covering the skill lifecycle (scaffold, install, audit, uninstall) plus chat-log m
Security Sweep
Comprehensive security scanner covering OWASP Top 10 (2025), Mobile Top 10 (2024), and LLM Top 10 (2025). Scan
Massu Deps
Dependency audit covering security vulnerabilities, updates, and compatibility analysis
Heeler Vulnerabilities Scan
Run Heeler dependency vulnerability scanning and policy gating. Use when the user asks for CVE analysis, sever
Ship Check
End-of-session production audit with auto-merge. Reconstructs session intent, then RUNS the full review chain
Related Agents
Ark Security Patcher
Fix security vulnerabilities in Ark by researching CVEs, analyzing impact, proposing mitigations, implementing
Dependency Doctor
Dependency health management — outdated packages, vulnerabilities (CVE), breaking change risk for major bumps.
Kavach Intel
KAVACH threat-intelligence specialist. Runs a 3-tier adaptive sweep of published advisories (CVE/GHSA/OSV/NVD)