Skill

Write Comprehensive Integration Specifications

Writes comprehensive integration specifications: auth, endpoints, data models, errors, rate limits, and sequence diagrams.


78
Spark score
out of 100
Updated 7 months ago
Version 1.0.0
Models

Add to Favorites

Why it matters

Generate definitive integration specifications that act as clear contracts between systems, APIs, and services, ensuring seamless and unambiguous system integrations.

Outcomes

What it gets done

01

Define API endpoint contracts with request/response schemas.

02

Document authentication, authorization, and error handling procedures.

03

Create sequence diagrams and integration test scenarios.

04

Specify rate limiting, data models, and environment configurations.

Install

Add it to your toolbox

Run in your project directory:

curl -fsSL https://spark.entire.vc/get/vb-integration-spec | bash

Overview

Integration Specification Writer

Writes comprehensive integration specifications covering authentication, endpoint request/response schemas, error handling with retry strategies, rate limiting, sequence diagrams, and test scenarios. Use when documenting an API integration or defining a binding technical contract between systems before or during implementation.

What it does

Writes comprehensive integration specifications that serve as definitive contracts between systems, APIs, and services - detailed technical documentation covering authentication, endpoint contracts, data models, error handling, rate limiting, sequence diagrams, and test scenarios, aimed at eliminating ambiguity in system integrations.

When to use - and when NOT to

Use this skill when documenting a new API integration, defining a contract between two services, specifying authentication flows and endpoint behavior before implementation, or writing test scenarios that a partner team needs to validate against. Not a fit for writing the integration code itself or for informal internal notes that do not need to serve as a binding contract between teams.

Inputs and outputs

Every integration spec produced covers eight essential components: integration overview (purpose, scope, high-level architecture), authentication and authorization (security mechanisms, token handling), endpoint definitions (complete API contract with request/response schemas), data models, error handling (codes and recovery procedures), rate limiting (throttling rules and quota management), sequence diagrams (visual interaction flows), and testing scenarios (integration test cases and validation criteria).

Authentication is specified with complete, runnable examples - for instance a Bearer Token / OAuth 2.0 client credentials flow with a token endpoint, required headers, and automatic token refresh threshold defined in YAML.

Endpoints are documented to full technical detail: HTTP method and path, request body schema with field types and constraints (required/optional, max length, numeric ranges, format patterns), and success response bodies with concrete example values (order IDs, status, tracking URLs).

Error handling specs define each error code with its HTTP status, message, retry strategy (e.g. exponential backoff vs. do-not-retry), and resolution guidance, plus the exact response headers returned (Retry-After, X-RateLimit-Reset). Rate limiting sections define per-endpoint and global request limits, burst allowance, and the rate-limit headers returned on every response. Sequence diagrams use Mermaid syntax to show multi-service interaction flows (client, API gateway, order/payment/inventory services). Test scenario sections specify preconditions and expected outcomes for both happy-path and error scenarios (e.g. insufficient inventory), and environment configuration sections define sandbox vs. production base URLs, SLAs, and maintenance windows.

Integrations

Produces specs in the formats integration engineers already use for the contract itself - YAML for configuration and auth, JSON for schemas and error codes, HTTP-style request/response blocks for endpoints, and Mermaid for sequence diagrams - rather than a single fixed document format.

Who it's for

Engineers and technical writers who need to produce a definitive, unambiguous contract between systems before or during integration work - useful when a partner team needs a complete reference covering authentication, every endpoint's request/response shape, error codes with retry guidance, rate limits, and test scenarios, rather than a scoped implementation guide.

FAQ

Common questions

Discussion

Questions & comments · 0

Sign In Sign in to leave a comment.