framework
Use when touching config, retry, or HTTP layer – Config, RetryOptions, RetryInterceptor, CSHttpConnection, connection/request flow, and error handling
Skill by contentstack
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-2a59db
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.
About
Reviews
Write a reviewNo 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
- Use when touching config, retry, or HTTP layer – Config, RetryOptions, RetryInterceptor, CSHttpConnection, connection/request flow, and error handling
- License
- MIT
- Instructions
- 46 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Framework – Contentstack Java CDA SDK Use this skill when changing configuration, retry behavior, or the HTTP connection layer. ## When to use - Modifying **Config** options (host, version, region, branch, proxy, connection pool, retry, plugins, early access). - Changing **RetryOptions** or **RetryInterceptor** (retry limit, delay, backoff, retryable status codes). - Changing **CSHttpConnection**, request building, or how the SDK uses Retrofit/OkHttp. - Introducing or changing connection pooling, timeouts, or interceptors. ## Instructions ### Config - **Config** holds: host (default `cdn.contentstack.io`), version (default `v3`), scheme, endpoint, region (`ContentstackRegion`), branch, live preview settings, proxy, connection pool, **RetryOptions**, management/preview tokens, early access, plugins, releaseId, previewTimestamp. - Use setter-style APIs (e.g. `setHost`, `setRetryOptions`). Preserve default values where existing behavior depends on them. - **Reference:** `src/main/java/com/contentstack/sdk/Config.java`. ### RetryOptions and RetryInterceptor - **RetryOptions:** Configurable retry limit (default 3, max 10), base delay (ms), backoff strategy (e.g. EXPONENTIAL, LINEAR), retryable HTTP status codes (default 408, 429, 502, 503, 504), and a global retry enabled flag. Use builder-style or setters. - **RetryInterceptor:** OkHttp interceptor that applies retries per `RetryOptions`. Ensure the interceptor is attached to the client used for CDA requests and that it respects the configured options. - **Custom backoff:** `CustomBackoffStrategy` and `RetryOptions.BackoffStrategy` exist for extensibility; keep custom strategies consistent with the documented behavior. - **Reference:** `RetryOptions.java`, `RetryInterceptor.java`, `CustomBackoffStrategy.java`. ### CSHttpConnection and request flow - **CSHttpConnection** builds and executes requests using the configured stack, headers, and controller (e.g. QUERY, ENTRY, ASSET, SYNC). It uses **APIService** (Retrofit) under the hood. - **Request flow:** Build URL and headers from Config/Constants, set controller and callback, execute via the HTTP layer. Responses and errors are passed to **ResultCallBack** (or specific callback types) and mapped to **Error** when the API returns an error. - **Connection pool and client:** Config’s connection pool and any proxy are applied to the OkHttp client. Do not bypass the shared client/config when adding new CDA calls. - **Reference:** `CSHttpConnection.java`, `APIService.java`, `Constants.java`, `IRequestModelHTTP` / `IURLRequestHTTP`. ### Error handling - Map HTTP and API errors to the **Error** class (errorMessage, errorCode, errDetails). Pass errors through the same callback mechanism used elsewhere so callers get a consistent contract. - **Reference:** `Error.java`, and callback interfaces that receive errors. ## Key classes - **Config:** `Config.java`, `Config.ContentstackRegion` - **Retry:** `RetryOptions.java`, `RetryOptions.BackoffStrategy`, `RetryInterceptor.java`, `CustomBackoffStrategy.java` - **HTTP:** `CSHttpConnection.java`, `APIService.java`, `CSConnectionRequest.java`, `Constants.java` - **Errors/callbacks:** `Error.java`, `ResultCallBack`, and related callback types
From contentstack/contentstack-java, MIT.
More from contentstack/contentstack-java
- 0.533score
code-review
contentstack
Use when reviewing PRs for contentstack-java—API compatibility, tests, Maven, and security.
SkillBFreshness: B★ 3Claude Code +9 - 0.529score
contentstack-java-cda
contentstack
Use for the Java Content Delivery API—Stack, Entry, Query, sync, and HTTP/callback patterns.
SkillBFreshness: B★ 3Claude Code +9 - 0.529score
dev-workflow
contentstack
Use for Maven lifecycle, CI, JaCoCo, and branch expectations in contentstack-java.
SkillBFreshness: B★ 3Claude Code +9 - 0.529score
java
contentstack
Use for Java package layout, language level (8), and project conventions in contentstack-java.
SkillBFreshness: B★ 3Claude Code +9 - 0.500score
testing
contentstack
Use for JUnit tests, integration (*IT) tests, fixtures, and credentials handling in contentstack-java.
SkillBFreshness: B★ 3Claude Code +9
Signals
- Stars
- 3
- Forks
- 3
- Open issues
- 0
- Last commit (this folder)
- Apr 17, 2026 (6 months ago)
- Last release
- Sep 2, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from contentstack
- 0.576score
code-review
contentstack
Use when reviewing PRs for the TypeScript Delivery SDK—API, tests, bundler impact, semver.
SkillAFreshness: A★ 4Claude Code +9 - 0.571score
dev-workflow
contentstack
Use for branches, CI, npm scripts, and release flow in contentstack-typescript.
SkillAFreshness: A★ 4Claude Code +9 - 0.571score
contentstack-delivery-typescript
contentstack
Use for the public Delivery SDK API, stack initialization, and integration with @contentstack/core and utils.
SkillAFreshness: A★ 4Claude Code +9 - 0.571score
framework
contentstack
Use for Rollup build, browser-safe validation, and bundler compatibility in contentstack-typescript.
SkillAFreshness: A★ 4Claude Code +9 - 0.567score
typescript
contentstack
Use for TypeScript source layout, Rollup build, and dist outputs in contentstack-typescript.
SkillAFreshness: A★ 4Claude Code +9 - 0.543score
testing
contentstack
Use for Jest, Playwright e2e, API tests, and bundler smoke tests in contentstack-typescript.
SkillAFreshness: A★ 4Claude Code +9
Cite this page
framework skill. Agent Mart. https://agentmart.dev/skills/contentstack-framework-2a59db (last updated 2026-10-24)