# OpenAPI Style Lint, Autofix and Review

> Lint OpenAPI 3.0/3.1 specs with ten style rules, apply safe autofixes, then get a review report with risk notes and suggested names. Style profiles, templates, offline scripts and tests included.

OpenAPI Style Lint, Autofix and Review is a paid AI agent skill on Agensi by José Miguel Gómez, in Code Quality & Review. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $7 (one-time purchase)
- Creator: [José Miguel Gómez](https://www.agensi.io/creators/jose-miguel-gomez)
- Category: [Code Quality & Review](https://www.agensi.io/skills/code-quality-review)
- Version: 1.0
- Last updated: 2026-12-03
- Security: scan passed (2026-12-03); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/openapi-style-lint-autofix-and-review
- Tags: code-review, openapi, json

## What it does

- Checks your API file against ten specific style rules to find naming and description errors
- Automatically fixes common mistakes like wrong text casing and missing response descriptions
- Creates a risk report that warns you if a fix might break how other people use your API
- Suggests new names and summaries for parts of your API that are currently unclear
- Provides a checklist for your team so they know exactly what changed and why

## Who it's for

- **Founders with an API for their product:** Make your technical documentation look professional and consistent before you launch. Try: "Check my OpenAPI file for any missing descriptions or messy naming."
- **Developers cleaning up old codebases:** Standardize your API design and fix common mistakes across your team. Try: "Run the standard style review on openapi.json and tell me what risks I should know about."
- **Technical writers managing documentation:** Find and fix missing tags and messy URLs so your API docs stay easy to read. Try: "Review the style of this API spec and suggest better summaries for the endpoints."

## About this skill

When APIs are built by different people, the names and descriptions often get messy. This skill helps your AI agent find those inconsistencies and fix them. It looks for things like missing descriptions, confusing names, and URLs that don't follow standard patterns.

**How it works**

1. Provide your API specification in JSON format to your AI agent.
2. Your AI agent runs a check using a set of ten professional style rules.
3. The skill automatically fixes simple issues like casing errors or missing tags.
4. You receive a report showing what was changed, what risks those changes might have, and what you still need to fix by hand.
5. Your AI agent gives you a ready-to-use template for your team to explain the changes.

**What you get:** A cleaned-up API file and a detailed report of all style improvements and remaining suggestions.

## Requires

- Python

## Known limitations

Only works with JSON files under 10MB. It cannot fix name collisions or follow links to other files automatically.

## Technical details

Uses Python 3 scripts to lint and fix OpenAPI 3.0/3.1 JSON documents. It implements rules OAS001 through OAS010. The skill includes a review script that generates Markdown reports and a fix script that outputs a modified JSON file. It handles camelCase/kebab-case enforcement, trailing slashes, and missing fields. It does not resolve external $ref pointers and operates entirely locally without network access.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the OpenAPI Style Lint, Autofix and Review skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What problems does this skill solve for my API design?

It helps organize messy API documentation by finding and fixing inconsistent names, missing descriptions, and URL errors. It ensures your technical documents follow a professional style before you share them with your team or use them to build software.

### Do I need any special software or accounts to use this?

You only need your API document in a JSON file format. If your file is currently in YAML format, you will need to convert it to JSON before the skill can begin the review.

### What specifically do I get after the skill runs?

You receive a cleaned version of your API file and a detailed report. This report includes a list of every change made, a checklist of risks to consider, and templates you can use to explain these improvements to your coworkers.

### Are there any types of API files or issues it cannot handle?

This skill does not resolve external links within your files and only works with documents up to 10 megabytes in size. It also avoids making changes that require a human to invent business descriptions or resolve naming conflicts where two items share the same name.

### How should I tell my AI agent to start the process?

Simply provide your JSON file to your AI agent and ask it to run a review using the professional style rules. You can also specify if you want a strict check or a minimal one depending on how many changes you are ready to make.

### Will it change my file automatically or do I have to approve everything?

The skill can automatically fix simple issues like casing errors or missing tags, but it will not rename paths or properties without your approval. It provides a risk checklist for any changes that might affect people currently using your API.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
