Skip to content
Agentmart
Submit a tool

framework

HTTP stack for marketplace-sdk — Axios wrapper, retries, concurrency, params serialization, logging hook

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-framework-7e8730

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

HTTP stack for marketplace-sdk — Axios wrapper, retries, concurrency, params serialization, logging hook

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/framework

What's inside

Skill name
framework
Description
HTTP stack for marketplace-sdk — Axios wrapper, retries, concurrency, params serialization, logging hook
License
MIT
Instructions
31 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# HTTP framework (`lib/core`)

This repo separates **domain** (`lib/marketplace/**`) from a small **HTTP framework** in `lib/core/`. Use this skill when changing transport behavior.

## `contentstackHTTPClient.js`

- Builds an **axios** instance with `baseURL` from `endpoint` or `protocol://hostname:port` + `basePath`.
- **Defaults:** `timeout` 30000, `retryOnError` true, `retryCondition` retries **429** (overridable).
- **Headers:** Maps `apiKey` / `accessToken` from config if present.
- **Params:** Custom `paramsSerializer` using **Qs**; nests JSON `query` with `encodeURIComponent`.
- **Concurrency:** Attaches `ConcurrencyQueue` to the instance.
- **Logging:** `logHandler` default from `messageHandler.js` (`httpLogHandler`).

## `concurrency-queue.js`

- Limits parallel in-flight requests (`maxRequests` from client params). Changes here affect all API modules sharing the same HTTP instance.

## `messageHandler.js`

- Central place for HTTP log/telemetry hooks. Keep implementations safe for browsers and Node bundles.

## When to edit

- Retry/backoff policy, timeout, or serializer → prefer extending **existing** options on `client()` rather than one-off axios calls in marketplace modules.
- New global header behavior → `contentstack.js` + potentially `contentstackHTTPClient.js` for low-level concerns.

## Testing

- **`test/unit/ContentstackHTTPClient-test.js`** and **`concurrency-Queue-test.js`** should cover behavioral changes; use mocks rather than live HTTP when possible.

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

framework skill. Agent Mart. https://agentmart.dev/skills/contentstack-framework-7e8730 (last updated 2026-10-24)