Skill / SKILL.md

Wp Plugin Security

fernandotellado/ai-skills

Security guidelines for WordPress plugin development: sanitization, validation, escaping (PHP and admin JavaScript), nonces, capabilities over objects, multisite boundaries, SQL injection, XSS, CSRF, request headers and the client IP behind proxies, authentication shortcuts, registered meta in REST, and secrets stored in the database. Bundles a release security gate: a procedure and three scripts to run before every release. Use it whenever you write or review plugin code that handles user input, prints dynamic output, registers AJAX or REST endpoints or meta, checks permissions, reads request headers or IP addresses, touches login or two-factor flows, writes files shared by a network, stores copies of configuration, or suppresses PHPCS security sniffs, and whenever a release, a security audit or a reply to the wordpress.org security review is being prepared, even if nobody says the word security. Based on official WordPress Developer Resources and on post-incident reviews of CVE-2026-81754.
2 views 44 repository stars 0 commentsUpdated Nov 28, 2026
Overview

Security guidelines for WordPress plugin development: sanitization, validation, escaping (PHP and admin JavaScript), nonces, capabilities over objects, multisite boundaries, SQL injection, XSS, CSRF, request headers and the client IP behind proxies, authentication shortcuts, registered meta in REST, and secrets stored in the database. Bundles a release security gate: a procedure and three scripts to run before every release. Use it whenever you write or review plugin code that handles user input, prints dynamic output, registers AJAX or REST endpoints or meta, checks permissions, reads request headers or IP addresses, touches login or two-factor flows, writes files shared by a network, stores copies of configuration, or suppresses PHPCS security sniffs, and whenever a release, a security audit or a reply to the wordpress.org security review is being prepared, even if nobody says the word security. Based on official WordPress Developer Resources and on post-incident reviews of CVE-2026-81754.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/fernandotellado/ai-skills' skill-source

Use the complete skill-source/wp-plugin-security directory with your client’s skill installer.

Source directory wp-plugin-security

Compatibility & requirements

Declared compatibility

WordPress 6.0+ / PHP 7.4+. Applies to plugins, themes, and custom code. The bundled scripts need Node.js, PHP CLI with mbstring, and Python 3.

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
7004fe8a6e57589923f91a325c2d382c3da6239406c6c8f4df11b776eb22a4be
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills