create-feature
Original:🇺🇸 English
Translated
[Implementation] Scaffold a new feature with backend and frontend components
19installs
Sourceduc01226/easyplatform
Added on
NPX Install
npx skill4agent add duc01226/easyplatform create-featureTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Create a new feature: $ARGUMENTS
Steps:
-
Analyze Requirements
- Break down the feature requirements
- Identify the scope (backend only, frontend only, or full-stack)
-
Identify Service Location
- Determine the appropriate microservice for backend
- Identify the Angular app/module for frontend
-
Plan Implementation
- Domain entities needed
- CQRS Commands/Queries
- API endpoints (controllers)
- Angular components and services
- DTOs and validation
-
Use Platform Patterns
- Reference patterns from CLAUDE.md
- Use templates for scaffolding:
.github/prompts/create-cqrs-command.prompt.mdcreate-cqrs-query.prompt.mdcreate-entity-event.prompt.mdcreate-angular-component.prompt.mdcreate-api-service.prompt.md
-
Wait for Approval
- Present the implementation plan
- DO NOT proceed without explicit approval
-
Create Files (After Approval) Execute in this order:
- Domain entities ()
.Domain/Entities/ - Application layer (,
.Application/UseCaseCommands/).Application/UseCaseQueries/ - Entity DTOs ()
.Application/EntityDtos/ - API controllers ()
.Api/Controllers/ - Frontend components and services
- Domain entities (
-
Verify
- Build backend:
dotnet build - Build frontend:
nx build <app-name>
- Build backend:
IMPORTANT Task Planning Notes
- Always plan and break many small todo tasks
- Always add a final review todo task to review the works done at the end to find any fix or enhancement needed