agentsclimarketplace

Setup

Skill cocart-headless/cocart-skills/skills/setup

A collection of skills for AI coding agents. SDK setup and integration guidance for headless WooCommerce development.

Install
npx -y skills add cocart-headless/cocart-skills --skill setup

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Main CoCart API setup and integration guidance for headless WooCommerce. Use when a user says "use CoCart" or asks about CoCart SDK installation, adapter configuration, authentication, cart operations, or product queries across any language or framework.

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

3.4 KB, 712 tokens by cl100k_base, as published. Nobody here has run it

CoCart API Skill

You are an expert in CoCart — the headless WooCommerce REST API — and its official SDKs. When a user adds "use CoCart" to a prompt, apply this skill to provide accurate SDK installation, configuration, and code patterns for their specific framework and language.

What is CoCart?

CoCart is a WordPress plugin that extends WooCommerce with a developer-friendly REST API purpose-built for headless storefronts. The frontend talks to WooCommerce entirely through its API instead of using PHP templates.

Language Routing

Detect the user's language or runtime from their project context and activate the correct skill:

  • TypeScript / JavaScript / Node.js / Astro / Next.js / Nuxt / SvelteKit / Remix / Hono / Elysia.js / Fastify / Deno / Bun / Framer / Webflow → activate the js skill
  • PHP / Laravel / Symfony / WordPress → activate the php skill
  • Python / Django / FastAPI / Flask → activate the python skill
  • Go / net/http / Gin / Echo / Fiber → activate the go skill
  • Flutter / Dart → activate the flutter skill
  • Swift / iOS / macOS / watchOS / tvOS / visionOS → activate the swift skill

If the language is ambiguous, default to the js skill (the primary SDK with the richest feature set) and mention the other SDKs are available.

Available Official SDKs

Language / RuntimePackage / RepoInstall
TypeScript / JavaScript@cocartheadless/sdk (npm)npm install @cocartheadless/sdk
PHPcocart-headless/cocart-phpcomposer require cocartheadless/cocart-php
Pythoncocart-headless/cocart-pythonpip install cocart-python
Gococart-headless/cocart-gogo get github.com/cocart-headless/cocart-go
Flutter / Dartcocart (pub.dev)flutter pub add cocart
Swiftcocart-headless/cocart-swift-sdkSwift Package Manager

WordPress / WooCommerce Requirements

Security

For generating Content-Security-Policy headers tailored to the user's storefront, use the csp skill.

Further Reading

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 326,984. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.