create-feature

📁 duc01226/easyplatform 📅 3 days ago
1
总安装量
1
周安装量
#42449
全站排名
安装命令
npx skills add https://github.com/duc01226/easyplatform --skill create-feature

Agent 安装分布

antigravity 1
gemini-cli 1

Skill 文档

Create a new feature: $ARGUMENTS

Steps:

  1. Analyze Requirements

    • Break down the feature requirements
    • Identify the scope (backend only, frontend only, or full-stack)
  2. Identify Service Location

    • Determine the appropriate microservice for backend
    • Identify the Angular app/module for frontend
  3. Plan Implementation

    • Domain entities needed
    • CQRS Commands/Queries
    • API endpoints (controllers)
    • Angular components and services
    • DTOs and validation
  4. Use Platform Patterns

    • Reference patterns from CLAUDE.md
    • Use .github/prompts/ templates for scaffolding:
      • create-cqrs-command.prompt.md
      • create-cqrs-query.prompt.md
      • create-entity-event.prompt.md
      • create-angular-component.prompt.md
      • create-api-service.prompt.md
  5. Wait for Approval

    • Present the implementation plan
    • DO NOT proceed without explicit approval
  6. Create Files (After Approval) Execute in this order:

    1. Domain entities (.Domain/Entities/)
    2. Application layer (.Application/UseCaseCommands/, .Application/UseCaseQueries/)
    3. Entity DTOs (.Application/EntityDtos/)
    4. API controllers (.Api/Controllers/)
    5. Frontend components and services
  7. Verify

    • Build backend: dotnet build
    • Build frontend: nx build <app-name>

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