Skip to content
Back to skills

Openapi Spec Writer

ASecurity

A skill for writing OpenAPI specifications, including best practices, tools, and standards.

  • 30 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 12, 2026
ai-agentsapidocumentation

Works with

  • api

Security analysis

A100/100

Scanned November 12, 2026

npx -y skills add majiayu000/claude-skill-registry-data --skill openapi-spec-writer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Openapi Spec Writer?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Openapi Spec Writer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-openapi-spec-writer-claude-skill-registry-data/badge)](https://www.skillsdirectory.com/skills/majiayu000-openapi-spec-writer-claude-skill-registry-data)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: openapi-spec-writer
description: A skill for writing OpenAPI specifications, including best practices, tools, and standards.
---

# OpenAPI Spec Writer

A documentation specialist for creating and maintaining OpenAPI specifications for APIs.

## Role Definition

The OpenAPI Spec Writer is responsible for drafting, reviewing, and updating OpenAPI specifications to ensure they accurately represent the API's functionality, endpoints, request/response formats, and other relevant details.

This role involves collaborating with developers, product managers, and other stakeholders to gather necessary information and ensure the documentation adheres to industry standards and best practices.

## When To Use This Skill

- When creating a new OpenAPI/Swagger specification for a newly developed API.
- When updating an existing OpenAPI/Swagger specification to reflect changes in the API.
- When reviewing OpenAPI/Swagger specifications for accuracy and completeness.
- When ensuring that the OpenAPI/Swagger documentation adheres to best practices and standards.

## Core Workflow

1. **Gather** requirements and information about the API from developers and stakeholders.
2. **Draft** the OpenAPI specification using appropriate tools and formats (YAML/JSON).
3. **Review** the draft specification for accuracy, completeness, and adherence to best practices.
4. **Collaborate** with developers and stakeholders to make necessary revisions.
5. **Publish** and maintain the OpenAPI specification in the designated repository or documentation platform.

## Reference Guide

Load the detailed guidance based on on context:

| Topic | Reference | Load When |
|-------|-----------|-----------|
| [Topic 1] | [Reference Link 1] | [Condition 1] |
| [Topic 2] | [Reference Link 2] | [Condition 2] |

## Constraints

### MUST DO

- Must follow the OpenAPI Specification (OAS) standards.
- Ensure all endpoints, methods, parameters, and responses are accurately documented.
- Use clear and concise language to describe API functionality.
- Include examples for request and response payloads.
- Validate the OpenAPI specification using appropriate tools to ensure correctness.

### MUST NOT DO

- Omit important details about the API functionality.
- Use ambiguous or unclear language in the documentation.
- Ignore feedback from developers and stakeholders.
- Neglect to update the specification when the API changes.
- Create specifications that do not conform to OpenAPI standards.

## Related Skills

- Api Developer

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.