wp-woocommerce

wp-woocommerce is a skill for Claude Code from mralaminahamed/wp-dev-skills. It costs 352 tokens per session (2,874 once invoked), scanned A, original, MIT.

A development guide for WooCommerce extensions, where WooCommerce is the WordPress software used to run online shops. It covers common shop customizations and integrations.

In plain words
What is it for?
Use it to build or debug custom product types, payment gateways, shipping methods, REST fields, admin screens, cart or checkout changes, fees, discounts, and order-status behavior.
Why use it?
It helps choose the correct WooCommerce extension point and account for details such as payment flows, orders, checkout, and compatibility requirements.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the wp-dev-skills plugin — 19 skills, 1 command shipped together

Good fit Use it to build or debug custom product types, payment gateways, shipping methods, REST fields, admin screens, cart or checkout changes, fees, discounts, and order-status behavior.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mralaminahamed/wp-dev-skills/wp-woocommerce
Install

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.

Any agent
npx skills add mralaminahamed/wp-dev-skills --skill wp-woocommerce
Clone the repo
git clone --depth 1 https://github.com/mralaminahamed/wp-dev-skills

Made for: Claude Code.

Or install wp-dev-skills, the plugin that ships this one along with the rest of its 19 skills, 1 command.

Wrote 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.

agentmods badge for wp-woocommerce

README.md
[![agentmods](https://agentmods.dev/badge/skills/mralaminahamed/wp-dev-skills/wp-woocommerce/github.svg)](https://agentmods.dev/skills/mralaminahamed/wp-dev-skills/wp-woocommerce)
Your own site
<a href="https://agentmods.dev/skills/mralaminahamed/wp-dev-skills/wp-woocommerce"><img src="https://agentmods.dev/badge/skills/mralaminahamed/wp-dev-skills/wp-woocommerce/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.

agentmods 80×15 button for wp-woocommerce

Your own site · 80×15
<a href="https://agentmods.dev/skills/mralaminahamed/wp-dev-skills/wp-woocommerce"><img src="https://agentmods.dev/badge/skills/mralaminahamed/wp-dev-skills/wp-woocommerce.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 352 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,874 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00352 $0.02874
Opus 5 $0.00176 $0.01437
Sonnet 5 $0.00070 $0.00575
Haiku 4.5 $0.00035 $0.00287

Measured 12d ago against content hash 8ece1ffdf167, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

wp-woocommerce 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 12d 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.

skills/wp-woocommerce/SKILL.md · 228 lines

How it starts

The opening of the file, as written. The whole thing — 228 lines — stays where its author put it; the contents beside it link to each section on GitHub.

WooCommerce Extension Development

Model note: Complex — payment gateways, HPOS compatibility, and block cart/checkout require multi-file reasoning. Use sonnet or opus. haiku for isolated CRUD or hook lookups only.

Guide for building WooCommerce extensions: custom product types, payment gateways, hooks, CRUD, REST, and admin UI. Assumes the host plugin passes the wp-plugin-audit baseline and the official wp-plugin-development security conventions.

When to use

  • "Add a custom product type", "create a payment gateway", "add a shipping method".
  • "Extend the WooCommerce REST API", "add fields to WC orders/products".
  • "Build a WooCommerce admin tab", "add product meta", "custom checkout field".
  • "Hook into WC cart/checkout", "add a fee", "apply a discount programmatically".
  • "Debug WooCommerce order status flow", "fix a WC hook not firing".

Not for: General WordPress plugin architecture — use wp-plugin-development. PHPStan types for WC — use wp-phpstan-stubs to scaffold WC stubs.

Method

1. Identify extension point category

Determine which WC subsystem applies before writing code:

Goal Subsystem
Custom product type WC_Product subclass + product_type_query filter
Payment gateway WC_Payment_Gateway subclass + woocommerce_payment_gateways filter
Shipping method WC_Shipping_Method subclass + woocommerce_shipping_methods filter
Custom order status wc_register_order_status + wc_order_statuses filter
Cart/checkout field woocommerce_checkout_fields filter or block integration API
Admin product tab woocommerce_product_data_tabs + woocommerce_product_data_panels
Order list column manage_edit-shop_order_columns + manage_shop_order_posts_custom_column
REST API extension woocommerce_rest_* hooks or custom endpoint on WC_REST_Controller

2. CRUD — use WC classes, not direct $wpdb

Always use WC CRUD methods; they fire the correct hooks and invalidate caches.

Read the full file on GitHub · 228 lines

Changes

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.

  1. 12d ago First seen · 228 lines · 352 tokens per session scan A 8ece1ffdf167

Subscribe to this mod's changes

wp-woocommerce is a skill published in the GitHub repository mralaminahamed/wp-dev-skills (27 stars, last pushed 1mo ago), licensed MIT. It adds 352 tokens to every session and 2,874 once invoked, about $0.0018 per session on Opus 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-08-30.

Related

Other skills, from other repositories

WooCommerce Automation

Automate WooCommerce e-commerce operations including orders, inventory, customers, and marketing.

claude-office-skills/skills · 20 tokens

woocommerce-plugin-development

Create custom WooCommerce plugins using action/filter hooks, the Settings API, and REST API extensions to add features without modifying core.

finsilabs/awesome-ecommerce-skills · 28 tokens

ebay-search

Search eBay listings - find items, auctions, deals, and compare prices.

gooseworks-ai/goose-skills · 19 tokens

plattform-online-gate-rollout-rangfolge

Für Plattform und Online Checkout: ordnet Norm, Beweislast und Gegenargument; Ergebnis: Prüfprodukt mit Risiko und nächstem Schritt. Fachgebiet: AGB-Recht-Prüfer. Route: plattform-online-gate-rollout-rangfolge.

Klotzkette/claude-fuer-deutsches-recht · 62 tokens

amazon-advertising-strategy

Comprehensive Amazon advertising strategy and campaign optimization. Sponsored Products, Sponsored Brands, Sponsored Display campaign management, budget allocation, ACoS optimization, and performance tracking. Use when the user asks about Amazon PPC, advertising strategy, campaign optimization, or Amazon ads…

nexscope-ai/Amazon-Skills · 59 tokens

amazon-display-ads

Amazon Sponsored Display campaign strategy and optimization. Audience targeting, retargeting campaigns, creative optimization, and performance management. Use when the user asks about Amazon display ads, audience targeting, retargeting, or Sponsored Display campaigns.

nexscope-ai/Amazon-Skills · 50 tokens