Contributing¶
Thanks for considering a contribution to commerce-agent-skills. The maintainer is Naser Sadrmanesh.
What this repository holds¶
Skills and rules for AI coding agents working on e-commerce and marketplace products. A change should state a procedure, a constraint, or a check an agent can run. Do not add a claim about adoption, performance, or compatibility that this repository has not established.
The license is MIT. Copyright (c) 2026 Naser Sadrmanesh. Contributions are made under the same license.
Set up¶
Install Node.js 20 or newer. There is no dependency install.
node scripts/validate-skills.mjs
node scripts/generate-catalog.mjs --check
node scripts/run-evals.mjs
node --test
Add or change a skill¶
- Create
skills/<name>/SKILL.md. The directory name and thenamefield match. Use lowercase letters, digits, and single hyphens. - Write a description of 100 to 320 characters that says what the skill does and includes
Use when. - Set
licensetoMITand metadataauthortoNaser Sadrmanesh. Quoteversionas theversioninpackage.json, currently"0.3.2". - Keep
SKILL.mdat or under 500 lines, with## Gotchas,## Verification, and## Evaluationsections. Put long notes inreferences/and mention each file fromSKILL.md. - If you add a script, use Node.js built-in modules only, set
compatibility, and cover the script with a test intest/. - Add
rules/<name>.md: plain Markdown, 8 to 80 lines, starting with the same heading asSKILL.md. - Add
evals/tasks.jsonwith at least two tasks and a worked example atevals/examples/<id>.mdfor each task. One task must includemust_not_include. Everymust_includestring must appear in the skill, its rule, or its references. - Add the skill name to
skills/catalog-order.txtand to one category inwebsite/categories.json. - Regenerate the catalog:
API names, hooks, and headers should match the product's current developer documentation. Say which behavior you relied on when it is easy to get wrong. Do not invent an endpoint, a filter name, or a default.
Pull requests¶
Use a focused branch. The pull request should say what changed and how you ran the validator and tests.
Keep authorship on the contributor and the repository copyright holder. Do not add product-specific agent configuration directories.
Mirrors¶
.github/workflows/mirror.yml pushes main and every tag to gitlab.com/sadrmanesh/commerce-agent-skills. It runs only when the GITLAB_TOKEN repository secret is set (a GitLab access token with the write_repository scope) and skips with a notice otherwise. Set the GITLAB_NAMESPACE repository variable to mirror to another GitLab namespace. GitHub stays the main repository for issues and pull requests.
Reporting issues¶
Use the bug or feature templates. A bug report for a skill should name the skill and the API or UI behavior that disagrees with the text.