Skip to main content
skill CX Codex

woocommerce-store-api — Claude Code skill: API and setup

This skill guides WooCommerce Store API route work, from schema design to cart and checkout integrations. Use it when adding or changing /wc/store/v1/ endpoints.

GPL-2.0 251 installs ★ 10,608 updated 2026-10-25

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add woocommerce/woocommerce --skill woocommerce-store-api -a claude-code
Open on GitHub

What woocommerce-store-api does

The skill focuses on WooCommerce Store API routes under /wc/store/v1/. It covers route paths, parameter placement, response and schema alignment, status codes, and resource design for blocks or other clients. The guidance applies when creating an endpoint or changing an existing contract.

Its reference material covers authentication, nonce handling, cart sessions, idempotency, product variations, and response preparation. A route that changes cookie-backed user state needs AbstractCartRoute or equivalent CSRF protection; AbstractRoute alone is not enough. Variation identity must be resolved from the product on the server.

It complements woocommerce-backend-dev and woocommerce-performance. The skill is available for Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, and OpenCode.

What it helps with

  • add a route under /wc/store/v1/
  • design a resource schema for a frontend client
  • align an API response with its declared schema
  • resolve product variations on the server
  • protect cart mutations from CSRF

Example prompts for the agent

  • Add a WooCommerce Store API route under /wc/store/v1/ for coupon data and define its response schema.
  • Review the cart route and check its path, parameters, status codes, and schema together.
  • Connect the checkout block to a Store API route and verify nonce handling and variation resolution.

How to install woocommerce-store-api

1Skills CLI (Vercel)

npx skills add woocommerce/woocommerce --skill woocommerce-store-api -a claude-code

2Manually: put the files in place

~/.claude/skills/woocommerce-store-api/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/woocommerce-store-api/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about woocommerce-store-api

How do I install woocommerce-store-api in Claude Code?

Run npx skills add woocommerce/woocommerce --skill woocommerce-store-api -a claude-code, then check ~/.claude/skills/woocommerce-store-api/SKILL.md.

What does woocommerce-store-api do?

It guides route design and changes for WooCommerce Store API, including schemas, responses, authentication, cart state, and product variations.

Which base class should a cart-changing route use?

Use AbstractCartRoute for nonce and cart-session handling, or provide equivalent CSRF protection. AbstractRoute is intended for routes without that machinery.

Similar skills

All skills for Backend and APIs →

From the same set9

woocommerce-backend-dev woocommerce-backend-dev is a Claude Code skill for WooCommerce PHP that follows project standards when creating classes, changing backend code, or writing unit tests. CX Codex +1 2,400installs woocommerce-code-review woocommerce-code-review is a Claude Code skill that inspects WooCommerce code changes against project coding standards. It runs during local branch checks and automated pull request reviews. CX Codex +1 1,900installs woocommerce-performance woocommerce-performance flags database and caching bottlenecks in WooCommerce PHP code. Useful when writing custom SQL queries or rendering catalog lists. CX Codex +1 372installs woocommerce-git-commit woocommerce-git-commit prepares clean Git commits following WooCommerce conventions, splits changelog entries, and stages specific files without pushing. CX Codex +1 121installs woocommerce-git-draft-pr woocommerce-git-draft-pr turns the current branch into a draft pull request: reads commits and diff, fills the repo template, pushes and opens the PR. CX Codex +1 119installs woocommerce-dev-cycle woocommerce-dev-cycle guides the WooCommerce development workflow, covering targeted PHP and JavaScript tests, code formatting, and branch linting before commit. CX Codex +1 ★ 10,608repo stars woocommerce-markdown The woocommerce-markdown skill applies WooCommerce’s Markdown conventions when you write or edit documentation, README files, and other Markdown content. CX Codex +1 1installs woocommerce-email-editor woocommerce-email-editor — a skill for building the WooCommerce block email editor. Use it when working on transactional emails and templates. CX Codex +1 1installs

Project sponsors

Companies that keep this analytics open