Aidlc api design skill

From guyon-it-consulting/kiro-ui · View interactive version

Aidlc api design skill is an AI agent skill from the GitHub repository guyon-it-consulting/kiro-ui. Design clear, versioned, backward-compatible interfaces and contracts between units, services, and external consumers. Applies wherever interfaces/contracts are designed or reviewed.

How to use this skill

Skill file

API Design

Purpose

Design the public interface of a unit — its operations, data shapes, error handling, and versioning — so that consumers can build against it with confidence. The specification is the contract: precise, complete, and stable.

Principles

Approach

1. Derive from contracts

Start with unit-contracts.md — the inter-unit agreements. The API specification elaborates the provider side:

2. Define operations

For each operation:

3. Handle the edges

4. Version consciously

Application

When applied to interface design, this skill adds precise operations, payload shapes, error semantics, versioning rules, and consumer-facing compatibility guarantees to the relevant artifact, such as api-specification.md or contract specs.

When applied in review, this skill manifests as: checking API designs for consumer-friendliness, backward compatibility, clear ownership, explicit failure behaviour, and unambiguous interface definitions.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.