Skip to content

Workflows

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

Workflows

Complete feature development workflows.

Complete Feature Creation

Input: > Create product catalog feature with list, search, and detail screens

Output:

Phase 0: Context Discovery
✓ PKG_PREFIX: com.example
✓ INIT_KOIN_PATH: composeApp/src/commonMain/kotlin/com/example/initKoin.kt
✓ NAV_HOST_PATH: composeApp/src/commonMain/kotlin/com/example/BaseAppNavHost.kt

Phase 1: PRD Generation
✓ Generated: .claude/docs/productcatalog/prd.txt → User approved

Phase 2: Task Generation
✓ Generated: .claude/docs/productcatalog/tasks.md → User approved

Phase 3: Implementation
✓ data-layer-agent complete (12 files created)
✓ ui-layer-agent complete (8 files created)
✓ integration-agent complete (spec + 4 integration points)

Phase 4: Cleanup
✓ Removed prd.txt, tasks.md, task-*.md
✓ Kept spec: .claude/docs/productcatalog/spec/productcatalog.md

✅ Feature Complete!
Navigate: navController.navigate(ProductListRoute)

Feature Modification

Input: > Add pagination to the product list feature

Output:

Phase 0: Context Discovery
✓ Detected project structure

Phase 1: Load Specification
✓ Loaded: .claude/docs/productcatalog/spec/productcatalog.md

Phase 2: Plan Changes
✓ Affected layers: data, ui
✓ Changes: Add pagination to API, update ViewModel, update UI

Phase 3: Implement
✓ Modified ProductRepository (add page parameter)
✓ Modified ProductListViewModel (add loadMore function)
✓ Modified ProductListScreen (add LazyColumn pagination)

Phase 4: Validate
✓ Build passed
✓ Ktlint formatted

Phase 5: Update Spec
✓ Regenerated spec with changelog
✓ Added: "2025-01-05 - Added pagination to product list"

✅ Modification Complete!

Clone this wiki locally