woocommerce-dev-cycle

Run PHP and JavaScript tests and linting for WooCommerce development.

10.5k|10.7k|Updated Aug 9, 2011
One-click install
npx skills add https://github.com/woocommerce/woocommerce --skill woocommerce-dev-cycle
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: woocommerce-dev-cycle
Source: https://github.com/woocommerce/woocommerce/tree/main/.ai/skills/woocommerce-dev-cycle
Command: npx skills add https://github.com/woocommerce/woocommerce --skill woocommerce-dev-cycle

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pnpm, composer, markdownlint-cli, and includes references (resource) components.

What problem does it solve?

This Skill eliminates the tedious manual work of running tests, linting, and code quality checks, which often slows down the WooCommerce development cycle and introduces inconsistencies. It automates these critical steps, allowing developers to focus on coding rather than repetitive verification.

Core Features & Use Cases

  • Automated Testing: Easily run PHP and JavaScript unit tests, ensuring new code functions as expected and preventing regressions.
  • Code Quality Enforcement: Automatically check and fix PHP and Markdown linting issues, maintaining high coding standards across the project.
  • Streamlined Workflow: Provides a clear, guided development workflow from making changes to committing, ensuring all quality gates are met efficiently.
  • Use Case: A developer has implemented a new feature in a WooCommerce plugin. Instead of manually executing multiple test and linting commands, they use this skill to automatically run all necessary checks, fix style issues, and verify readiness for commit, saving significant time and ensuring code quality.

Quick Start

Use the woocommerce-dev-cycle skill to run all PHP tests and fix any PHP linting issues in my current branch.

Frequently Asked Questions about woocommerce-dev-cycle

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate PHP and JavaScript testing in WooCommerce development?

Automate testing by running prescribed pnpm scripts and PHP test execution through this Skill, which orchestrates both unit test suites and manages WordPress/WooCommerce environment setup to catch regressions automatically without manual command execution.

Can I fix PHP and Markdown linting issues automatically in my WooCommerce workflow?

Yes. This Skill applies lint-fix procedures for both PHP and Markdown across your branch, automatically correcting style violations and maintaining code quality standards without requiring separate tool invocations.

What's the best way to ensure code quality gates are met before committing WooCommerce changes?

Run all quality checks in one step using this Skill, which executes tests, linting, and branch-specific checks simultaneously, verifying readiness for commit and eliminating manual verification of multiple gates.

Does this work with pnpm, Composer, and Markdown linting tools?

Yes. This Skill requires pnpm, Composer, and markdownlint-cli as dependencies and orchestrates all three across PHP, JavaScript, and documentation linting within a single development workflow.

How do I troubleshoot test and linting failures in WooCommerce development?

This Skill guides troubleshooting steps as documented in running-tests.md, code-quality.md, and markdown-linting.md, directing you to resolution procedures when quality checks fail.