Sign in
Explore
Skills · SkillBackend & APIsBusiness & OpsBackend frameworksAPIsLegal & contractsReviewed

contract-first

Coordinate frontend/backend or service-to-service work through one authoritative machine-checkable contract (OpenAPI, AsyncAPI, Protocol Buffers, or JSON Schema), with generated consumer types and contract-verified integration.

Kind
Skill
Works with
Claude Code, Codex
Languages
TypeScript / JavaScript
Source
affaan-m/ECC @ d3b8a3e90890
Path
skills/contract-first/SKILL.md
Jobs
UI/UX work, Guardrails, Automation
Topics
Backend frameworks, APIs, Legal & contracts

Credit

Made by
affaan-m
Original
github.com/affaan-m/ECC/blob/d3b8a3e908904e242ed2dbe66af62cca…
License
MIT

Listed by Skill Manifest; not made by us.

InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
Install factsScanned 3 Nov 2026
Adds
  • .claude/skills/contract-first/ (the skill folder)
Runs scripts
Yes
  • shell block in the text
Uses the network
None found
Needs secrets
None found
Source revision
d3b8a3e90890
Licence
MIT
Last activity
23 Nov 2026
Source changed after the scan
Yes
  • Last push 23 Nov 2026, scanned 3 Nov 2026; read it again before you rely on this scan
Review
Reviewed

Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.

# Contract-First Collaboration

Coordinate frontend/backend or service-to-service work through one authoritative,
machine-checkable contract. Consumers state what they need, providers implement
that shape, and both sides verify against the same artifact before integration.

This skill governs how teams change a boundary. It complements `api-design`,
which governs what a good API looks like, and `ai-regression-testing`, which
guards fixed bugs from returning.

## When to Activate

- Frontend and backend work will proceed in parallel.
- Two or more services exchange API payloads, events, or commands.
- Field names, nullability, enums, or error shapes regularly drift.
- One consumer needs several calls because the provider exposed storage models
  instead of a task-oriented response.
- A provider change can break consumers maintained by another person or agent.
- Mock responses and production responses no longer have the same shape.

Do not add contract machinery to a single-module boundary that changes in one
atomic commit and has no independent consumer. A shared type may be enough.

## The Boundary Artifact

Choose one canonical, version-controlled artifact for each boundary:
…