api-contract-manager

Audit backend endpoints and frontend API calls to map the full API surface.

1|Updated Jan 25, 2026
One-click install
npx skills add https://github.com/kellyson520/TG-ONE --skill api-contract-manager
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api-contract-manager
Source: https://github.com/kellyson520/TG-ONE/tree/main/.agent/skills/api-contract-manager
Command: npx skills add https://github.com/kellyson520/TG-ONE --skill api-contract-manager

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Frontend and Backend teams often diverge on API contracts, causing silent failures, miscommunication, and unavailable features. This skill audits code to ensure API contract consistency, persistence of API documentation, and reliable implementation checks.

Core Features & Use Cases

  • Audit frontend-backend API contracts and produce a persistent documentation artifact.
  • Identify zombie endpoints, ghost endpoints, and method mismatches to prevent deployment issues.
  • Use cases include validating new routes after changes, verifying docs generation, and guiding integration tests.

Quick Start

Run the audit_api.py script to scan backend endpoints and frontend API calls, then open docs/API_CONTRACT.md to review the generated API contract health report.

Frequently Asked Questions about api-contract-manager

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit frontend and backend API contracts for mismatches?

You can audit frontend and backend API contracts by running a script that scans backend endpoints and frontend API calls to map the full API surface, identifying gaps, mismatches, and undocumented endpoints for governance.

What are zombie and ghost endpoints in API contract validation?

Zombie and ghost endpoints are API routes that exist in the frontend or backend code but are mismatched, undocumented, or unused. API contract validation identifies these endpoints to prevent silent failures and deployment issues.

How do I generate persistent API documentation for my project?

To generate persistent API documentation, run an audit script that scans your codebase and outputs a comprehensive health report directly to docs/API_CONTRACT.md, ensuring your API surface is persistently documented and governed.

Can I use an API contract audit to guide integration tests?

Yes, you can use an API contract audit to guide integration tests by validating new routes after code changes, verifying documentation generation, and ensuring the frontend and backend implementations consistently match.

Does the API contract audit require external dependencies to run?

No, the API contract audit relies on standalone scripts and does not require external dependencies, allowing you to directly scan your codebase and output a persistent API inventory without additional environment setup.

Why does my frontend fail to communicate with the backend after route changes?

Frontend and backend teams often diverge on API contracts after route changes, causing silent failures. Running an API contract audit identifies method mismatches and undocumented endpoints to resolve these communication issues.