Pular para o conteúdo
Kitbay
Skill

woocommerce-backend-dev

GPL-2.0-or-laterAtualizado em 11 de nov. de 202610.592Estrelas no GitHub

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

O que a skill ensina

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.

O que faz

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