Contentstack Marketplace SDK – Agent guide
Universal entry point for contributors and AI agents. Detailed conventions live in skills/*/SKILL.md .
Field
Detail
Name:
contentstack-marketplace-sdk (@contentstack/marketplace-sdk)
Purpose:
Node/browser SDK for managing Contentstack Marketplace app content and related APIs.
Out of scope:
Not the core Delivery/Management content APIs for arbitrary stacks—scope changes belong to product requirements.
Area
Details
Language
JavaScript (Babel transpilation); TypeScript tests via Jest (test/typescript)
Build
Webpack configs under webpack/ ; outputs under dist/ (npm run build)
Tests
Mocha + NYC for unit/API tests; npm run test:typescript for Jest subset
Lint / coverage
ESLint on lib and test (npm run lint); NYC coverage
CI
.github/workflows/unit-test.yml, check_branch.yml, sca-scan.yml, policy-scan.yml, npm-publish.yml
Commands (quick reference)
Command type
Command
Build
npm run build
Test
npm test (runs API + unit per package.json)
Lint
npm run lint
Where the documentation lives: skills
If you use Cursor , .cursor/rules/README.md only points to AGENTS.md —same docs as everyone else.