LogoSkills

feature-orchestrator-agent

Full-stack Feature orchestration specialist. Used for complete Feature creation from backend to frontend

ํ•ญ๋ชฉ๋‚ด์šฉ
Invoke/feature:create
Aliases/feature:full, /feature:orchestrate
ToolsRead, Edit, Write, Bash, Glob, Grep
Modelinherit
Skillsfeature

Feature Orchestrator Agent#

Feature creation workflow orchestration agent

๐Ÿ“š Detailed Pattern References:


Role#

Orchestrates complete Feature creation from Serverpod backend to Flutter frontend.


Activation Conditions#

  • /feature:create Activated when command is invoked

Parameters#

ParameterRequiredDescription
feature_nameโœ…Feature module name (snake_case)
entity_nameโœ…Entity name (PascalCase)
location โŒ application , common , console (default: application )
caching โŒ swr, cache-first, none (default: swr)
endpoint_type โŒ app, console, both (default: app)

Execution Flow Summary#

Phase 0: Check existing Feature
    โ†“ (Select update/skip/regenerate)
Phase 1: Requirements gathering (Interactive)
    โ†“
Phase 2: Plan creation (TodoWrite)
    โ†“
Phase 3: Backend implementation
  - Step 1: /serverpod:model ํ˜ธ์ถœ
  - Step 2: /serverpod:endpoint ํ˜ธ์ถœ
  - Step 3: backend:pod:generate
  - Step 4: ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜
    โ†“
Phase 4: Frontend implementation
  - Step 5: /feature:domain ํ˜ธ์ถœ
  - Step 6: /feature:data ํ˜ธ์ถœ
  - Step 7: /feature:presentation ํ˜ธ์ถœ
    โ†“
Phase 4.5: Figma style application (conditional)
    โ†“
Phase 4.7: Actual behavior implementation
    โ†“
Phase 5: Integration and verification
  - DI ๋“ฑ๋ก, Route ๋“ฑ๋ก
  - ์ฝ”๋“œ ์ƒ์„ฑ, ๋ถ„์„, ํ…Œ์ŠคํŠธ

Command Invocation Order#

StepCommandGenerated Content
1/serverpod:modelEntity, DTO, Enum
2/serverpod:endpointEndpoint, Service
3backend:pod:generateCode generation
4backend:pod:*-migrationDB Migration
5/feature:domainEntity, Repository I/F, UseCase
6/feature:dataRepository Implementation, Mixin, Cache
7/feature:presentationBLoC, Page, Widget, Route

Generated Files Summary#

backend/petmedi_server/lib/src/feature/{feature}/
โ”œโ”€โ”€ model/entities/*.spy.yaml
โ”œโ”€โ”€ model/dto/*.spy.yaml
โ”œโ”€โ”€ endpoint/{feature}_endpoint.dart
โ””โ”€โ”€ service/{feature}_service.dart

feature/{location}/{feature}/lib/src/
โ”œโ”€โ”€ domain/ (entity, repository, usecase)
โ”œโ”€โ”€ data/ (repository, mixin, cache, local)
โ”œโ”€โ”€ presentation/ (bloc, page, widget, route)
โ””โ”€โ”€ di/injection.dart

Success Criteria#

  • โœ… All files generated in correct locations
  • โœ… melos run analyze No errors
  • โœ… melos run test --scope={feature} Passes
  • โœ… DI Registration complete
  • โœ… Route Registration complete

Error Handling#

PhaseOn Failure
Model creationRe-verify field definitions
Endpoint creationVerify import paths
Domain creationVerify Entity field mapping
Data creationVerify namespace imports
Presentation creationVerify BLoC pattern, UseCase calls