Skip to content

Repository files navigation

Next Commerce AI Skills

Pre-built skills that give AI coding agents deep knowledge of the Next Commerce platform — APIs, CLI workflows, architecture patterns, and gotchas — so they can work autonomously on your store.

Skills are structured markdown files. Any AI tool that accepts a context file or system prompt can use them. They work with Claude Code, OpenAI Codex, Cursor, GitHub Copilot, and any other agent that reads markdown.

Skills

Skill Domain What It Does
Theme Figma Handoff Storefronts Turn a Figma storefront design into a validated, low-inference handoff package for next-theme-dev: sections, assets, geometry, copy, and design tokens.
Theme Development Storefronts Build, modify, and debug Next Commerce storefront themes: Spark, Intro Bootstrap, Theme Settings, ntk CLI, DTL templates, and storefront GraphQL.
Bulk Fulfillment Tracking Sync Operations Mark orders Fulfilled with tracking numbers from a CSV when a fulfillment provider's sync-back fails.
Bulk Fulfillment Order Move Operations Move fulfillment orders between warehouse locations in bulk, from a file of order numbers or a product/SKU list.
Bulk Subscription Actions Operations Pause, cancel, or update subscriptions in bulk from a CSV/XLSX of subscription IDs, with dry-run and verification.
Daily Ops Risk Scan Operations Read-only daily risk scan for one store: Incomplete and Rejected orders, delivery-tracking failures, and stale shipments.
New Campaign Setup Campaigns Scaffold and configure a new campaign-page-kit campaign end to end: project, starter template, config, and analytics.
Campaign Provisioning Campaigns Create a launch-ready Campaigns App campaign over the Admin API: packages, shipping, and tier and voucher offers, behind a plan-hash approval gate.

Each skill directory holds a README.md for the person running it (what it does, what you need, how to ask for it) and a SKILL.md with the technical instructions the agent follows. For design-led theme work, run next-theme-figma before next-theme-dev.

Quick Start

Clone the repo and run the guided installer. It previews changes before writing and installs into the skill directory of the agent you pick:

git clone https://github.com/NextCommerceCo/skills.git
cd skills
./skills.sh

Then restart your agent session so the new instructions are loaded, and ask for the work in plain language. For example:

Run the daily ops risk scan for my store and give me the CSV.

Two alternatives:

  • No checkout. The skills CLI pulls SKILL.md files straight from GitHub: npx skills add NextCommerceCo/skills -g installs everything for your detected agent; add --skill next-theme-dev for one skill or -a codex to target an agent. npx skills update refreshes them later.

  • Ask your AI tool. Paste this into the agent:

    Install the Next Commerce AI skill I need from https://github.com/NextCommerceCo/skills. Prefer cloning the repo and running ./skills.sh, choosing the installation location for my current AI tool. If a local checkout is not appropriate, use the public npx skills installer or load the relevant SKILL.md as context.

If your tool has no native skill directory, load the relevant SKILL.md as a system prompt, context file, rule, or chat upload.

Installer Reference

./skills.sh reads skills.json with Python 3 and manages these targets:

Target Directory
claude ~/.claude/skills
codex ~/.codex/skills
agents ~/.agents/skills
all all of the above
./skills.sh status                              # compare source and installed versions
./skills.sh install codex                       # install or upgrade every skill for Codex
./skills.sh install codex next-ops-scan         # one skill
./skills.sh status --target /tmp/next-skills    # any directory
./skills.sh install --force --target /tmp/next-skills next-ops-scan

status is read-only. A stale row means the installed version is older; modified means the versions match but files differ; local-newer means the installed copy has a later version; unknown-version means one side does not use X.Y.Z. install upgrades missing or stale copies and refuses to overwrite modified, local-newer, or unknown-version copies unless you pass --force. Review those directories first. dry-run remains as a deprecated alias for status.

First installs are staged and moved into place. Updates use rsync --delete, so a forced update removes files that are not in the source package; install rsync on minimal environments that lack it. Pull with git pull --ff-only before running status or install from a checkout.

Updating

An installed skill is a copy. It does not change when this repository does. next-campaigns-create (named next-create-campaign at 0.5.0) tells its agent to run the launcher's check-update command first, which reports a newer version and the update command for your copy. Running the launcher's other commands directly skips the check. The other skills do not notify you yet, so check before starting work that depends on one.

  • See what you have. A skill's version is the version: line in its installed SKILL.md. From a checkout, ./skills.sh status compares each installed copy with the source and marks older copies stale. A skill that ships a launcher prints it too, for example bash ~/.claude/skills/next-campaigns-create/next-campaigns-create.sh --version.

  • Check for a newer one. From a checkout, run git pull --ff-only and then ./skills.sh status. Without a checkout, compare your version with that skill's version in skills.json on main.

  • Update. From a checkout, ./skills.sh install <target> <skill> replaces a stale copy; the Installer Reference above covers modified rows and --force. With the skills CLI, run npx skills update. Restart the agent session afterwards.

  • Read what changed. Each version bump ships in a pull request titled <skill> X.Y.Z: summary, and its description is the release note, breaking changes included. Search the merged pull requests for the skill's name.

  • Renamed skills. next-create-campaign became next-campaigns-create at 0.6.0. A copy under the old name is not updated by the installer or the skills CLI, and its check-update reports that it could not check, because the catalog no longer lists that name. Move it in one step: install the new name, then delete the old folder. From a checkout, ./skills.sh install <target> next-campaigns-create && rm -r <target-dir>/next-create-campaign, or without one, npx skills add NextCommerceCo/skills -g --skill next-campaigns-create && npx skills remove -g next-create-campaign. Release notes before the rename are under the old name.

The repository has no git tags, GitHub Releases or changelog files yet.

Machine-Readable Index

skills.json is the canonical catalog. It drives installer enumeration, the generated table above, and CI package-parity checks, and it lists each skill's runtime, access, and tool requirements. An agent can fetch this one file to decide which skill to load.

Contributing

Adding or changing a skill, the versioning rules CI enforces, the public-safety scanner, and issue tracking are covered in CONTRIBUTING.md. Release notes for each version bump live in the merged pull request that carried it.

About

AI skills for the Next Commerce platform — theme development, fulfillment operations, and store management. Works with Claude Code, Codex, Cursor, Copilot, and any AI agent.

Resources

Contributing

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages