WooCommerce Code Guard
amElnagdy/guard-skills
Reviews generated or changed WooCommerce code for HPOS safety, CRUD use, checkout validation and money handling before it ships.
Reviews WooCommerce code changes against the project's standards, flagging backend PHP architecture, naming, documentation, data integrity and testing violations.
$ npx skills add woocommerce/woocommerce --skill woocommerce-code-review -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install woocommerce/woocommerce woocommerce-code-review --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/woocommerce/woocommerce.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.ai/skills/woocommerce-code-review .claude/skills/woocommerce-code-review && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "woocommerce-code-review" agent skill from https://github.com/woocommerce/woocommerce/tree/trunk/.ai/skills/woocommerce-code-review into .claude/skills/woocommerce-code-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "woocommerce-code-review", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/woocommerce/woocommerce/tree/trunk/.ai/skills/woocommerce-code-reviewType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add woocommerce/woocommerce --skill woocommerce-code-review -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install woocommerce/woocommerce woocommerce-code-review --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/woocommerce/woocommerce.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.ai/skills/woocommerce-code-review .agents/skills/woocommerce-code-review && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "woocommerce-code-review" agent skill from https://github.com/woocommerce/woocommerce/tree/trunk/.ai/skills/woocommerce-code-review into .agents/skills/woocommerce-code-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "woocommerce-code-review", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add woocommerce/woocommerce --skill woocommerce-code-review -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install woocommerce/woocommerce woocommerce-code-review --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/woocommerce/woocommerce.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.ai/skills/woocommerce-code-review .cursor/skills/woocommerce-code-review && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "woocommerce-code-review" agent skill from https://github.com/woocommerce/woocommerce/tree/trunk/.ai/skills/woocommerce-code-review into .cursor/skills/woocommerce-code-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "woocommerce-code-review", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/woocommerce/woocommerce.git --path .ai/skills/woocommerce-code-review--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add woocommerce/woocommerce --skill woocommerce-code-review -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install woocommerce/woocommerce woocommerce-code-review --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/woocommerce/woocommerce.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.ai/skills/woocommerce-code-review .gemini/skills/woocommerce-code-review && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "woocommerce-code-review" agent skill from https://github.com/woocommerce/woocommerce/tree/trunk/.ai/skills/woocommerce-code-review into .gemini/skills/woocommerce-code-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "woocommerce-code-review", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install woocommerce/woocommerce woocommerce-code-reviewInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add woocommerce/woocommerce --skill woocommerce-code-review -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/woocommerce/woocommerce.git skills-src && mkdir -p .github/skills && cp -r skills-src/.ai/skills/woocommerce-code-review .github/skills/woocommerce-code-review && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "woocommerce-code-review" agent skill from https://github.com/woocommerce/woocommerce/tree/trunk/.ai/skills/woocommerce-code-review into .github/skills/woocommerce-code-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "woocommerce-code-review", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add woocommerce/woocommerce --skill woocommerce-code-review -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install woocommerce/woocommerce woocommerce-code-review --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/woocommerce/woocommerce.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.ai/skills/woocommerce-code-review .opencode/skills/woocommerce-code-review && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "woocommerce-code-review" agent skill from https://github.com/woocommerce/woocommerce/tree/trunk/.ai/skills/woocommerce-code-review into .opencode/skills/woocommerce-code-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "woocommerce-code-review", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
woocommerce-code-reviewReviews WooCommerce code changes against the project's standards, flagging backend PHP architecture, naming, documentation, data integrity and testing violations.
The review defers to the `woocommerce-backend-dev` skill for detailed standards and flags violations like those it lists. On architecture, it flags standalone functions where class methods are required, `new` used for classes that the container manages in `src/` instead of `$container->get()`, and classes placed outside `src/Internal/` unless they are explicitly public. On naming, it flags camelCase instead of snake_case for methods, variables and hooks, Yoda condition violations and raw string literals where an enum constant exists, with an exception for install and upgrade code.
Documentation checks cover missing `@since` annotations on public and protected methods and hooks, missing docblocks and docblocks that are longer than a single line needs. A data-integrity check requires verifying state before deleting or modifying anything. Testing checks flag `$instance` where `$sut` is required, missing `@testdox` annotations and test files that break the naming convention for `includes/` versus `src/`. It is meant for local reviews and automated pull request reviews.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 6173f77. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
WooCommerce Code Review loads about 1.1k tokens when it runs. Until then it costs about 45 tokens; SKILL.md has 386 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 386 words (~1,132 tokens).
“Review code changes against WooCommerce coding standards and conventions.”
Just SKILL.md in .ai/skills/woocommerce-code-review of woocommerce/woocommerce.
Open the folder on GitHubat commit 6173f77
We found 7 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 3 other GitHub owners. This page covers the copy in woocommerce/woocommerce, which our catalogue first saw on October 7, 2026.
WooCommerce Code Review next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| WooCommerce Code Review this skillwoocommerce/woocommerce | 11k | 3 repos | ~1.1k | Automated safety check: Pass | Custom licence | |
| WooCommerce Code GuardamElnagdy/guard-skills | 1.3k | — | ~2.2k | Automated safety check: Pass | MIT | |
| Code Revieweralirezarezvani/claude-skills | 28k | 1 repos | ~1.6k | Automated safety check: Pass | MIT | |
| Skill Doli Code ReviewDolibarr/dolibarr | 7.7k | 1 repos | ~1.1k | Automated safety check: Pass | MIT | |
| Code Review Skillawesome-skills/code-review-skill | 2.1k | — | ~2.8k | Automated safety check: Notes | MIT | |
| Code Reviewerjewbetcha/opentrace | 116 | 2 repos | ~1.1k | Automated safety check: Notes | MIT |
amElnagdy/guard-skills
Reviews generated or changed WooCommerce code for HPOS safety, CRUD use, checkout validation and money handling before it ships.
alirezarezvani/claude-skills
Code review automation for TypeScript, JavaScript, Python, Go, Swift, Kotlin, C, .NET, Java, C, C++, Rust, Ruby, PHP, and Dart/Flutter.
Dolibarr/dolibarr
Reviews Dolibarr PHP code for compliance with coding standards and security best practices, and fixes identified issues.
awesome-skills/code-review-skill
Provides comprehensive code review guidance for React 19, Vue 3, Angular 17+, Svelte 5, Rust, TypeScript, Java, Java 8, PHP, Ruby, Rails, Python, Django, FastAPI, Go, C/.NET, Kotlin, Swift, Dart…
jewbetcha/opentrace
Comprehensive code review skill for TypeScript, JavaScript, Python, Swift, Kotlin, Go.
Automattic/wordpress-activitypub
PHP coding standards and WordPress patterns for ActivityPub plugin.
woocommerce/woocommerce
Rules for writing and editing markdown in the WooCommerce repository, with the project's markdownlint settings for headings, lists and code blocks.
woocommerce/woocommerce
Sets up a local environment for the WooCommerce block email editor, with a watcher, Mailpit email capture and build and test commands for its PHP and JS packages.
woocommerce/woocommerce
Workflow for WooCommerce development: run PHP and JavaScript tests, lint and fix code style on the current branch, and follow guides for i18n and markdown.
woocommerce/woocommerce
Commits pending changes with short, verb-first messages that follow WooCommerce repository conventions, splitting commits only when changes are clearly unrelated.
woocommerce/woocommerce
Opens a concise draft pull request for the current branch, working out change type, base branch, title and body from the commits and diff.
woocommerce/woocommerce
Starts, stops, restarts, and troubleshoots the WooCommerce Core wp-env setup and its asset build watchers without re-reading the setup docs.
Works with
Categories
Reviews WooCommerce code changes against the project's standards, flagging backend PHP architecture, naming, documentation, data integrity and testing violations. The review defers to the `woocommerce-backend-dev` skill for detailed standards and flags violations like those it lists. On architecture, it flags standalone functions where class methods are required, `new` used for classes that the container manages in `src/` instead of `$container->get()`, and classes placed outside `src/Internal/` unless they are explicitly public.
WooCommerce Code Review fits situations like: reviewing a WooCommerce pull request before merge; checking PHP changes for naming, docblock and dependency injection violations; reviewing new unit tests for naming and annotation conventions.
Run `npx skills add woocommerce/woocommerce --skill woocommerce-code-review -a claude-code`. Or copy the skill folder (.ai/skills/woocommerce-code-review in woocommerce/woocommerce) into .claude/skills/woocommerce-code-review in your project. Claude Code loads it when a task matches its description.
Run `npx skills add woocommerce/woocommerce --skill woocommerce-code-review -a codex`. Or copy the skill folder (.ai/skills/woocommerce-code-review in woocommerce/woocommerce) into .agents/skills/woocommerce-code-review in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add woocommerce/woocommerce --skill woocommerce-code-review -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/woocommerce-code-review, .gemini/skills/woocommerce-code-review, .github/skills/woocommerce-code-review and .opencode/skills/woocommerce-code-review in your project.
SKILL.md names no scripts, command-line tools or credentials: WooCommerce Code Review is instructions for the agent only. Our summary lists: The `woocommerce-backend-dev` skill for the detailed standards.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
WooCommerce Code Review has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.
About 1.1k tokens (SKILL.md is roughly 4.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with WooCommerce Code Review: WooCommerce Code Guard (amElnagdy/guard-skills, 1.3k stars), Code Reviewer (alirezarezvani/claude-skills, 28k stars), Skill Doli Code Review (Dolibarr/dolibarr, 7.7k stars) and Code Review Skill (awesome-skills/code-review-skill, 2.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
woocommerce (a GitHub organization) maintains it in woocommerce/woocommerce, which has 10,538 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on October 7, 2026.
Source: woocommerce/woocommerce on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.