Woo guard
Review generated or changed WooCommerce extensions, payment and shipping integrations, checkout customizations, and order or product logic.
Safety check
- Not rated by Claude yet. We only sell skills Claude has read and rated 7 out of 10 or higher, so this one is a free link to its author.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: "woo-guard"
description: "Review generated or changed WooCommerce extensions, payment and shipping integrations, checkout customizations, and order or product logic."
risk: "critical"
source: "community"
source_repo: "amElnagdy/guard-skills"
source_type: "community"
date_added: 2026-07-13
author: "community"
tags: []
tools: []
---
# Woo Guard
You are reviewing generated or changed WooCommerce code before it ships. Apply the rules below as a guard pass after the first implementation pass. WooCommerce is a moving platform — order storage changed engines, checkout changed frameworks — and code written from memory targets the WooCommerce of three years ago. With money on the line, "works on my demo store" is not a standard.
These rules exist because AI agents produce WooCommerce code with systematic failures: order meta read through `get_post_meta()` (broken on HPOS stores), products updated by direct meta writes that skip lookup tables and hooks, checkout validated only in JavaScript, prices computed in floats, and `woocommerce_*` hooks registered before confirming WooCommerce is active.
## When to Use
Use this skill when reviewing generated or changed WooCommerce code — extensions, payment and shipping integrations, checkout customizations, and order/product logic — before it ships. Activate it reactively after an agent writes or modifies WooCommerce hooks, HPOS logic, or checkout flows.
## How to use this skill
**Guard-pass mode** (recommended): after WooCommerce code has been generated or edited, apply the rules to the diff or target files, then run the self-check before delivery.
**Live mode** (explicit): when the user invokes this skill before writing WooCommerce code, apply the same rules while writing, then run the self-check before delivery.
**Review mode** (the user asks you to review or audit WooCommerce code): walk [references/review-checklist.md](references/review-checklist.md) and produce a structured findings report. Do not edit code in review mode unless asked.
**Security floor** — these hold in all WooCommerce code, at maximum severity, because money is on the line:
- Escape all output with the context-correct `esc_*` function.
- Validate/normalize according to the input source: wp_unslash applies to slashed WordPress form superglobals, not raw JSON/webhook bytes.
- For session/form writes, check capability/object ownership plus the appropriate nonce; webhooks require verified provider signatures, replay controls and order binding instead.
- `$wpdb->prepare()` for every query containing a variable.
If wp-guard is installed, run it alongside for the full WordPress layer.
...From sickn33's repository, MIT licence.
Related skills
-
Checked
WordPress development
Builds secure custom WordPress themes, plugins and Gutenberg blocks, plus WooCommerce and REST API work.
7/101 credit -
Checked
WooCommerce checkout blocks
Customises WooCommerce cart and checkout block pages with slot fills, inner blocks and Store API extensions.
8/101 credit -
Checked
WordPress plugin CVE hunt
Finds known security flaws in WordPress plugins by matching versions to CVE databases, for authorised tests.
7/101 credit -
Checked
WooCommerce code review
Reviews new WooCommerce code for payment, checkout and order mistakes before it ships to your store.
8/101 credit -
Checked
WordPress code review
Reviews new WordPress plugin and theme code for security, translation and speed problems before it ships.
7/101 credit -
Checked
WordPress Performance Review
Reviews WordPress themes and plugins for slow queries, cache bypasses and memory risks, with fixes by line.
7/101 credit