Generate REST API endpoints with validation and tests
Scanned 9/5/2026
Install to Claude Code
npx -y skills add sampleXbro/agentsmesh --skill api-generator --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Api Generator?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/samplexbro-api-generator-44208de7)More formats (shields.io, HTML) on the badges page.
---
name: api-generator
description: Generate REST API endpoints with validation and tests
---
# 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 `async/await` consistently
- Return proper HTTP status codes
- Include error handling for all failure modes
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!