Skip to content
Back to skills

Afrexai Api Docs

ASecurity

Generate production-ready API documentation from endpoint descriptions. Use when creating OpenAPI 3.0 specs, markdown API references, SDK quickstart guides, curl examples, language snippets, authentication docs, pagination/filtering docs, error responses, or developer-facing API documentation.

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 12, 2026
documentationjavascriptpythongojavagitapici/cddocumentation

Works with

  • api

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned September 12, 2026

npx -y skills add whyzsm/tiny-agents --skill afrexai-api-docs --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Afrexai Api Docs?

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

Security grade badge for Afrexai Api Docs
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/whyzsm-afrexai-api-docs/badge)](https://www.skillsdirectory.com/skills/whyzsm-afrexai-api-docs)

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: afrexai-api-docs
description: Generate production-ready API documentation from endpoint descriptions. Use when creating OpenAPI 3.0 specs, markdown API references, SDK quickstart guides, curl examples, language snippets, authentication docs, pagination/filtering docs, error responses, or developer-facing API documentation.
---

# API Documentation Generator

Generate production-ready API documentation from endpoint descriptions. Outputs OpenAPI 3.0, markdown reference docs, and SDK quickstart guides.

## Usage

Describe your API endpoints and this skill generates:

1. **OpenAPI 3.0 spec** — machine-readable, import into Swagger/Postman
2. **Markdown reference** — human-readable endpoint docs with examples
3. **SDK quickstart** — copy-paste integration guide for developers

## Instructions

When the user describes API endpoints (routes, methods, parameters, responses):

1. Generate a complete OpenAPI 3.0 YAML specification
2. Create markdown documentation with:
   - Authentication section
   - Each endpoint: method, path, description, parameters table, request/response examples
   - Error codes reference
   - Rate limiting notes
3. Generate a quickstart guide with curl examples and common language snippets (Python, JavaScript, Go)

### Output Format

```yaml
# openapi.yaml — full OpenAPI 3.0 spec
```

```markdown
# API Reference — human-readable docs
```

```markdown
# Quickstart Guide — integration examples
```

### Quality Standards
- Every endpoint must have request AND response examples
- Use realistic sample data, not "string" or "example"
- Include error responses (400, 401, 403, 404, 500)
- Document pagination, filtering, and sorting patterns
- Note breaking changes and versioning strategy

## Tips
- Paste your route files or controller code for automatic extraction
- Works with REST, GraphQL (schema-first), and gRPC (proto-first)
- Combine with CI/CD to auto-generate docs on every deploy

---

Built by [AfrexAI](https://afrexai-cto.github.io/context-packs/) — AI-powered business tools for teams that ship fast.

Files in this skill

  • SKILL.md2 KB
  • agents/openai.yaml230 B
  • source.json566 B

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.

Comments

Loading comments…