Api generator

From sampleXbro/agentsmesh · View interactive version

Api generator is an AI agent skill from the GitHub repository sampleXbro/agentsmesh. Generate RESTful API endpoints with validation, error handling, and OpenAPI documentation

How to use this skill

Skill file

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:

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 for required fields on each endpoint type.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.