API Contract Check

Community

Ensure API contracts stay in sync.

Authorjimmymalhan
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents API contract drift by automatically verifying that code implementations match documented API specifications, catching inconsistencies before they impact production.

Core Features & Use Cases

  • Contract Validation: Compares code definitions of API endpoints against a central api.md contract.
  • Drift Detection: Identifies routes present in code but missing in documentation, or vice-versa.
  • Consistency Checks: Ensures error response formats and status codes align with the documented contract.
  • Use Case: After updating a route handler in src/routes/users.js, this Skill will immediately check if the changes align with the expected request/response structure defined in .claude/rules/api.md.

Quick Start

Run the API contract check skill to validate all backend API endpoints against the documented contract.

Dependency Matrix

Required Modules

None required

Components

references

💻 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 Check
Download link: https://github.com/jimmymalhan/codereview-pilot/archive/main.zip#api-contract-check

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.