What problem does it solve? Backend API regressions slip into production when tests only cover UI flows or assert nothing about response shape. This Skill enforces a structured protocol for locking the contract between clients and HTTP services — status codes, headers, response schemas, and error envelopes — so breaking changes are caught before they reach the UI. ## Core Features & Use Cases - Contract Inventory & Test Design: Enumerates per-endpoint obligations (status, content-type, happy-path shape, error shape, auth shape) from an OpenAPI spec or confirmed live responses, with one obligation per test. - Canonical Implementation Patterns: Provides copy-ready patterns using the Steps API (steps.apiGet/Post/Put/Delete/Patch/Head, verifyApiStatus, verifyApiHeader) with typed responses, shared schema files, multi-provider routing, and a dedicated playwright.contracts.config.ts. - Deliberate-Failure Verification: Mandates a mutation check (flip a schema field or status expectation, confirm tests fail, revert) before any report ships, proving the suite actually bites. - Use Case: A team consuming a staging GET /users/:id endpoint uses this Skill to generate tests asserting 200 status, JSON content-type, a UserSchema shape, and 404/401 error envelopes — catching a backend field rename the day it lands. ## Quick Start Ask the agent to write contract tests for your staging API endpoints, for example: "Write contract tests for GET /users/:id and POST /users against our staging backend."