AGENT SKILL
api-generator
Generate REST API endpoints with validation and tests
适用职业开发工程师
- License 许可
- MIT
- 最近更新
- 2026-11-06
- Stars
- ★ 28
- Forks
- 7
01 前言 Front Matter
- name
- api-generator
- description
- Generate REST API endpoints with validation and tests
02 资源文件 1
- 参考文档references/checklist.md332 B
03 SKILL.md 正文
API Generator Skill
Generate a complete REST API endpoint following the project conventions.
Steps
- Define the route handler with proper TypeScript types
- Add input validation using the project's validation library
- Write integration tests covering happy path and error cases
- Update the API documentation
Guidelines
- Use
async/awaitconsistently - Return proper HTTP status codes
- Include error handling for all failure modes
04 同仓库更多 Skills
research
Research docs and summarize decisions
★ 28
debugging
Systematic debugging workflow for production failures and test regressions.
★ 28
debugging
Systematic debugging workflow for production failures and test regressions.
★ 28
typescript-pro
Apply advanced TypeScript patterns including conditional types, template literal types, and mapped types
★ 28
debugging
Systematic debugging workflow for Replit projects
★ 28
api-generator
Generate REST API endpoint scaffolding with validation and tests.
★ 28