Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add finsilabs/awesome-ecommerce-skills --skill woocommerce-plugin-developmentgit clone --depth 1 https://github.com/finsilabs/awesome-ecommerce-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/finsilabs/awesome-ecommerce-skills/woocommerce-plugin-development)<a href="https://agentmods.dev/skills/finsilabs/awesome-ecommerce-skills/woocommerce-plugin-development"><img src="https://agentmods.dev/badge/skills/finsilabs/awesome-ecommerce-skills/woocommerce-plugin-development/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/finsilabs/awesome-ecommerce-skills/woocommerce-plugin-development"><img src="https://agentmods.dev/badge/skills/finsilabs/awesome-ecommerce-skills/woocommerce-plugin-development.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00028 | $0.04268 |
| Opus 5.5 | $0.00011 | $0.01707 |
| Sonnet 5.5 | $0.00006 | $0.00854 |
| Haiku 4.5 | $0.00003 | $0.00427 |
Grade A, and why
woocommerce-plugin-development scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 495 lines — stays where its author put it; the contents beside it link to each section on GitHub.
WooCommerce Plugin Development
Overview
Build custom WooCommerce plugins that extend store functionality using WordPress hooks (actions and filters), the WooCommerce Settings API, custom post types and meta boxes, REST API extensions, and HPOS (High-Performance Order Storage) compatibility. This skill covers plugin architecture, the WooCommerce lifecycle hooks for orders and products, and patterns for building maintainable, upgrade-safe extensions.
When to Use This Skill
- When building a custom feature that extends WooCommerce (custom shipping, payment, or discount logic)
- When creating a plugin that adds admin settings and configuration pages
- When hooking into the WooCommerce checkout, order, or product lifecycle
- When extending the WooCommerce REST API with custom endpoints
- When migrating a plugin to support HPOS (High-Performance Order Storage)
Core Instructions
-
Set up the plugin boilerplate
<?php /** * Plugin Name: My Custom WooCommerce Extension * Description: Adds custom functionality to WooCommerce * Version: 1.0.0 * Author: Your Name * Requires Plugins: woocommerce * WC requires at least: 8.0 * WC tested up to: 9.0 * * @package MyWooExtension */ defined('ABSPATH') || exit; // Check if WooCommerce is active if (!in_array('woocommerce/woocommerce.php', apply_filters('active_plugins', get_option('active_plugins')))) { return; } define('MWE_VERSION', '1.0.0'); define('MWE_PLUGIN_DIR', plugin_dir_path(__FILE__)); define('MWE_PLUGIN_URL', plugin_dir_url(__FILE__)); // 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 ); } }); // Initialize the plugin after WooCommerce loads add_action('woocommerce_loaded', function () { require_once MWE_PLUGIN_DIR . 'includes/class-mwe-main.php'; MWE_Main::instance(); });
What ships with it
7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- evals/custom-shipping-method-and-rest-api-endp/criteria.json 2.5 KB
- evals/custom-shipping-method-and-rest-api-endp/task.md 1.5 KB
- evals/plugin-boilerplate-hpos-compatibility-or/criteria.json 2.8 KB
- evals/plugin-boilerplate-hpos-compatibility-or/task.md 1.6 KB
- evals/woocommerce-settings-api-and-product-cus/criteria.json 2.6 KB
- evals/woocommerce-settings-api-and-product-cus/task.md 1.4 KB
- tile.json 246 B
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 495 lines · 28 tokens per session scan A 9c8d8ea76f8a
woocommerce-plugin-development is a skill published in the GitHub repository finsilabs/awesome-ecommerce-skills (60 stars, last pushed 4d ago), licensed MIT. It adds 28 tokens to every session and 4,268 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
wordpress-plugin-fundamentals
Modern WordPress plugin development with PHP 8.3+, OOP architecture, hooks system, database interactions, and Settings API.
wcs-subscription-hooks
Curated WooCommerce Subscriptions hook map for subscription creation, status/date transitions, renewal orders, scheduled payments, retries, gateway events, switching, gifting, related orders, APFS plans, REST, and account/admin UI. Use when choosing where to hook around WCSubscription, wcscreatesubscription…
bd-better-route-bridge
Compose better-data DTOs with the better-route library — use BetterRouteBridge::{get, post, put, patch, delete} to register a REST route that hydrates the request into a DTO, validates, calls the handler with (DataObject, mixed $request), and presents returned DataObject values through Presenter with…
bd-data-object
Add or modify DataObject subclasses inside the better-data library — the immutable, attribute-decorated DTOs the whole library is built around. Every DTO is final readonly class extends DataObject with constructor-promoted typed parameters; sources hydrate via ::fromArray, sinks project via SinkProjection, the…
wp-plugin-bootstrap
Scaffolds and reviews the main entry-point PHP file of a WordPress plugin — header (with Requires Plugins for WP 6.5+), ABSPATH guard, file/path/url/version constants, Composer PSR-4 autoload with src/ as the default class root, optional scoped fallback for release ZIP safety, PascalCase class filenames that match…
wcs-renewal-scheduler
Safely integrate with WooCommerce Subscriptions renewal scheduling, Action Scheduler, renewal-order creation, gateway charge dispatch, guarded process-renewal-now commands, and retries. Use for WCSubscription::updatedates, wcscreaterenewalorder, woocommercescheduledsubscriptionpayment, gateway-specific scheduled…