Skip to main content
skill Claude Code CX Codex Cursor GitHub Copilot

woocommerce-code-review — Claude Code skill: what it does

Checks WooCommerce changes against PHP, JS/TS, testing, and UI copy conventions. Useful for local reviews and automated PR checks.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add woocommerce/woocommerce --skill woocommerce-code-review -a claude-code
Open on GitHub

What woocommerce-code-review does

This skill reviews WooCommerce code changes against project conventions. For PHP, it checks class structure, dependency injection, file placement, snake_case, WordPress-style conditions, enum constants, docblocks, and @since annotations. It also looks for state validation before data is changed or deleted.

For tests, the skill checks use of $sut, @testdox, test file naming, and cleanup that duplicates the base lifecycle. In JS/TS it flags a file importing from its own package barrel when that barrel re-exports the file, which can create a circular dependency. It also catches Title Case in UI text where sentence case is expected. For a complete review, consult woocommerce-backend-dev, woocommerce-dev-cycle, and woocommerce-copy-guidelines, because this skill points to them for detailed standards and examples.

Findings are grouped by issue type and tied to a file, line, relevant standard, and suggested fix. The skill can be used with Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, and OpenCode.

What it helps with

  • check PHP changes against WooCommerce conventions
  • spot self-imports from a re-exporting package barrel
  • find missing docblocks and @since annotations
  • catch test cleanup duplicated by the fixture lifecycle
  • flag Title Case in UI copy

Example prompts for the agent

  • Review the current WooCommerce changes and group findings by issue type.
  • Review the PHP code in this PR. Give the file, line, standard, and a concise fix for each issue.
  • Check the JS/TS and UI copy for barrel self-imports and sentence-case violations.

How to install woocommerce-code-review

1Skills CLI (Vercel)

npx skills add woocommerce/woocommerce --skill woocommerce-code-review -a claude-code

2Manually: put the files in place

~/.claude/skills/woocommerce-code-review/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/woocommerce-code-review/

From the same set2

The whole set →

Similar

cso garrytan Audits code and infrastructure for security findings, with reproduction and repair candidates in comprehensive mode. Use it when reviewing a project. Claude Code CX Codex Cursor +1 405installs ai-slop-cleaner Yeachan-Heo Cleans bloated AI-generated code by deleting dead logic and duplicate abstractions. It keeps current behavior locked under regression tests. Claude Code CX Codex Cursor +1 1,500installs gitnexus-guide abhigyanpatwari Reference guide for GitNexus MCP tools and knowledge graph schema. Helps coding agents navigate codebase dependencies and pick the right analysis tool. Claude Code CX Codex Cursor +1 806installs use-modern-go JetBrains Checks Go code against current, version-specific idioms. Useful before writing, fixing, or refactoring project code. Claude Code CX Codex Cursor +1 2,600installs debug-issue tirth8205 This skill traces bugs through a code graph before source inspection, then checks call paths and change impact. Use it when an issue needs a narrower debugging scope. Claude Code CX Codex Cursor +1 1,000installs senior-architect sickn33 A skill for designing and reviewing system architecture based on explicit requirements, tradeoffs and evidence. Helps you choose an approach by examining current state, alternatives and risks. Claude Code CX Codex Cursor +1 2,200installs improve-codebase-architecture Matt Pocock This skill scans a codebase for architectural friction, then builds a visual HTML report with refactoring candidates. Use it before a deeper architecture review. Claude Code 1,163,035installs tdd Matt Pocock Guides the red-green TDD loop: ensures tests are written first, keep them at public interfaces, and avoid coupling to implementation details. Claude Code 1,141,062installs

Questions about woocommerce-code-review

How do I install woocommerce-code-review in Claude Code?

Run npx skills add woocommerce/woocommerce --skill woocommerce-code-review -a claude-code, then run npx skills add woocommerce/woocommerce --skill woocommerce-code-review -a claude-code again. The skill file is at ~/.claude/skills/woocommerce-code-review/SKILL.md.

What does woocommerce-code-review do?

It reviews WooCommerce changes for PHP, JS/TS, testing, and UI copy conventions. Each finding includes a location, the relevant standard, and a suggested fix.

Which PHP issues does it check?

It checks standalone functions instead of class methods, new for DI-managed classes, camelCase names, missing @since or docblocks, raw values where enum constants apply, and missing state validation before data changes or deletion.

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor