api-design-reviewer

Lint OpenAPI specs for REST conventions and detect breaking changes.

Updated Nov 28, 2025
One-click install
npx skills add https://github.com/moshesham/Economic-Dashboard-API --skill api-design-reviewer-moshesham
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api-design-reviewer
Source: https://github.com/moshesham/Economic-Dashboard-API/tree/main/.github/skills/api-design-reviewer
Command: npx skills add https://github.com/moshesham/Economic-Dashboard-API --skill api-design-reviewer-moshesham

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The API Design Reviewer solves the challenge of ensuring REST API designs meet conventions and industry standards by providing automated linting, breaking-change detection, and design scoring.

Core Features & Use Cases

  • API linting and conformance checks for resource naming, HTTP methods, URL structures, status codes, error formats, and documentation coverage.
  • Breaking-change detection across API versions to identify endpoint removals, schema changes, and added required fields.
  • API design scoring and assessment using multi-dimensional metrics to guide improvements and maintain consistency.
  • REST design principles, versioning strategies, pagination patterns, and error response formats to standardize API design.
  • CI/CD and pre-commit examples that showcase integration with api_linter.py, breaking_change_detector.py, and api_scorecard.py.

Quick Start

Run the API design reviewer against your OpenAPI specifications to lint conventions, detect breaking changes, and generate a design scorecard.

Frequently Asked Questions about api-design-reviewer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect breaking changes across OpenAPI spec versions?

OpenAPI spec breaking changes are detected by comparing versions to identify endpoint removals, schema modifications, and added required fields. The breaking_change_detector.py component automates this comparison to prevent backward compatibility issues.

How do I lint REST API conventions in an OpenAPI document?

REST API linting validates OpenAPI documents against conventions for resource naming, HTTP methods, URL structures, status codes, and error formats. The api_linter.py component enforces these design rules to ensure API conformance and documentation coverage.

What is an API design scorecard and how does it assess REST APIs?

An API design scorecard assesses REST APIs using multi-dimensional metrics to guide improvements and maintain consistency. The api_scorecard.py component evaluates OpenAPI specs to generate a quantitative design score across various REST principles.

Can I integrate API linting into CI/CD pipelines and pre-commit hooks?

API linting and breaking-change detection can be integrated into CI/CD pipelines and pre-commit hooks. The Skill provides examples showcasing how to run api_linter.py, breaking_change_detector.py, and api_scorecard.py automatically during development workflows.

Does the API design reviewer check pagination patterns and error response formats?

The API design reviewer checks pagination patterns and error response formats as part of its REST design conformance checks. It standardizes API design by validating these structures against industry principles within OpenAPI specifications.