Skip to content
Back to skills

Dev Api Contract Review

ASecurity

Use to design or review API contracts, auth, pagination, versioning, errors, compatibility, and OpenAPI/GraphQL shape.

  • 21 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 6, 2026
developmentapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned September 6, 2026

npx -y skills add BlueSkyXN/Codex-is-all-you-need --skill dev-api-contract-review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Dev Api Contract Review?

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

Security grade badge for Dev Api Contract Review
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/blueskyxn-dev-api-contract-review/badge)](https://www.skillsdirectory.com/skills/blueskyxn-dev-api-contract-review)

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: dev-api-contract-review
description: Use to design or review API contracts, auth, pagination, versioning, errors, compatibility, and OpenAPI/GraphQL shape.
metadata:
  version: "0.3"
  updated: "2026-06-12"
---

# API contract review workflow

Use this workflow when API behavior is being designed, changed, reviewed, or documented.

## Steps

1. Establish current contract evidence.
   - Routes, handlers, schemas, serializers, generated clients, OpenAPI specs, docs, fixtures, tests, and live CLI/API output.

2. Define the boundary.
   - Resources or operations
   - Request shape
   - Response shape
   - Error format
   - Auth and permission behavior
   - Pagination, filtering, sorting, rate limits
   - Versioning and deprecation impact

3. Check compatibility.
   - Existing clients
   - Backward-compatible additions
   - Breaking changes
   - Migration path
   - Feature flags or staged rollout if needed

4. Validate semantics.
   - REST method/status-code semantics
   - GraphQL schema and resolver implications
   - Idempotency and retry behavior
   - Data validation and partial failure handling

5. Tie to tests.
   - Unit tests for validation and errors
   - Integration/API tests for success and failure paths
   - Contract tests or generated-client checks when available

## Output

Return:

1. Current contract evidence
2. Proposed or reviewed contract
3. Compatibility assessment
4. Test plan
5. Open questions

## Do not

- Do not invent API conventions when repo conventions are visible.
- Do not change auth, versioning, or response formats silently.
- Do not claim OpenAPI/client compatibility without checking the actual spec or generator path.

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.

Comments

Loading comments…

Newsletter

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