# Api Docs Generate

> Generate OpenAPI/Swagger documentation from code analysis

- **Type:** Skill
- **Install:** `agentstack add skill-manastalukdar-ai-devstudio-api-docs-generate`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [manastalukdar](https://agentstack.voostack.com/s/manastalukdar)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [manastalukdar](https://github.com/manastalukdar)
- **Source:** https://github.com/manastalukdar/ai-devstudio/tree/main/skills/api-docs-generate

## Install

```sh
agentstack add skill-manastalukdar-ai-devstudio-api-docs-generate
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# API Documentation Generation

I'll generate comprehensive OpenAPI/Swagger documentation from your API code.

**Features:**
- Auto-generate from Express, FastAPI, Next.js API routes
- OpenAPI 3.0 specification format
- Interactive Swagger UI setup
- Automatic schema extraction
- Integration with `/api-test-generate`

## Token Optimization

**Expected range**: 1,500–2,500 tokens (initial), 400–600 tokens (cache hit)

**Caching**: Caches OpenAPI spec analysis in `.claude/cache/api-docs/` for 7 days. Invalidated when API routes change.

**Early exit**: Returns immediately if spec already exists and is current.

**Patterns used**: Grep-before-Read, early exit, template-based generation, git diff scope default

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [manastalukdar](https://github.com/manastalukdar)
- **Source:** [manastalukdar/ai-devstudio](https://github.com/manastalukdar/ai-devstudio)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-manastalukdar-ai-devstudio-api-docs-generate
- Seller: https://agentstack.voostack.com/s/manastalukdar
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
