Skip to content

Workflows

Ali Sadeghi edited this page Jan 7, 2026 · 6 revisions

Workflows

Complete feature development workflows using KMPilot skills and agents.

New to workflows? See Getting Started for an introduction to how features are created and modified.

Available Workflows

Complete workflow for creating a new feature from scratch with all layers.

Read full workflow →


Spec-first workflow for modifying an existing feature while maintaining consistency.

Read full workflow →


Test Generation

Manual Invocation

> Use test-orchestrator agent to generate complete test suite for the login feature

Generated Test Files

feature/login/src/commonTest/kotlin/
├── fixtures/
│   └── LoginFixtures.kt
├── data/
│   ├── remote/
│   │   └── LoginRemoteDataSourceTest.kt
│   └── repository/
│       └── LoginRepositoryTest.kt
├── presentation/
│   └── viewmodel/
│       └── LoginViewModelTest.kt
└── integration/
    └── LoginIntegrationTest.kt

feature/login/src/androidTest/kotlin/
└── presentation/
    └── ui/
        └── LoginScreenTest.kt

Code Review

Manual Invocation

> Use code-reviewer agent to review the login feature

Review Output

Reviewing feature: login

✓ Data Layer
  ✓ LoginRemoteDataSource: Interface + Impl found
  ✓ LoginRepository: Interface + Impl found
  ✓ Either<T> used for all suspend functions
  ✓ Models have @Serializable

✓ UI Layer
  ✓ LoginUiState: All 4 states present
  ✓ LoginViewModel: Uses setState { }
  ✓ LoginScreen: Uses X-components
  ✓ Navigation: Type-safe routes with callbacks

✓ Integration
  ✓ settings.gradle.kts: Module included
  ✓ composeApp/build.gradle.kts: Dependency added
  ✓ initKoin.kt: DI module registered
  ✓ BaseAppNavHost.kt: Navigation wired

✅ Review Passed: All rules and integration points validated

Back to Home

Clone this wiki locally