api-contract-tester

Community

Prevent silent API breakages with real-data tests

Author0xjc65eth
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Prevents silent contract breakages between CYPHER V3 backend routes and the frontend by validating that endpoints return the expected keys, shapes, and live values so bugs do not reach users unnoticed.

Core Features & Use Cases

  • Schema contract assertions: checks required fields and types for BTC market, ordinals, runes, BRC-20, and fee endpoints.
  • Real-data validation: detects mocked or hardcoded responses by asserting reasonable value ranges and content patterns.
  • Performance monitoring: measures latency and flags slow or timing-out endpoints.
  • Breaking-change detection: saves JSON snapshots and compares top-level keys to detect schema drift before deployments.
  • Use Case: integrate into local testing or CI to fail pull requests that remove fields, introduce mock data, or degrade endpoint performance.

Quick Start

Run the API contract tester against a running CYPHER V3 instance at http://localhost:4444 to validate endpoints, schemas, and latency.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: api-contract-tester
Download link: https://github.com/0xjc65eth/CYPHER-V3/archive/main.zip#api-contract-tester

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.