Api generator

From sampleXbro/agentsmesh · View interactive version

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

How to use this skill

Skill file

Purpose

Generate well-structured REST API endpoints following the project's conventions.

Includes request validation, typed response shapes, and consistent error handling.

Workflow

  1. Analyze the endpoint requirements from the user's description
  2. Review references/checklist.md for quality gates
  3. Generate the route handler with input validation
  4. Add typed request/response interfaces
  5. Include error handling middleware integration
  6. Write unit tests alongside the implementation

Best Practices

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.