woo-guard
Skill by ibrdot
woo-guard is an agent skill that reviews generated or changed WooCommerce code before it ships. It checks extensions, payment and shipping integrations, checkout customizations, and order or product logic for HPOS, checkout and money errors.
Install woo-guard
Built from the published package, never by AI.
git clone --depth 1 https://github.com/ibrdot/swe-re-expert /tmp/swe-re-expert && mkdir -p ~/.claude/skills && cp -r /tmp/swe-re-expert/skills/woo-guard ~/.claude/skills/woo-guardRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/ibrdot/swe-re-expert /tmp/swe-re-expert && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/swe-re-expert/skills/woo-guard ~/.gemini/antigravity-cli/skills/woo-guardAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
woo-guard is an agent skill that reviews generated or changed WooCommerce code before it ships. It covers extensions, payment and shipping integrations, checkout customizations, and order or product logic. The rules target failures the source says AI agents often produce, such as reading order data with get_post_meta(), which breaks on HPOS stores, direct product meta writes, checkout validated only in JavaScript, and float arithmetic on prices.
The skill runs in three modes: a guard pass after code is written, a live mode while writing, and a review mode that produces a structured findings report without editing code. Rules 1 to 5 are must-fix items and rules 6 to 8 are should-fix items. A self-check runs before delivery. It is aimed at developers who build or maintain WooCommerce extensions.
Written from the project's SKILL.md and checked against it.
What it can do
- Guard passReviews diffs or target files after WooCommerce code has been generated or edited.
- Live modeApplies the same rules while the assistant writes WooCommerce code.
- Review modeWalks a checklist and produces a structured findings report without editing code.
- HPOS and CRUD checksFlags order data access that bypasses the WooCommerce CRUD API.
- Checkout and money checksFlags checkout validation that is client-only and float arithmetic on prices.
- Runtime and hook checksFlags unguarded WC() cart or session access and unverified hook names.
- Security floorChecks output escaping, input sanitizing, capability checks, nonces and prepared queries.
What you need
- WooCommerce code to review
- Optional: wp-guard installed for the full WordPress layer
Try asking
- Review this WooCommerce checkout change for HPOS and money handling issues.
- Run a woo-guard pass on the order logic I just generated.
- Audit my WooCommerce extension and list rule violations by file.
Good to know
- In review mode it does not edit code unless asked.
- Covers the WordPress layer only through the security floor; wp-guard handles the rest.
- Does not review store configuration, theme styling or payment provider account setup.
- Does not decide pricing or business logic.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/woo-guard/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to woo-guard
All alternatives →Shopify skill that lets an AI assistant set up and run a Shopify store through Shopify's official MCP server. It is for people who want to sell online, start a store, or manage an existing Shopify store.
Guides an AI assistant through building Shopify apps, extensions and themes. It covers the GraphQL Admin API, Shopify CLI, Polaris UI and Liquid. Intended for Shopify developers.
Searches Ticketmaster events and seat listings with pricing for people looking for event tickets. It returns Ticketmaster checkout links but cannot complete a purchase itself.
Analyzes ecommerce SEO for product pages, product schema, Google Shopping visibility, Amazon marketplace signals and keyword gaps. Built for stores, catalogs and product listings. Live Shopping and Amazon data needs the optional DataForSEO Merchant API.
Drafts replies to customer emails and tickets using order, refund, CRM and support desk data, in the owner's writing voice. Refunds and sends need the owner's approval, and with Shopify it also flags orders needing attention.
Reviews generated or changed WooCommerce code before it ships. It is for developers building extensions, payment and shipping integrations, checkout customizations, and order or product logic.
Compare with shopify, shopify-development or ticketmaster
woo-guard: common questions
Does woo-guard change code automatically?
In review mode it does not edit code unless asked. Guard-pass and live modes apply the rules while code is written or edited.
Why does HPOS matter for these checks?
The skill says get_post_meta() on order data works on legacy stores but silently breaks on HPOS stores. It asks for access through the CRUD API instead.
Does it cover the whole WordPress codebase?
No. It covers the WordPress security floor only. The source says the rest of the WordPress layer is wp-guard's job when it is installed.
How do I install woo-guard?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is woo-guard free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is woo-guard safe to use?
It scores 59 of 100. Grades: maintenance B, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to woo-guard?
Similar skills: shopify, shopify-development, ticketmaster, seo-ecommerce.
