backend-api-contract

Generate OpenAPI 3.1 contracts from API resource entities, PRDs, or database schemas.

25|1|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/parhumm/jaan-to --skill backend-api-contract
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: backend-api-contract
Source: https://github.com/parhumm/jaan-to/tree/main/adapters/codex/skillpack/skills/backend-api-contract
Command: npx skills add https://github.com/parhumm/jaan-to --skill backend-api-contract

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generates production-ready OpenAPI 3.1 contracts from API resource definitions, aligning schemas, error handling, and versioning across services to accelerate API delivery.

Core Features & Use Cases

  • Automated generation of OpenAPI 3.1 contracts from entities, PRDs, or database schemas
  • RFC 9457-compliant error schemas, pagination strategies, and versioning support
  • Companion markdown guide and validation hooks to streamline integration, testing, and documentation

Quick Start

Provide the API resource inputs (entities, PRD path, or database schema) to start generating the contract.

Frequently Asked Questions about backend-api-contract

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

FAQPage Schema
How do I generate an OpenAPI 3.1 contract from database schemas or PRDs?

You can generate an OpenAPI 3.1 contract by providing API resource inputs like entities, PRD paths, or database schemas. The tool processes these inputs to output a structured OpenAPI document alongside a companion guide and validation scripts.

How do I enforce RFC 9457 error schemas and pagination in OpenAPI documentation?

Enforcing RFC 9457 error schemas and pagination strategies in OpenAPI documentation is handled automatically during contract generation. The process aligns these standards across services based on your defined context and resource entities.

Can I generate OpenAPI contracts from multiple input modalities like PRDs and database schemas?

Yes, you can generate OpenAPI contracts from multiple input modalities including API resource entities, PRDs, and database schemas. This flexibility allows you to produce production-ready OpenAPI 3.1 documents from various source materials.

What is the best way to prevent API contract drift during OpenAPI generation?

The best way to prevent API contract drift during OpenAPI generation is to use a built-in drift guard. This mechanism enforces schema alignment, versioning choices, and error handling consistency while the contract is being generated.

Does OpenAPI 3.1 contract generation include validation hooks for testing?

Yes, OpenAPI 3.1 contract generation includes validation hooks and a companion markdown guide. These outputs streamline integration and testing by validating the generated contract against your defined API resource entities and schemas.