Woocommerce Code Review
Analyzes WooCommerce plugin/theme code for errors, security vulnerabilities, and adherence to coding standards.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add woocommerce-code-review npx -- -y @trustedskills/woocommerce-code-review
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"woocommerce-code-review": {
"command": "npx",
"args": [
"-y",
"@trustedskills/woocommerce-code-review"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
The woocommerce-code-review skill enables AI agents to analyze WooCommerce plugin code for security vulnerabilities, coding standards compliance, and best practice adherence. It provides detailed feedback on potential issues within the PHP source files of custom or third-party extensions.
When to use it
- Before deploying a new custom WooCommerce plugin to production environments.
- When auditing existing codebases for outdated security practices or deprecated functions.
- To ensure custom development aligns with official WooCommerce coding standards.
- During the integration phase of merging pull requests in team-based development workflows.
Key capabilities
- Automated scanning of PHP files for common security flaws.
- Identification of deviations from WooCommerce-specific coding guidelines.
- Generation of actionable reports highlighting specific lines requiring attention.
- Support for analyzing both core and extension-level code structures.
Example prompts
- "Review the attached
woocommerce-paymentscustom module for any SQL injection vulnerabilities." - "Analyze this plugin's checkout handler against current WooCommerce coding standards."
- "Identify deprecated WordPress functions used in this store's custom shipping calculator."
Tips & gotchas
Ensure you provide clean, readable source code snippets or file paths for the most accurate analysis. While effective at finding standard issues, complex logic errors may require manual verification alongside the AI's suggestions.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.