contentstack/contentstack-javascript/framework

Claude Code and agent skill by contentstack/contentstack-javascript

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

HTTP and cross-cutting behavior for the CDA SDK — request.js, fetch retries, plugins, runtime http/localstorage.

Install

npx vskill@latest install contentstack/contentstack-javascript/framework

SKILL.md

The same SKILL.md was published earlier as contentstack/contentstack-javascript/framework.

Framework skill — HTTP / transport / runtime

The SDK isolates networking and retries in `src/core/lib/request.js`, with platform-specific `fetch` and storage under `src/runtime/`.

Key modules

File / areaResponsibility
`src/core/lib/request.js`Builds query string from stack `requestParams`, sets headers (`X-User-Agent`, content type), `fetchRetry`, integrates `stack.plugins` (onRequest / onResponse), parses JSON, maps HTTP errors to rejection objects
`src/core/lib/utils.js`Merge/deep helpers and shared utilities used by stack and modules
`src/core/stack.js`Default `fetchOptions` (retry policy, `logHandler`), merges user options, constructs `requestParams` for calls
`src/runtime/node/http.js`, `web/http.js`, etc.Platform `fetch` implementation wired via webpack alias `runtime/http.js`
`src/runtime/*/localstorage.js`Cache provider storage for each target

When to change this layer

  • Retry policy, status-based retry, timeout defaults → `request.js` / `stack.js` (fetchOptions) and JSDoc on `Stack`.
  • Headers, user-agent format, query serialization → `request.js` (keep backward compatible for CDN query shapes).
  • New global hook → extend plugin contract consistently in `request.js`.
  • New platform → add `src/runtime/<platform>/`, webpack config, and package entry fields if needed.

Tests

  • Extend `test/` or `test/typescript/` when changing request behavior; many suites load `dist/node/contentstack.js` — run `npm run build` after src/ edits.

Rule shortcut

  • .cursor/rules/javascript.mdc for style; CDA semantics in .cursor/rules/contentstack-javascript-cda.mdc

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/contentstack/contentstack-javascript/framework/badge)](https://verified-skill.com/skills/contentstack/contentstack-javascript/framework)

Something wrong with this skill or its page? Tell us.