Works with the AI tools you already use

    CClaude CodeCCursorCCodex CLIGGitHub CopilotGGemini CLIVVS CodeWWindsurf+15 more

    API Contract Designer

    by Arnstein Larsen

    1

    Expert API architect for designing consistent REST/GraphQL contracts, resource models, and OpenAPI specs.

    Secure checkout via Stripe

    0 installsSecurity scanned

    See it in action

    You say

    Design a REST API for a subscription-based coffee delivery service including resource modeling and a standard error envelope. Use snake_case.

    Your agent does

    Resources: /customers, /subscriptions, /roasts. Relationships: Customer has-many Subscriptions. Error Envelope: { "error": { "code": "string", "message": "string", "details": [], "request_id": "uuid" } } Idempotency: PUT /subscriptions/{id}/pause requires X-Idempotency-Key.

    What you get

    Model complex resource relationships and lifecycles before implementationGenerate consistent OpenAPI skeletons with standardized error envelopesAudit existing API designs for idempotency and retry safetyStandardize naming conventions and pagination across multiple servicesDesign robust webhook and event-driven notification schemas

    About this skill

    What it does

    The API Contract Designer is a specialized architect for your AI agent that ensures your APIs are consistent, scalable, and developer-friendly before a single line of code is written. It shifts focus from "endpoints" to "resource modeling," helping you define the nouns, relationships, and lifecycles of your domain. It handles the heavy lifting of cross-cutting concerns like idempotency, error envelopes, and pagination strategies.

    Why use this skill

    Generic AI prompts often produce brittle, inconsistent APIs that lack cohesive naming or proper error handling. This skill enforces "consistency by construction" by forcing high-level design decisions—such as auth patterns and versioning strategies—across the entire contract. It proactively flags non-idempotent operations and designs retry logic to prevent distributed systems failures.

    Supported Standards & Outputs

    • REST and GraphQL architectural styles
    • OpenAPI Spec (OAS) skeleton generation
    • Resource lifecycle modeling and relationship mapping
    • Webhook and event-driven architecture design
    • Standardized error envelopes and pagination (Cursor/Offset)

    The output is a production-ready blueprint, ranging from structured audit reports to copy-paste OpenAPI templates tailored to your specific tech stack and team constraints.

    How to install

    Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    30-day refund

    Not a fit? Get your money back

    Trust & safety

    Security scanned

    Verified clean 24 days ago

    Listed1 month ago
    Updated24 days ago

    Creator

    Frequently Asked Questions

    Popular in API Development