Skip to content
Back to skills

Api Contract Design Jeremylongworth Sour Agentskills

ASecurity

Design API contracts for backend services, SDKs, and integrations. Use when Codex is asked to define endpoints, request/response shapes, resource models, status codes, idempotency, versioning, pagination, filtering, or OpenAPI-style API contracts.

  • 30 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 8, 2026
ai-agentsapibackendsecurity

Works with

  • cli
  • api

Security analysis

A100/100

Scanned November 8, 2026

npx -y skills add majiayu000/claude-skill-registry-data --skill api-contract-design-jeremylongworth-sour-agentskills --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Api Contract Design Jeremylongworth Sour Agentskills?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Api Contract Design Jeremylongworth Sour Agentskills
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-api-contract-design-jeremylongworth-sour-agentskil/badge)](https://www.skillsdirectory.com/skills/majiayu000-api-contract-design-jeremylongworth-sour-agentskil)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: api-contract-design
description: Design API contracts for backend services, SDKs, and integrations. Use when Codex is asked to define endpoints, request/response shapes, resource models, status codes, idempotency, versioning, pagination, filtering, or OpenAPI-style API contracts.
license: MIT
---

# API Contract Design

## Core Workflow

1. Identify API consumers, use cases, resource model, auth context, and
   compatibility constraints.
2. Define endpoints or methods with request fields, response fields, status
   codes, errors, pagination, filtering, sorting, and idempotency.
3. Specify validation rules, defaults, field ownership, and backward-compatible
   evolution rules.
4. Separate public contract from implementation detail.
5. Include examples and edge cases that clients can test against.
6. Flag open decisions and review needs before implementation.

## Safety Rules

- Do not invent production behavior, security guarantees, rate limits, or auth
  scopes not present in source material.
- Do not expose internal-only fields, private identifiers, secrets, or customer
  data in examples.
- Require review for contracts affecting billing, auth, customer data, public
  APIs, or backward compatibility.

## Deliverable Shape

For API contracts, provide:

- Consumer and use case
- Resource model
- Endpoint or method table
- Request and response schemas
- Error and status-code contract
- Idempotency, pagination, filtering, and versioning notes
- Examples and edge cases
- Open decisions and review gates

## References

- Read `references/api-contract-design-checklist.md` when designing or
  reviewing an API contract.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.