huangjia2019/claude-code-engingeering-en/api-generating
Claude Code and agent skill by huangjia2019/claude-code-engingeering-en
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Generate REST API endpoints following project conventions. Activate when user asks to create a new API endpoint, add a route, or build a new API resource with CRUD operations.
Install
npx vskill@latest install huangjia2019/claude-code-engingeering-en/api-generatingSKILL.md
API Endpoint Generator
Generate REST API endpoints following the project's established patterns.
Before Generating
- Read existing route files to understand the project's patterns
- Check for validation library usage (Zod, Joi, etc.)
- Identify the architecture pattern (layered, MVC, etc.)
Generation Template
For each new resource, create:
- Route file (
src/routes/{resource}.ts)
- Zod validation schemas
- Route handlers that parse and delegate
- NO business logic in routes
- Service file (
src/services/{resource}Service.ts)
- Business rules and validation
- Orchestration of repo calls
- Domain error throwing
- Repo file (
src/repos/{resource}Repo.ts)
- Data access only
- Prisma operations
- NO business logic
- Test file (
tests/{resource}.test.ts)
- Happy path tests
- Edge case tests
- Error handling tests
Naming Conventions
- Files: camelCase (
orderService.ts) - Classes: PascalCase (
OrderService) - Routes: kebab-case (
/api/order-items) - Database: snake_case (handled by Prisma)
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingch03-skills/.claude/skills/api-generating/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/huangjia2019/claude-code-engingeering-en/api-generating)