AGENT SKILL
api-generator
Scaffold new REST endpoints or controllers for existing resources
- License 许可
- MIT
- 最近更新
- 2026-11-06
- Stars
- ★ 28
- Forks
- 7
01 前言 Front Matter
- name
- api-generator
- description
- Scaffold new REST endpoints or controllers for existing resources
02 资源文件 2
- 参考文档references/route-checklist.md412 B
- 脚本template.ts545 B
03 SKILL.md 正文
When to use
- New CRUD endpoints for a resource
- Greenfield resource scaffolding
- Adding query parameters or pagination to existing routes
Steps
- Read the route checklist for requirements.
- Generate a controller from template.ts for the resource name.
- Wire the route into the router and update the OpenAPI document.
Outputs
- Controller file under
src/controllers/ - Test stub under
tests/controllers/ - Updated OpenAPI document
04 同仓库更多 Skills
research
Research docs and summarize decisions
★ 28
debugging
Systematic debugging workflow for production failures and test regressions.
★ 28
api-generator
Generate REST API endpoints with validation and tests
★ 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