api

Generate OpenAPI 3.1 contracts and perform bidirectional drift checking.

89|32|Updated May 28, 2026
One-click install
npx skills add https://github.com/genkovich/sdd --skill api-genkovich
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api
Source: https://github.com/genkovich/sdd/tree/main/skills/api
Command: npx skills add https://github.com/genkovich/sdd --skill api-genkovich

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the generation of API contracts and performs drift checking for Claude Code features, ensuring that the API contract aligns with the data model, sequences, and specifications.

Core Features & Use Cases

  • API Contract Generation: Automatically generates OpenAPI 3.1 contracts based on the data model, sequences, and specifications.
  • Drift Checking: Performs bidirectional drift checking between the generated contract and the source artifacts to identify discrepancies.
  • Use Case: When developing a new feature in Claude Code, use this Skill to generate the API contract and ensure it matches the expected data model and sequences.

Quick Start

Generate the API contract for the feature 'my_feature' by using the command: $sdd:api my_feature.

Frequently Asked Questions about api

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

FAQPage Schema
How do I generate an OpenAPI contract for Claude Code features?

Perform bidirectional drift checking to identify discrepancies between the generated OpenAPI contract and source artifacts like the data model and sequences. This ensures your API contract aligns with specifications.

Can I use this to check API drift against my data model?

Yes, perform bidirectional drift checking to identify discrepancies between the generated OpenAPI contract and source artifacts like the data model and sequences. This ensures your API contract aligns with specifications.

What do I need to generate API contracts for my feature?

API contract generation produces an OpenAPI 3.1 specification automatically derived from your data model, sequences, and specifications. It solves the problem of manually maintaining contracts that drift from source artifacts.

What is automated API contract generation for Claude Code?

API contract generation produces an OpenAPI 3.1 specification automatically derived from your data model, sequences, and specifications. It solves the problem of manually maintaining contracts that drift from source artifacts.

Does the drift checking work bidirectionally with specifications?

Yes, drift checking operates bidirectionally between the generated OpenAPI contract and the original specifications. This identifies discrepancies in both directions to ensure strict alignment with the data model and sequences.