/android:mobiai-android-architecturefrom android
Navigates Android codebases by detecting architecture patterns (MVVM, MVI, MVP, Clean) and tracing bugs through layers from UI to data sources.
Ships in android. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Common architecture patterns and project structures in Android apps.
# Find the main source directory
find app/src/main -type d | head -30
# Look for common architecture indicators
grep -r "ViewModel\|UseCase\|Repository\|Interactor\|Presenter" app/src/main --include="*.kt" -l | head -20
| Pattern | Indicator Files | Layer Structure |
|---|---|---|
| MVVM + Clean | *ViewModel.kt, *UseCase.kt, *Repository.kt | UI → ViewModel → UseCase → Repository → DataSource |
| MVI | *Intent.kt, *State.kt, *Reducer.kt | UI → ViewModel (reducer) → Repository |
| MVP | *Presenter.kt, *View.kt (interface) | View → Presenter → Model |
| Simple MVVM | *ViewModel.kt, no UseCases | UI → ViewModel → Repository |
feature/
presentation/ # UI Layer
MyFragment.kt # Fragment (XML) or Screen (Compose)
MyViewModel.kt # ViewModel — UI state + user actions
MyUiState.kt # State model for the UI
domain/ # Business Logic Layer
usecase/
GetItemsUseCase.kt # Single-purpose business operation
model/
Item.kt # Domain model (plain Kotlin)
repository/
ItemRepository.kt # Interface — defined here, implemented in data layer
data/ # Data Layer
repository/
ItemRepositoryImpl.kt # Implementation of domain interface
local/
ItemDao.kt # Room DAO
ItemEntity.kt # Database entity
remote/
ItemApi.kt # Retrofit API interface
ItemDto.kt # Network response model
mapper/
ItemMapper.kt # DTO ↔ Entity ↔ Domain model mapping
# Find ViewModel for a feature
grep -r "class.*ViewModel" app/src/main --include="*.kt" | grep -i "<feature>"
# Find UseCase
grep -r "class.*UseCase\|class.*Interactor" app/src/main --include="*.kt" | grep -i "<feature>"
# Find Repository interface
grep -r "interface.*Repository" app/src/main --include="*.kt" | grep -i "<feature>"
# Find Repository implementation
grep -r "class.*RepositoryImpl\|class.*Repository(" app/src/main --include="*.kt" | grep -i "<feature>"
feature/
presentation/
MyScreen.kt # @Composable function
MyViewModel.kt # ViewModel with StateFlow
components/ # Reusable composables for this feature
ItemCard.kt
LoadingIndicator.kt
// ViewModel exposes state
class MyViewModel : ViewModel() {
private val _state = MutableStateFlow(MyState())
val state: StateFlow<MyState> = _state.asStateFlow()
fun onAction(action: MyAction) { ... }
}
// Screen collects state
@Composable
fun MyScreen(viewModel: MyViewModel = hiltViewModel()) {
val state by viewModel.state.collectAsStateWithLifecycle()
MyScreenContent(state = state, onAction = viewModel::onAction)
}
# Find all @Composable screens
grep -r "@Composable" app/src/main --include="*.kt" -l | head -20
# Find navigation graph
grep -r "NavHost\|composable(" app/src/main --include="*.kt" -l
feature/
presentation/
MyFragment.kt # Fragment with ViewBinding
MyViewModel.kt # ViewModel
adapter/ # RecyclerView adapters
MyAdapter.kt
res/
layout/
fragment_my.xml # Layout file
item_my.xml # RecyclerView item layout
# Find layout for a fragment
grep -r "R.layout\.\|inflate(" app/src/main --include="*.kt" | grep -i "<feature>"
# Find string resources
grep -r "<feature-keyword>" app/src/main/res/values/strings.xml
# Find modules
grep -r "@Module\|@Provides\|@Binds" app/src/main --include="*.kt" -l
# Find injected classes
grep -r "@Inject\|@HiltViewModel" app/src/main --include="*.kt" | grep -i "<feature>"
grep -r "module\s*{" app/src/main --include="*.kt" -l
# Check for flavor-specific source sets
ls app/src/*/java/ 2>/dev/null
# Check for resource overrides
ls app/src/main/res/values*/strings.xml 2>/dev/null
# Find a string by its visible text
grep -r "visible text here" app/src/main/res/values/strings.xml
# Find a string by its ID
grep -r "@string/my_string_id" app/src/main --include="*.xml" --include="*.kt"
# Find nav graphs
find app/src/main/res -name "*nav*" -o -name "*navigation*"
# Find navigation actions
grep -r "navigate\|findNavController\|NavController" app/src/main --include="*.kt" | grep -i "<feature>"
grep -r "startActivity\|Intent(" app/src/main --include="*.kt" | grep -i "<feature>"
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
android-architecture, clean-architecture, mvvm, mvi, mvp, codebase-navigation
10 skills in this plugin
/agp-9-upgradeUpgrades, or migrates, an Android project to use Android Gradle Plugin (AGP) version 9. Do not use this skill for migrating Kotlin Multiplatform (KMP) projects./edge-to-edgeUse this skill to migrate your Jetpack Compose app to add adaptive edge-to-edge support and troubleshoot common issues. Use this skill to fix UI components (like buttons or lists) that are obscured by or overlapping with the navigation bar or status bar, fix IME insets, and fix system bar legibility./migrate-xml-views-to-jetpack-composeProvides a structured workflow for migrating an Android XML View to Jetpack Compose. This skill details the step-by-step process, from planning and dependency setup, to theming and layout migration, validation and XML cleanup. Use this skill when you need to migrate an XML View to Jetpack Compose in an Android project. It solves the problem of converting the UI of a legacy XML View into modern, declarative Compose components while maintaining interoperability./mobiai-android-buildUse when building an Android project, configuring flavors or variants, troubleshooting build failures, or managing Gradle dependencies./mobiai-android-deviceUse when interacting with an Android device or emulator — run adb commands, automate UI, capture screenshots, read logcat, manage emulators./mobiai-android-testingUse when writing or running tests in an Android project — unit tests, UI tests, choosing the right framework and patterns.2 plugins ship this exact skill · first indexed Jul 20, 2026
npx claudepluginhub adriaanat/ecosystem-manager --plugin androidOther plugins' skills for the same job