WordPress Security
CommunitySecure your WordPress code.
Authorcourtneyr-dev
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps developers write secure WordPress code by providing clear guidelines and examples for preventing common vulnerabilities like XSS, CSRF, and SQL injection.
Core Features & Use Cases
- Input Sanitization: Learn how to properly clean data entering your WordPress application.
- Output Escaping: Understand how to safely display data in various HTML, JavaScript, and URL contexts.
- Nonces and Capabilities: Implement checks to prevent Cross-Site Request Forgery and unauthorized access.
- Secure Database Queries: Write safe SQL queries using
$wpdb->prepare(). - Use Case: When developing a new plugin, use this Skill to ensure all user-submitted data is sanitized and all output is properly escaped, preventing common security flaws.
Quick Start
Review the provided examples for sanitizing text input using sanitize_text_field.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: WordPress Security Download link: https://github.com/courtneyr-dev/wp-dev-prompts/archive/main.zip#wordpress-security Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.