-
Notifications
You must be signed in to change notification settings - Fork 0
Feature Development Agents
Ali Sadeghi edited this page Feb 5, 2026
·
5 revisions
Specialized agents for building feature layers in parallel.
Feature Development Agents execute the three core layers of Clean Architecture:
- data-layer-agent - Models, API routes, DataSource, Repository
- ui-layer-agent - UiModel, ViewModel, Screens, Navigation
- integration-agent - DI wiring, Gradle setup, Navigation registration, Spec generation
These agents run in parallel during feature creation (Phase 3) and are orchestrated by the creating-kmp-feature skill.
Feature Module Structure
├── data/
│ ├── model/ (created by data-layer-agent)
│ ├── remote/ (created by data-layer-agent)
│ └── repository/ (created by data-layer-agent)
├── presentation/
│ ├── model/ (created by ui-layer-agent)
│ ├── viewmodel/ (created by ui-layer-agent)
│ ├── ui/ (created by ui-layer-agent)
│ └── navigation/ (created by ui-layer-agent)
└── di/
└── {Feature}Module.kt (created by integration-agent)
Generates the data persistence layer with type-safe API contracts and error handling.
Generates:
- Domain models with
@Serializable - Ktor Resources (type-safe API routes)
- RemoteDataSource (interface + implementation)
- Repository (interface + implementation)
- All using
Either<T>error handling
Generates the presentation layer with the 4-state UI pattern.
Generates:
- UiModel (presentation models)
- ViewModel with 4-state pattern (Uninitialized/Loading/Success/Failed)
- Composable Screens with X-components
- Navigation with type-safe routes
- Uses
setState { }for state updates
Completes integration of the feature into the application.
Completes 4 Integration Points:
- settings.gradle.kts - Include module
- composeApp/build.gradle.kts - Add dependency
- initKoin.kt - Register DI module
- BaseAppNavHost.kt - Wire navigation
Also generates:
- Living specification at
.claude/docs/{feature}/spec.md - Full build validation
Back to Agents