woocommerce-dev-cycle — Claude Code skill: setup and workflow
woocommerce-dev-cycle guides the WooCommerce development workflow, covering targeted PHP and JavaScript tests, code formatting, and branch linting before commit.
GPL-2.0 ★ 10,608 updated 2026-10-25
npx skills add woocommerce/woocommerce --skill woocommerce-dev-cycle -a claude-codeWhat woocommerce-dev-cycle does
This skill guides contributors through the WooCommerce monorepo quality checks. Following changes, you run focused PHP tests using pnpm run test:php:env -- --filter YourTestClass and audit branch diffs via pnpm --filter=@woocommerce/plugin-woocommerce lint:changes:branch. The integrated testing harness configures WordPress and WooCommerce on its own.
Untracked files are skipped by the branch linter, requiring staged files with git add prior to the check. Automated fixing is available for PHP through pnpm --filter=@woocommerce/plugin-woocommerce lint:php:fix, whereas JavaScript formatting issues require manual intervention.
What it helps with
- Run targeted PHP test suites for specific classes in WooCommerce
- Check branch code style before submitting pull requests to CI
- Automatically format PHP files to resolve linting violations
- Verify localization conventions in JavaScript and TypeScript files
Example prompts for the agent
- Run PHP tests for the
WC_Ordertest class in the local environment - Lint all branch modifications targeting the WooCommerce plugin
- Fix PHP code style issues in changed plugin files
How to install woocommerce-dev-cycle
1Skills CLI (Vercel)
npx skills add woocommerce/woocommerce --skill woocommerce-dev-cycle -a claude-code2Manually: put the files in place
~/.claude/skills/woocommerce-dev-cycle/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/woocommerce-dev-cycle/
1Skills CLI (Vercel)
npx skills add woocommerce/woocommerce --skill woocommerce-dev-cycle -a codex2Manually: put the files in place
.agents/skills/woocommerce-dev-cycle/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add woocommerce/woocommerce --skill woocommerce-dev-cycle -a cursor2Manually: put the files in place
.cursor/skills/woocommerce-dev-cycle/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install woocommerce/woocommerce .ai/skills/woocommerce-dev-cycle2Manually: put the files in place
.github/skills/woocommerce-dev-cycle/SKILL.md1Skills CLI (Vercel)
npx skills add woocommerce/woocommerce --skill woocommerce-dev-cycle -a gemini-cli2Platform CLI
gemini skills install https://github.com/woocommerce/woocommerce --path .ai/skills/woocommerce-dev-cycleManually: put the files in place
.devin/skills/woocommerce-dev-cycle/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add woocommerce/woocommerce --skill woocommerce-dev-cycle -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about woocommerce-dev-cycle
How to install woocommerce-dev-cycle in Claude Code?
Run npx skills add woocommerce/woocommerce --skill woocommerce-dev-cycle -a claude-code. The instructions will be placed into ~/.claude/skills/woocommerce-dev-cycle/SKILL.md.
What is the purpose of woocommerce-dev-cycle?
It gives your coding agent exact procedures for running monorepo tests, fixing PHP formatting issues, and linting pull request changes.
Why does the linter ignore newly created files?
The lint:changes:branch command inspects Git-tracked files only. Stage newly added files with git add before triggering the check.