don-cheli-sdd: Skill for Claude Code

.agent/skills/doncheli-api-contract/SKILL.md

doncheli-api-contract is a skill for Claude Code from doncheli/don-cheli-sdd. It costs 65 tokens per session (766 once invoked), scanned A, original, Apache-2.0.

An API contract is a written agreement describing how software services communicate. It defines requests, responses, authentication, limits, errors, retries, versioning, and safe handling of repeated requests.

In plain words
What is it for?
It helps design REST, GraphQL, gRPC, or webhook APIs, including endpoint details, data formats, access rules, error responses, retry behavior, and compatibility policies.
Why use it?
It removes guesswork between teams building or using an API. Everyone can agree on expected behavior, including failures and changes, before implementation.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

This is doncheli/don-cheli-sdd's own configuration. It tells Claude Code how to work on don-cheli-sdd itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything don-cheli-sdd configures →

Part of the don-cheli-sdd plugin — 28 skills, 115 commands, 1 agent shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to doncheli/don-cheli-sdd. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/doncheli/don-cheli-sdd/main/.agent/skills/doncheli-api-contract/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/doncheli/don-cheli-sdd

Made for: Claude Code.

Or install don-cheli-sdd, the plugin that ships this one along with the rest of its 28 skills, 115 commands, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for doncheli-api-contract

README.md
[![agentmods](https://agentmods.dev/badge/skills/doncheli/don-cheli-sdd/doncheli-api-contract/github.svg)](https://agentmods.dev/skills/doncheli/don-cheli-sdd/doncheli-api-contract)
Your own site
<a href="https://agentmods.dev/skills/doncheli/don-cheli-sdd/doncheli-api-contract"><img src="https://agentmods.dev/badge/skills/doncheli/don-cheli-sdd/doncheli-api-contract/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for doncheli-api-contract

Your own site · 80×15
<a href="https://agentmods.dev/skills/doncheli/don-cheli-sdd/doncheli-api-contract"><img src="https://agentmods.dev/badge/skills/doncheli/don-cheli-sdd/doncheli-api-contract.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 766 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00065 $0.00766
Opus 5 $0.00032 $0.00383
Sonnet 5 $0.00013 $0.00153
Haiku 4.5 $0.00006 $0.00077

Measured 9d ago against content hash cdbc16b6416d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

doncheli-api-contract scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agent/skills/doncheli-api-contract/SKILL.md · 87 lines

How it starts

The opening of the file, as written. The whole thing — 87 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Don Cheli: API Contract Designer

Instructions

  1. Identify the API style: REST, GraphQL, gRPC, Webhook, or mixed
  2. For each resource/operation, define:
    • Method + path (REST) or operation name (GraphQL/gRPC)
    • Request schema: headers, path params, query params, body
    • Response schemas: success + all error cases
  3. Design cross-cutting concerns:
    • Auth: mechanism (JWT, OAuth2, API Key, mTLS), scopes, token lifetime
    • Rate limiting: strategy (token bucket / leaky bucket), limits per tier, headers exposed
    • Error handling: standard error envelope, HTTP status mapping, error codes catalog
    • Retries: which operations are safe to retry, backoff strategy, max attempts
    • Circuit breaker: thresholds, half-open probe, fallback behavior
    • Idempotency: which operations require idempotency keys, TTL, conflict semantics
  4. Define versioning strategy (URL path, header, or content negotiation)
  5. Flag breaking vs. non-breaking changes policy

Output Format

## API Contract: <service/feature name>

### Style & Version
- Protocol: REST / GraphQL / gRPC / Webhook
- Base URL: …
- Version: v1 (strategy: <path/header/content-negotiation>)

### Endpoints / Operations

#### <METHOD> <path>
**Purpose:** …
**Auth required:** yes/no — scope: …
**Request:**
```json
{
  "field": "type — description"
}

Response 200:

{ … }

Error responses:

Status Code Meaning
400 INVALID_INPUT
409 CONFLICT

Idempotency: required / not required — key:


Cross-Cutting Concerns

Auth:Rate Limiting: X req/min per API key; headers: X-RateLimit-Remaining, X-RateLimit-Reset Retry Policy: safe methods (GET, PUT, DELETE) — exponential backoff, max 3 attempts Circuit Breaker: open at 50% error rate over 10s window; half-open probe after 30s Error Envelope:

{ "error": { "code": "…", "message": "…", "trace_id": "…" } }

Breaking Change Policy

  • Breaking: removing fields, changing types, removing endpoints → requires major version bump
  • Non-breaking: adding optional fields, new endpoints → compatible within same version

Read the full file on GitHub · 87 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 87 lines · 65 tokens per session scan A cdbc16b6416d

Subscribe to this mod's changes

doncheli-api-contract is a skill published in the GitHub repository doncheli/don-cheli-sdd (57 stars, last pushed 29d ago), licensed Apache-2.0. It adds 65 tokens to every session and 766 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

build-teaql-app

Build or change a TeaQL application in Java, Rust, Go, Swift, Python, C#/.NET, or TypeScript, including Kotlin/JVM applications that consume Java-generated libraries. Mandatory order: first draft and save a complete KSML model, then verify the client and evaluate that saved model, repair it through repeated evaluation…

teaql/teaql-agent-kit · 112 tokens

proxy6

Skill "proxy6" from VKirill/claude-lane-stack, covering 🎯 version requirements (august 2026), usage, use this skill when, do not use this skill when and purpose.

VKirill/claude-lane-stack · 221 tokens

google-tag-manager

Skill "google-tag-manager" from VKirill/claude-lane-stack, covering 🎯 version requirements (june 2026), usage, use this skill when, do not use this skill when and purpose.

VKirill/claude-lane-stack · 134 tokens

api

RESTful API design patterns and best practices. Use when creating endpoints, designing APIs, or implementing routes.

xiaobei930/cc-best · 23 tokens

mcp-builder

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

floomhq/moto · 61 tokens

analyze-codebase-for-mcp

Analyze an arbitrary codebase to identify functions, APIs, and data sources suitable for exposure as MCP tools, producing a tool specification document. Use when planning an MCP server for an existing project, auditing a codebase before wrapping it as an AI-accessible tool surface, comparing what a codebase can do…

KunanonJ/ai-skills-hub · 90 tokens