Zum Inhalt springen
Kitbay
Skill

woocommerce-backend-dev

GPL-2.0-or-laterAktualisiert am 11. Nov. 202610.592GitHub-Sterne

A contributor skill kept in the WooCommerce repository for agents writing or changing WooCommerce's own back-end PHP.

Was der Skill vermittelt

A contributor skill kept in the WooCommerce repository for agents writing or changing WooCommerce's own back-end PHP. It must be used before writing unit tests, new classes or hooks, and points to companion files on file layout, naming, coding style, PHPStan-aware type annotations, hook callbacks, the dependency injection container, data integrity in CRUD code and unit test conventions. Key rules include using class methods instead of standalone functions, placing internal classes under src/Internal, and following the WordPress coding standards.

Funktionen

  • Follow WooCommerce PHP coding conventions
  • Write WooCommerce unit tests
  • Use the WooCommerce dependency injection container