
woocommerce-code-review
Review WooCommerce code changes for coding standards compliance
by woocommerceFree
Description
woocommerce-code-review is an agent skill that reviews WooCommerce code changes against the project's coding standards. It is for reviewing code locally, running automated reviews of pull requests, and checking code quality before a change is merged. The skill lists the violations it flags first, starting with backend PHP code. Examples include standalone functions where the project expects class methods, using new to create a class that the dependency injection container manages instead of calling the container, and placing classes outside the src/Internal folder when they are not meant to be public. It also covers naming and other conventions, and it points the reviewer to the detailed backend standards in the woocommerce-backend-dev skill for the reasoning behind each rule. The skill is meant to flag real violations of the standards and similar ones, using those standards as guidance rather than as a rigid checklist. It is part of the WooCommerce repository's agent skills and is added to a compatible agent with the skills command. Its audits from Gen Agent Trust Hub, Socket and Snyk all passed.…
Highlights
- Flags standards violations in pull requests
- Dependency injection and class placement checks
- Naming and convention review
- Uses the backend development standards
Ratings & Reviews
No ratings yet
Be the first to rate woocommerce-code-review.
People also visit

woocommerce-backend-dev
Add or modify WooCommerce backend PHP code following project conventions

code-reviewer
Thorough code review with focus on security, performance, and best practices

code-review-expert
Expert code review of current git changes with a senior engineer lens
woocommerce-code-review FAQ
What does woocommerce-code-review do?
It reviews WooCommerce code changes against the project's coding standards and flags violations.
What kinds of violations does it flag?
Examples include standalone functions in place of class methods, creating dependency-managed classes with new instead of the container, and classes outside src/Internal when they are not public.
Can it review pull requests?
Yes. The description says it is for automated PR reviews as well as local review.
How do I install it?
Run: npx skills add https://github.com/woocommerce/woocommerce --skill woocommerce-code-review
What security audits has it passed?
Gen Agent Trust Hub, Socket and Snyk all passed.
What are the best woocommerce-code-review alternatives?
Popular alternatives to woocommerce-code-review include woocommerce-backend-dev, woo-guard and wp-project-triage. See all woocommerce-code-review alternatives

















