What it does
End-to-end implementation playbook for registering WordPress Abilities API capabilities in a WooCommerce extension. Builds on the portable skills in WordPress/agent-skills (wp-abilities-api, wp-abilities-audit, wp-abilities-verify) and adds the Woo-extension scaffolding, conventions, and PR workflow. Covers audit-precondition, Domain class shape, loader-only registrar, paginated output envelope, in-plugin contract tests, and the WC 10.9 dependency boundary.
Install
This skill ships in woocommerce/agent-skills (Official, WooCommerce-extension layer, sibling of WordPress/agent-skills).
This repo's README documents a clone-and-build install rather than the npx skills add shortcut:
git clone https://github.com/woocommerce/agent-skills.git
cd agent-skills
node shared/scripts/skillpack-build.mjs --clean
node shared/scripts/skillpack-install.mjs --dest=/path/to/your/project --targets=claude,codex,vscode,cursor Drop --dest=... and add --global to install to your home directory instead, available across every project.
Use it in your AI assistant
The destination folder, and how the assistant discovers it, differs per tool:
Claude Code
.claude/skills/abilities-api-implement/ (or ~/.claude/skills/abilities-api-implement/ for all projects)
- Claude Code auto-discovers skills in .claude/skills/ (project) or ~/.claude/skills/ (global, every project).
- Claude reaches for the skill on its own when a task matches its description, or you can name it directly.
GitHub Copilot (VS Code)
.github/skills/abilities-api-implement/
- The skill is copied into .github/skills/abilities-api-implement/, where Copilot in VS Code picks it up.
- Copilot Chat applies it automatically once your task matches the skill's description.
OpenAI Codex
.codex/skills/abilities-api-implement/
- This installs the skill to .codex/skills/abilities-api-implement/, which Codex reads for standing instructions on matching tasks.
- Point Codex at it directly if needed: "follow .codex/skills/abilities-api-implement/SKILL.md for this task."
Cursor
.cursor/skills/abilities-api-implement/ (or ~/.cursor/skills/abilities-api-implement/ globally)
- Cursor discovers skills in .cursor/skills/ (project) or ~/.cursor/skills/ (global).
- Cursor loads it automatically when a request matches, same as its native Rules.
Compatibility
WordPress 6.9+, WooCommerce 10.9+, PHP 7.4+