Pular para o conteúdo
Kitbay
Skill

woocommerce-dev-cycle

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

A contributor skill kept in the WooCommerce repository for the development loop when changing the WooCommerce plugin for WordPress.

O que a skill ensina

A contributor skill kept in the WooCommerce repository for the development loop when changing the WooCommerce plugin for WordPress. The agent makes the change, runs the PHP tests for the class it touched in the repository's test environment, which sets up WordPress and WooCommerce on its own, and then runs the branch lint command that checks PHP and JavaScript the same way CI does, staging new files first so they are included. PHP issues can be fixed with the lint fix script, JavaScript issues by hand, and lint errors are fixed only in code the branch changed. It links to five reference files on tests, code quality, PHP lint patterns, translatable strings and Markdown linting, and commits only after tests pass.

O que faz

  • Run filtered PHP tests for WooCommerce
  • Lint changed PHP and JavaScript like CI
  • Fix PHP style issues automatically