skillfed

woocommerce-code-review

Validates WooCommerce code changes for compliance with project standards, including PHP architecture patterns, naming conventions, documentation requirements, and UI copy guidelines. Flags violations with references to relevant standard documentation and provides corrective examples.

WooCommerce Code Review checks your code changes against WooCommerce coding standards and conventions.

AI-generated summary based on this skill's SKILL.md

196 29 MIT updated by secondsky

Install

secondsky/claude-skills/woocommerce-code-review · repository language: TypeScript

git clone https://github.com/secondsky/claude-skills
cp -r claude-skills/plugins/woocommerce-code-review/skills/woocommerce-code-review ~/.claude/skills/woocommerce-code-review
npx skillfed install secondsky/claude-skills/woocommerce-code-review

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

How does woocommerce-code-review check woo commerce coding standards compliance?

woocommerce-code-review validates code changes against WooCommerce project standards by examining PHP architecture patterns, naming conventions, documentation requirements, and UI copy guidelines. It flags violations with references to relevant standard documentation and provides corrective examples to help developers align their code with established practices.

Can woocommerce-code-review automate PR code review for WooCommerce projects?

Yes, woocommerce-code-review automates PR code review by systematically inspecting backend PHP code, validating docblocks and naming standards, checking test compliance, and reviewing UI text against WooCommerce guidelines. This automation reduces manual review overhead while ensuring consistent application of coding standards across pull requests.

What backend PHP violations does woocommerce-code-review flag?

woocommerce-code-review flags backend PHP violations and architecture issues including improper design patterns, non-compliant naming conventions, missing or incorrect documentation, inadequate test coverage, and violations of WooCommerce architectural standards. Each flagged issue includes references to relevant documentation and suggested corrections.

Does woocommerce-code-review validate documentation and naming standards?

woocommerce-code-review validates documentation, naming, and testing standards compliance as core functions. It checks docblock completeness and accuracy, verifies naming conventions across classes and functions, and ensures test code meets WooCommerce standards, helping maintain code quality and maintainability.

Can woocommerce-code-review review woocommerce code for standards in UI text?

woocommerce-code-review includes UI text and copy validation against WooCommerce guidelines. While this represents a smaller portion of its review scope, it ensures that user-facing strings comply with project standards for tone, terminology, and localization readiness.

What license does woocommerce-code-review use?

woocommerce-code-review is released under the MIT license, allowing free use, modification, and distribution in both open-source and commercial projects with minimal restrictions.

SKILL.md

rendered from the published skill — quoted content, verbatim

WooCommerce Code Review

Review code changes against WooCommerce coding standards and conventions.

Critical Violations to Flag

Backend PHP Code

Consult the woocommerce-backend-dev skill for detailed standards. Using these standards as guidance, flag these violations and other similar ones:

Architecture & Structure:

Naming & Conventions:

  • camelCase naming - Must use snake_case for methods/variables/hooks (code-entities.md)
  • **Yoda

(truncated - see the full file via the links below)

Read as markdown · JSON record · Browse the source repository

File tree — 1 file
plugins/woocommerce-code-review/skills/woocommerce-code-review/SKILL.md

Related skills

Tags

static-analysis code-linting pr-automation php-standards architecture-review documentation-audit naming-conventions quality-gates