api-validator

Community

Automates API standards checks.

Authormoasadi
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps teams enforce REST API design and documentation standards, reducing review time and deployment risks by validating versioning, naming, HTTP methods, status codes, pagination, and Swagger documentation.

Core Features & Use Cases

  • Versioning rules: Enforce the /v1/ prefix on all routes to maintain stable contracts.
  • Resource Naming: Validate plural nouns, lowercase-with-hyphens, and no verbs in resource names.
  • HTTP Methods & Status Codes: Ensure endpoints use the correct methods and status codes (e.g., 201 for create, 200/204 for reads/deletes).
  • Pagination: Require list endpoints to support pagination DTOs and structured responses.
  • Swagger/OpenAPI Docs: Verify full OpenAPI documentation coverage for all endpoints.
  • Error Mapping: Check consistent error status usage and descriptive messages.
  • Use Case Scenarios: Useful during pre-deployment checks, API design reviews, and documentation completeness verification.

Quick Start

  • Run the API validator against your project to check /v1/ routes, naming, HTTP methods, pagination, and Swagger docs.
  • Example input: "Validate the User API endpoints"

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: api-validator
Download link: https://github.com/moasadi/ddd-bun-api-boilerplate/archive/main.zip#api-validator

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.