Skip to content
Back to skills

Api Generator

ASecurity

Generate RESTful API endpoints with validation, error handling, and OpenAPI documentation

  • 24 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added June 6, 2026
ai-agentsapidocumentation

Works with

  • api

Security analysis

A100/100

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

Scanned June 6, 2026

npx -y skills add sampleXbro/agentsmesh --skill api-generator --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Api Generator?

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

Security grade badge for Api Generator
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/samplexbro-api-generator/badge)](https://www.skillsdirectory.com/skills/samplexbro-api-generator)

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: api-generator
description: Generate RESTful API endpoints with validation, error handling, and OpenAPI documentation
---

# API Generator Skill

Use this skill to scaffold complete REST API endpoints following the project's established patterns.

## When to Use

Apply this skill when:
- Adding new resource endpoints (GET, POST, PUT, DELETE)
- Generating CRUD operations for a new data model
- Creating webhook handlers with signature validation

## Process

1. Review the data model or schema in `src/models/`
2. Check existing endpoint patterns in `src/api/`
3. Generate the route handler using the template
4. Add Zod validation schemas for request/response
5. Write unit and integration tests
6. Update OpenAPI spec in `docs/api/`

## References

See [route checklist](references/route-checklist.md) for required fields on each endpoint type.

Files in this skill

  • SKILL.md858 B
  • references/route-checklist.md685 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…

Newsletter

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