Agent Skill
2/7/2026backend-design
Produce backend design docs for new features, covering Prisma schema, proto types, DTOs, APIs, permissions, and NestJS services/controllers/modules using the repo's 6-step flow. Use when user needs to create backend design documentation, mentions backend/API/database design, or asks for architecture planning.
Y
y2138
0GitHub Stars
1Views
npx skills add Y2138/vue3-mono
SKILL.md
| Name | backend-design |
| Description | Produce backend design docs for new features, covering Prisma schema, proto types, DTOs, APIs, permissions, and NestJS services/controllers/modules using the repo's 6-step flow. Use when user needs to create backend design documentation, mentions backend/API/database design, or asks for architecture planning. |
name: backend-design description: Produce backend design docs for new features, covering Prisma schema, proto types, DTOs, APIs, permissions, and NestJS services/controllers/modules using the repo's 6-step flow. Use when user needs to create backend design documentation, mentions backend/API/database design, or asks for architecture planning.
Backend Design
Goal
Create a backend design document for a new feature or module.
Required Sections (6-Step Flow)
- Requirements and architecture (scope, dependencies, constraints).
- Prisma data model (fields, relations, indexes, mappings).
- Proto definitions and generation (
protos/,pnpm run proto:gen). - Service design (business logic, queries, error rules).
- Controller/API design (routes, methods, auth, Swagger notes).
- Module configuration (providers, imports, init flow).
Rules
- Use RESTful conventions.
- Describe permissions and business rules explicitly.
- Focus on design, not implementation code.
Document Standard
- Location:
docs/design-docs/ - Naming: Chinese filename,
主需求_模块 - Split by major modules when needed.
Skills Info
Original Name:backend-designAuthor:y2138
Download