skills/mobile-instinct-v2/SKILL.md
V2 instinct-based observational learning. Analyzes sessions to extract reusable mobile development patterns across time.
npx skillsauth add ahmed3elshaer/everything-claude-code-mobile mobile-instinct-v2Install this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Cross-session observational learning that extracts patterns from your development workflow over time.
V2 instincts observe your sessions and extract patterns that emerge across multiple development activities. Unlike V1's immediate capture, V2 looks for:
At session end, V2 analyzes:
| Pattern | Detected By | Example |
|---------|-------------|---------|
| layer-separation | Consistent data/ui/domain separation | Repository + ViewModel + Composable |
| dependency-injection | Koin module patterns | factoryOf, viewModel |
| navigation-pattern | Compose Navigation usage | NavHost with routes |
| state-management | MVI/MVVM consistency | StateFlow + sealed classes |
| Pattern | Detected By | Example |
|---------|-------------|---------|
| error-boundary | Try-catch with UI feedback | Error state in Composable |
| loading-state | isLoading + Content pattern | Box with progress |
| pagination | LazyColumn with Pager | Paging 3 integration |
| caching-strategy | Repository layer caching | Cached repository pattern |
| Pattern | Detected By | Example |
|---------|-------------|---------|
| feature-module | Self-contained feature folders | feature/auth/ structure |
| shared-UI | Reusable Composables | ui/components/ |
| test-mirroring | Test structure matching src | Parallel test folders |
| naming-convention | Consistent naming patterns | XxxViewModel, XxxScreen |
V2 uses sliding windows for pattern detection:
Window 1 (Current Session): Immediate patterns
Window 2 (Last 5 Sessions): Emerging patterns
Window 3 (Last 20 Sessions): Established patterns
Window 4 (All Time): Core patterns
Session 1-3: Experimental (0.1-0.3)
Session 4-10: Validating (0.3-0.6)
Session 11-20: Established (0.6-0.8)
Session 20+: Best Practice (0.8-1.0)
/instinct-status --v2
/instinct-status --observations
Shows:
/instinct-observe "Used Ktor with retry pattern for API calls"
Manually add an observation for pattern learning.
V2 instincts are evaluated by:
hooks/instinct-hooks.json Stop eventagents/mobile-pattern-extractor.md| Aspect | V1 | V2 | |--------|----|----| | Trigger | Code write | Session observation | | Scope | Single file | Cross-file patterns | | Timing | Immediate | End of session | | Focus | Code patterns | Architectural patterns |
Remember: V2 needs multiple sessions to build confidence. The more you develop, the smarter it gets.
data-ai
SQLDelight patterns for Kotlin Multiplatform - .sq file definitions, platform drivers, type adapters, migrations, and shared database access.
data-ai
Room database patterns for Android - entity definitions, DAO interfaces, Database class, migrations, TypeConverters, and Flow integration.
tools
Push notification patterns - FCM setup for Android, APNs for iOS, notification channels, payload handling, foreground/background behavior, and rich notifications.
content-media
Pagination patterns for mobile - Paging 3 for Android (PagingSource, RemoteMediator, LazyPagingItems), cursor-based and offset-based strategies.