-
Notifications
You must be signed in to change notification settings - Fork 0
Integration Agent
Ali Sadeghi edited this page Jan 6, 2026
·
4 revisions
Completes the 4 integration points and generates living specification.
Invoked by: creating-kmp-feature skill (Phase 3, after data + ui)
- settings.gradle.kts - Include module
- composeApp/build.gradle.kts - Add dependency
- initKoin.kt - Register DI module
- BaseAppNavHost.kt - Wire navigation
include(":feature:productcatalog")dependencies {
implementation(projects.feature.productcatalog)
}fun initKoin() {
startKoin {
modules(
// ... other modules
ProductCatalogModule().module
)
}
}@Composable
fun BaseAppNavHost(navController: NavHostController) {
XNavHost(navController, startDestination = HomeRoute) {
// ... other routes
composable<ProductListRoute> {
ProductListScreen(
onProductClick = { id ->
navController.navigate(ProductDetailRoute(id))
},
onBackClick = { navController.popBackStack() }
)
}
composable<ProductDetailRoute> { backStackEntry ->
val route = backStackEntry.toRoute<ProductDetailRoute>()
ProductDetailScreen(
productId = route.productId,
onBackClick = { navController.popBackStack() }
)
}
}
}.claude/docs/productcatalog/spec/productcatalog.md
- Full build passes:
./gradlew assembleDebug - All integration points complete
- Spec generated successfully
Back to Agents