Scaffold a new Android app with modern architecture
何时使用: You're starting a new app and don't want to make architectural mistakes you'll fix in 6 months.
前置条件
- Skill cloned — git clone https://github.com/dpconde/claude-android-skill ~/.claude/skills/claude-android-skill
- Android Studio + JDK 17 — Install latest stable Android Studio
步骤
-
Ask Claude to scaffold the module structureUse claude-android-skill. Scaffold a multi-module Android app called 'HabitTracker' with features: home, tracking, settings. Compose UI, Hilt DI, Room DB, offline-first.✓ 已复制→ Modules :app, :core:database, :core:ui, :feature:home… generated
-
Add first feature end-to-endImplement the tracking feature: data layer with Room entity, domain layer with use cases, UI with Compose and ViewModel. Include unit tests.✓ 已复制→ Files across 3 layers + tests all compile
结果: A running app that follows NowInAndroid-style patterns.
注意事项
- Over-engineering a tiny app into 8 modules — Tell the skill explicitly: 'single-module is fine here' for simple projects