api-design
API contract design: resources, error envelopes, pagination, versioning, evolution.
Skill by chnetajibc
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/chnetajibc-api-design
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
Use cases: documents, design, backend
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/api-design
What's inside
- Skill name
api-design- Description
- API contract design: resources, error envelopes, pagination, versioning, evolution. Use when shaping a new API surface or reviewing contract changes. Implementation protocols live in backend/api-design.
- License
- MIT
- Instructions
- 39 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# api-design Contracts first: one canonical resource model, one error envelope, versioning with an evolution policy. ## Inspection List endpoints, resources, error shapes, pagination schemes, versioning in use, and who calls them (internal teams, external clients, future-you). ## Decision rules Contract-first for shared surfaces; additive evolution by default; version only on breaking change; one error envelope and one pagination scheme repo-wide. ## Activate when - Designing or reviewing an API surface, error model, pagination, or versioning strategy. ## Do NOT activate for - Transport implementation (REST/GraphQL/gRPC/SSE/webhooks, retries, breakers) — see `../../backend/api-design/`. - Access-control review — see `../../backend/api-security/`. ## Procedure 1. Resources: nouns not verbs; one canonical URL per resource; nesting max two levels. 2. Errors: single RFC-7807-shaped envelope repo-wide; clients branch on stable `type`, never on `detail` text. 3. Pagination: cursor-based for mutable/large datasets (opaque cursor + `next_cursor`); offset only for small immutable lists. 4. Idempotency: mutation endpoints accept idempotency keys where retries are possible. 5. Evolution: additive first; version (`/v1`, headers, or negotiation) with deprecation headers, sunset dates, and migration notes; apply Hyrum's Law — every observable behavior is a dependency. 6. Verify: contract tests for envelope + pagination + version negotiation; changelog entry for any surface change. ## Failure modes Second error shape; offset pagination on mutable datasets; version bump without migration notes; convenience aliases multiplying auth surface. ## Escalation Compat disputes → backend/api-design; access-control review → backend/api-security.
From chnetajibc/skill-repo, MIT.
More from chnetajibc/skill-repo
- 0.524score
skill-design
chnetajibc
Author Agent Skills with progressive disclosure: thin SKILL.md, details in references, scripts for execution.
SkillBFreshness: BClaude Code +9 - 0.524score
agent-architecture
chnetajibc
Design agent loops: planning, tool use, subagents, memory, RAG, evals, budgets.
SkillBFreshness: BClaude Code +9 - 0.524score
mcp-engineering
chnetajibc
Build MCP servers with well-named tools, workflow-oriented coverage, and clear errors.
SkillBFreshness: BClaude Code +9 - 0.524score
api-design
chnetajibc
Implement backend APIs: REST/GraphQL/gRPC/WebSocket/SSE/webhooks, auth, pagination, idempotency, retries, versioning, docs.
SkillBFreshness: BClaude Code +9 - 0.521score
api-security
chnetajibc
Secure APIs as hard gate: BOLA, authn/authz, property-level authz, consumption limits, SSRF, misconfig, inventory.
SkillBFreshness: BClaude Code +9 - 0.521score
domain-modeling
chnetajibc
Model entities, value objects, aggregates, ownership, invariants.
SkillBFreshness: BClaude Code +9 - 0.521score
error-handling
chnetajibc
Handle errors explicitly: typed errors, no silent swallowing, no catch-all.
SkillBFreshness: BClaude Code +9 - 0.521score
language-modularity
chnetajibc
Per-language module structure: Python, TypeScript, JavaScript, Go, Rust, Java.
SkillBFreshness: BClaude Code +9 - 0.521score
modularity
chnetajibc
Enforce module contracts and boundaries: frontend/backend separation, repo guardrails.
SkillBFreshness: BClaude Code +9 - 0.521score
solid
chnetajibc
SOLID as diagnostic tool per language, not ceremony.
SkillBFreshness: BClaude Code +9 - 0.521score
data-modeling
chnetajibc
Extendable data models: identity, lifecycle, constraints, indexes, transactions, versioning, migrations, deletion, auditing.
SkillBFreshness: BClaude Code +9 - 0.521score
authentication
chnetajibc
Authentication: JWT/OAuth-OIDC/sessions/API keys, password storage, secrets, CSRF/CORS/cookies.
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 22, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/chnetajibc/skill-repo
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from chnetajibc
- 0.524score
api-design
chnetajibc
Implement backend APIs: REST/GraphQL/gRPC/WebSocket/SSE/webhooks, auth, pagination, idempotency, retries, versioning, docs.
SkillBFreshness: BClaude Code +9 - 0.524score
agent-architecture
chnetajibc
Design agent loops: planning, tool use, subagents, memory, RAG, evals, budgets.
SkillBFreshness: BClaude Code +9 - 0.524score
mcp-engineering
chnetajibc
Build MCP servers with well-named tools, workflow-oriented coverage, and clear errors.
SkillBFreshness: BClaude Code +9 - 0.524score
skill-design
chnetajibc
Author Agent Skills with progressive disclosure: thin SKILL.md, details in references, scripts for execution.
SkillBFreshness: BClaude Code +9 - 0.521score
clean-code
chnetajibc
Write readable maintainable code: clear names, small units, low coupling, high cohesion.
SkillBFreshness: BClaude Code +9 - 0.521score
solid
chnetajibc
SOLID as diagnostic tool per language, not ceremony.
SkillBFreshness: BClaude Code +9
Cite this page
api-design skill. Agent Mart. https://agentmart.dev/skills/chnetajibc-api-design (last updated 2026-10-24)