From woocommerce-commerce
Sets up WooCommerce local dev environments with wp-env, Docker Compose, or WP-CLI. Installs WooCommerce, checks requirements, scaffolds plugins, and runs essential commands.
How this skill is triggered — by the user, by Claude, or both
Slash command
/woocommerce-commerce:woo-setupThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Fetch live docs**:
Fetch live docs:
https://developer.woocommerce.com/docs/ for the getting started guidesite:developer.wordpress.org cli commands for WP-CLI referencewoocommerce system requirements latest version for current requirements| Component | Requirement |
|---|---|
| PHP | 7.4+ (8.0–8.3 recommended) |
| MySQL | 8.0+ |
| MariaDB | 10.4+ |
| WordPress | 6.4+ |
| WooCommerce | 9.x (latest) |
| HTTPS | Required for payment gateways |
| max_execution_time | 120+ seconds |
| memory_limit | 256M+ |
curl, gd, intl, mbstring, openssl, xml, zip, sodium, imagick
WordPress's official Docker-based local environment:
npm -g i @wordpress/env then wp-env start.wp-env.json in project rootwp-env run cli wp <command>Custom Docker setup with wordpress, mysql/mariadb, optional phpmyadmin, mailhog containers. Mount plugin/theme directories into the WordPress container.
GUI or CLI tools that provision WordPress-ready environments with configurable PHP, MySQL, and web server versions.
wp plugin install woocommerce --activate — install and activatewp wc update — run WooCommerce database migrationswp wc setting list general — view store settingswp wc product list — list productswp wc order list — list orderswp wc tool run install_pages — create default WooCommerce pages (shop, cart, checkout)wp scaffold plugin my-woo-extension — generate boilerplate pluginWC requires at least, WC tested up tomy-woo-extension/
├── my-woo-extension.php # Main plugin file with headers
├── includes/ # PHP classes
├── src/ # Namespaced source (PSR-4 autoloaded)
├── assets/
│ ├── css/
│ └── js/
├── templates/ # Overridable templates
├── languages/ # i18n .pot/.po/.mo files
├── tests/ # PHPUnit tests
├── composer.json # Dependencies + autoloading
├── package.json # JS build tooling (if blocks)
└── readme.txt # WordPress.org plugin header
Required headers for WooCommerce extensions:
Plugin Name, Plugin URI, Description, Version, Author, LicenseWC requires at least: 8.0 — minimum WooCommerce versionWC tested up to: 9.5 — tested WooCommerce versionRequires Plugins: woocommerce — WordPress 6.5+ dependency declarationEvery new extension must declare HPOS compatibility:
add_action( 'before_woocommerce_init', function() {
if ( class_exists( \Automattic\WooCommerce\Utilities\FeaturesUtil::class ) ) {
\Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility(
'custom_order_tables', __FILE__, true
);
}
});
custom_order_tables) compatibility in new extensionsWC requires at least and WC tested up to headerswp-env or Docker for reproducible development environmentswp wc tool run install_pages after fresh WooCommerce installFetch the WooCommerce getting started guide and WP-CLI docs for exact commands and configuration options before setting up.
npx claudepluginhub orcaqubits/agentic-commerce-skills-plugins --plugin woocommerce-commerceCreates WooCommerce plugins with file structure, headers, activation/deactivation hooks, custom DB tables via dbDelta, and Composer PSR-4 autoloading. Use for new extensions.
Adds or modifies WooCommerce backend PHP code following project conventions for classes, methods, hooks, dependency injection, data integrity, and unit tests.
Reviews generated or changed WooCommerce code for HPOS, checkout, payment, shipping, and order/product logic before shipping.