Skip to content
Agentmart
Submit a tool

contentstack-javascript-marketplace

Mental model for the Marketplace SDK — client factory, org-scoped marketplace API, auth, regions, module map

Skill by contentstack

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/contentstack-contentstack-javascript-marketplace

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Mental model for the Marketplace SDK — client factory, org-scoped marketplace API, auth, regions, module map

Use cases: backend, security

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/contentstack-javascript-marketplace

What's inside

Skill name
contentstack-javascript-marketplace
Description
Mental model for the Marketplace SDK — client factory, org-scoped marketplace API, auth, regions, module map
License
MIT
Instructions
29 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Contentstack JavaScript Marketplace SDK

## Mental model

1. **`contentstack.client(options)`** (`lib/contentstack.js`) creates an axios-based HTTP client pointed at the **Developer Hub** host (via `@contentstack/utils` + `region`), then wraps it with **`contentstackClient`** (`lib/contentstackClient.js`).
2. **Auth:** Pass `authtoken` and/or `authorization`, or call **`login`** to set `authtoken` on shared axios defaults. Optional **`refreshToken`** callback supports rotation.
3. **Marketplace entry:** **`client.marketplace(organization_uid)`** returns `lib/marketplace/index.js` — apps (`app()`, `findAllApps`, …), installations, hosting/deployments, webhooks, OAuth under `app/oauth`, authorization helpers, app requests.

## Where to change things

| Concern | Primary paths |
|---------|----------------|
| Client defaults, User-Agent, region → host | `lib/contentstack.js`, `lib/core/region.js` |
| Login / logout / marketplace root | `lib/contentstackClient.js` |
| Axios, retries (429), timeout, query encoding | `lib/core/contentstackHTTPClient.js` |
| Request queuing | `lib/core/concurrency-queue.js` |
| Error shape | `lib/core/contentstackError.js` |
| Marketplace resources | `lib/marketplace/**/*.js` |
| Public TypeScript types | `types/**/*.d.ts` |

## Docs alignment

Describe behavior against **Contentstack Marketplace / Developer Hub** APIs. Do not document this package as **CDA**. Mention **CMA-style tokens** only when describing authtoken / management-style auth accurately.

## Integration reminder

Downstream apps use **`@contentstack/marketplace-sdk`** with **`import contentstack from '@contentstack/marketplace-sdk'`** (see README). The built **`main`** field points to **`dist/node/...`** — edit **`lib/`** and run **`npm run build`** for distributable changes.

From contentstack/contentstack-marketplace-sdk, MIT.

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Mar 20, 2026 (7 months ago)
Last release
Jun 29, 2026 (4 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from contentstack

Cite this page

contentstack-javascript-marketplace skill. Agent Mart. https://agentmart.dev/skills/contentstack-contentstack-javascript-marketplace (last updated 2026-10-24)