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 tests

How to use this skill

Skill file

API Generator Skill

Generate a complete REST API endpoint following the project conventions.

Steps

  1. Define the route handler with proper TypeScript types
  2. Add input validation using the project's validation library
  3. Write integration tests covering happy path and error cases
  4. Update the API documentation

Guidelines

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.