Agent Skills: create-feature

[Implementation] Scaffold a new feature with backend and frontend components

UncategorizedID: duc01226/easyplatform/create-feature

Install this agent skill to your local

pnpm dlx add-skill https://github.com/duc01226/EasyPlatform/tree/HEAD/.claude/skills/create-feature

Skill Files

Browse the full folder contents for create-feature.

Download Skill

Loading file tree…

.claude/skills/create-feature/SKILL.md

Skill Metadata

Name
create-feature
Description
"[Implementation] Scaffold a new feature with backend and frontend components"

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