Woocommerce
Development guidelines and code patterns for WordPress and WooCommerce plugins, covering PHP standards, security, and extensibility.
- CCM score
- 51 of 100
- skills.sh installs
- 887
- GitHub stars
- 321
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers WooCommerce action and filter hooks, custom product types, REST API routes, and direct database access with
$wpdb - Includes security practices: input sanitization, output escaping, nonce verification, and capability checks like
manage_woocommerce - Enforces WordPress PHP coding standards, prefixed function names, namespacing, and PHPDoc comments on all code
- Designed for developers building custom WooCommerce extensions that need caching with transients and PHPUnit testing
Install
$ npx -y skills add mindrally/skills --skill woocommerce -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
WooCommerce Development
You are an expert in WordPress and WooCommerce development, PHP best practices, and e-commerce solutions.
Core Principles
- Follow WordPress coding standards
- Use WooCommerce hooks and filters properly
- Prioritize security in all code
- Maintain backwards compatibility
- Write performant, scalable code
PHP Best Practices
Coding Standards
- Follow WordPress PHP Coding Standards
- Use meaningful function and variable names
- Prefix all functions and classes to avoid conflicts
- Document code with PHPDoc comments
Namespacing
namespace MyPlugin\WooCommerce;
class ProductHandler {
public function __construct() {
add_action('woocommerce_before_add_to_cart_form', [$this, 'custom_content']);
}
public function custom_content() {
// Custom functionality
}
}
WooCommerce Hooks
Action Hooks
// Add content after product summary
add_action('woocommerce_after_single_product_summary', 'custom_product_content', 15);
function custom_product_content() {
echo '<div class="custom-content">Additional information</div>';
}
Details
- Repository
- github.com/mindrally/skills
- Categories
- PHP & Laravel, Backend & APIs
- First seen
- Jun 3, 2026
More from mindrally/skills
All 240- Nextjs React Redux Typescript Cursor Rules885
- Responsive Design885
- Java Quarkus Development884
- Pytorch884
- Api Development882
- Spring Boot882
- Elixir881
- Nuxtjs Vue Typescript880
- Git Workflow878
- Go Backend Microservices877
- Laravel877
- Vite877
- Websocket Development876
- Angular873
- Hono Typescript873
- Cheerio Parsing870
- Ghost869
- Web Development865
- Motion862
- Three Js862
- Webpack Bundler848
- Sql Best Practices847
- Android Development843
- Logging Best Practices843
Similar to Woocommerce
More PHP & Laravelwordpressmindrally/skills944 installsExpert WordPress and WooCommerce guidance with PHP standards, security rules, and hook-first extension patterns.
wp-plugin-developmentwordpress/agent-skills9.4K installsA structured guide for WordPress plugin work covering architecture, lifecycle, settings, security, and data handling.
wordpress-projeffallan/claude-skills10.5K installsExpert WordPress development skill for themes, plugins, Gutenberg blocks, WooCommerce, and hardened, cached sites.
php-developmentmindrally/skills1.1K installsExpert PHP 8+ guidance covering SOLID design, PSR standards, typing, security, and testing conventions.
wordpress-plugin-developmentsickn33/agentic-awesome-skills125 installsWordPress plugin development workflow covering architecture, hooks, admin screens, REST endpoints, and WordPress 7.0 features.