woocommerce-email-editor — Claude Code skill: setup guide
woocommerce-email-editor — a skill for building the WooCommerce block email editor. Use it when working on transactional emails and templates.
GPL-2.0 1 installs ★ 10,608 updated 2026-10-25
npx skills add woocommerce/woocommerce --skill woocommerce-email-editor -a claude-codeWhat woocommerce-email-editor does
The skill sets up the environment for the WooCommerce email editor: starts wp-env, runs a watcher to build JS and sync the PHP package, enables the editor in settings. To test sending, it configures Mailpit as a local SMTP server — emails appear at http://localhost:8025.
It includes commands to run PHP package tests, PHPStan and PHPCS linters, and rebuild the JS package. Paths to the Email Editor packages (PHP and JS) and the .wp-env.override.json config are in the instructions.
Without Docker and Composer, tests and linters will not run. If port 8888 is taken, wp-env assigns another — check wp-env info output.
What it helps with
- set up environment for WooCommerce email editor development
- configure local SMTP to test transactional emails
- run tests and linters for the Email Editor PHP package
- rebuild the editor JS package after changes
- sync PHP and JS changes during development
Example prompts for the agent
- Set up the WooCommerce email editor environment
- Configure Mailpit to test email sending
- Run tests for the Email Editor PHP package
How to install woocommerce-email-editor
1Skills CLI (Vercel)
npx skills add woocommerce/woocommerce --skill woocommerce-email-editor -a claude-code2Manually: put the files in place
~/.claude/skills/woocommerce-email-editor/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/woocommerce-email-editor/
1Skills CLI (Vercel)
npx skills add woocommerce/woocommerce --skill woocommerce-email-editor -a codex2Manually: put the files in place
.agents/skills/woocommerce-email-editor/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add woocommerce/woocommerce --skill woocommerce-email-editor -a cursor2Manually: put the files in place
.cursor/skills/woocommerce-email-editor/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install woocommerce/woocommerce .ai/skills/woocommerce-email-editor2Manually: put the files in place
.github/skills/woocommerce-email-editor/SKILL.md1Skills CLI (Vercel)
npx skills add woocommerce/woocommerce --skill woocommerce-email-editor -a gemini-cli2Platform CLI
gemini skills install https://github.com/woocommerce/woocommerce --path .ai/skills/woocommerce-email-editorManually: put the files in place
.devin/skills/woocommerce-email-editor/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add woocommerce/woocommerce --skill woocommerce-email-editor -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-email-editor
How to install woocommerce-email-editor in Claude Code?
Run npx skills add woocommerce/woocommerce --skill woocommerce-email-editor -a claude-code. The skill will be in ~/.claude/skills/woocommerce-email-editor/SKILL.md.
What does woocommerce-email-editor do?
It sets up the environment for WooCommerce block email editor development: starts wp-env, runs the watcher, connects Mailpit for testing. Provides commands to build, test and lint the Email Editor packages.
What does woocommerce-email-editor require?
Docker for wp-env and Mailpit, Composer for PHP tests and linters. The environment will not start without them.