Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 59
  • 4 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-guard

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install woo-guard in Claude Code

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

A

No 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 →

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.

woo-guard Install

Add to stack

Loading.