fetch-api-spec

Official

Access API contracts, build consistent interfaces.

Authorsemicolon-devteam
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill retrieves official API specifications from the core-interface repository, ensuring all API implementations adhere to a single source of truth. This prevents API inconsistencies, simplifies integration, and maintains type safety across projects, aligning with the Semicolon API Architecture.

Core Features & Use Cases

  • OpenAPI Schema Retrieval: Fetches OpenAPI 3.1 schemas for specific endpoints, including request/response bodies and DTOs.
  • DTO Naming Conventions: Enforces critical naming rules based on Operation IDs (e.g., GetMeResponse).
  • Implementation Patterns: Provides TypeScript interfaces and example API route implementations with standard error handling.
  • Use Case: When building a new Next.js API route, use this skill to fetch the exact request and response schemas, ensuring your API matches the defined contract and follows team conventions.

Quick Start

Fetch the API specification for 'GET /api/v1/me'.

Dependency Matrix

Required Modules

gh clibase64jq

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: fetch-api-spec
Download link: https://github.com/semicolon-devteam/docs/archive/main.zip#fetch-api-spec

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.