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
Fable Five
Five skills written by Claude Fable 5 before it leaves your plan: pre-ship security check, project setup, plan
Cairn Review PR
Reviews an open PR/MR — code-review findings plus cairn's security checklist and fix-lane tags, drafted and ga
Audit Leakage
Audit a model, feature set, or pipeline for data leakage — builds the prediction-time availability table and s
Shipwright
One skill to design, build, test, polish, and ship world-class software. A complete AI coding agent skill cove
Module Audit
Pre-ship module audit pipeline (rev 4). 7-stage matrix audit covering form components × 4 lenses + 10 cross-cu
Mike Skills
Personal Claude Code skills covering the skill lifecycle (scaffold, install, audit, uninstall) plus chat-log m
Related Agents
WordPress Docs Research Agent
Syncs the WordPress documentation mirrors in docs/wordpress/ against their live sources on developer.wordpress
Wp Reviewer
Reviews WordPress plugin and theme code for handbook compliance and best practices
Ark Security Patcher
Fix security vulnerabilities in Ark by researching CVEs, analyzing impact, proposing mitigations, implementing