android-architecture
Skill2 starsChanged 5 months agoMITView on GitHub
Use for Clean Architecture, MVVM, MVI, multimodule design, domain/data/presentation boundaries, repositories, use cases, DTO/entity/domain mapping and offline-first architecture.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- GuillemRoca/agent-skills-androidtheir own version, first seen Oct 3, 2026
- adrigm06/Android-Engineering-Skilltheir own version, first seen May 2, 2026
- piyushverma0/android-agent-skillstheir own version, first seen Mar 14, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- piyushverma0/android-agent-skills★ 15same name
- adrigm06/Android-Engineering-Skill★ 3same name
- GuillemRoca/agent-skills-android★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository38 other files it gives its agents.
- AGENTS.mdAGENTS.md
- super-android-kotlin-firebaseSkill
- accessibilitySkill
- agp9-kotlin-migrationSkill
- android-coreSkill
- android-navigation-3Skill
- code-review-refactorSkill
- compose-contextual-design-systemSkill
- compose-performanceSkill
- context-aware-ui-designSkill
- debuggingSkill
- dependency-injectionSkill
- dependency-upgrade-safetySkill
- design-test-gateSkill
- edge-to-edge-adaptive-uiSkill
- firebase-ai-logicSkill
- firebase-authSkill
- firebase-cloud-functionsSkill
- firebase-coreSkill
- firebase-crashlytics-analyticsSkill
- firebase-emulator-ciSkill
- firebase-messagingSkill
- firestore-costs-quotasSkill
- firestoreSkill
- gradle-buildSkill
- jetpack-composeSkill
- kotlin-coreSkill
- macrobenchmark-baseline-profilesSkill
- networking-retrofit-ktorSkill
- play-store-releaseSkill
- r8-proguard-optimizationSkill
- room-datastoreSkill
- screen-ux-auditSkill
- security-privacySkill
- testingSkill
- ui-state-designSkill
- workmanager-background-syncSkill
- xml-to-compose-migrationSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 4 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 37
Add modules only when they reduce real coupling.
- Distinctive: line 38
Prefer offline-first when product requirements need resilience.
- Distinctive: line 53
Do not assume these companion skills are installed.
- Distinctive: line 93
Use $super-android-kotlin-firebase to review my Android architecture.
- Very specific: line 94
Use $super-android-kotlin-firebase to split this feature into UI/domain/data.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Purpose
Design or review pragmatic Android architecture for real apps without over-engineering.
When to use
- Creating a new app structure.
- Refactoring UI, domain and data boundaries.
- Introducing multimodule structure or offline-first behavior.
- Reviewing repositories, use cases and mappers.
Inputs to inspect
- Module tree and dependency graph.
- Current package structure.
- Data sources and sync requirements.
- Tests and build times.
Required workflow
- Map current architecture and dependencies.
- Identify concrete coupling or testability problems.
- Propose the smallest boundary that solves the problem.
- Refactor around contracts and tests.
- Validate build and affected tests.
Rules
- UI must not know Firebase, Room or Retrofit details directly.
- Domain should not depend on Android SDK.
- Repositories hide local/remote data sources.
- Add modules only when they reduce real coupling.
- Prefer offline-first when product requirements need resilience.
Related existing skills
Local skills to invoke
- kotlin-core
- dependency-injection
- room-datastore
- networking-retrofit-ktor
- firebase-core
- testing
External companion skills to use when installed
Do not assume these companion skills are installed. Prefer the local skills above first, then consult Companion Skills for install and verification commands.
- android/skills — use for official Android workflow alignment around edge-to-edge, adaptive UI, Navigation 3, R8, AGP or testing setup.
Files commonly touched
settings.gradle.ktsfeature modulescore/datacore/domaincore/databasecore/networkrepository and mapper files
Commands to validate
./gradlew projects
./gradlew test
./gradlew assembleDebug
./gradlew lintCommon mistakes to avoid
- Adding empty layers for dogma.
- Moving everything in one giant refactor.
- Creating trivial use cases for every repository call.
- Breaking dependency direction.
Checklist
- Boundaries named.
- Dependencies directional.
- Repositories testable.
- Offline strategy explicit.
- Incremental plan exists.
Example prompts
- Use $super-android-kotlin-firebase to review my Android architecture.
- Use $super-android-kotlin-firebase to split this feature into UI/domain/data.
Expected response style
Respond with: brief diagnosis, change plan, affected files, code or diff summary, validation commands, tests added or recommended, risks, and next step. For review tasks, lead with findings ordered by severity.
References
- ../../docs/audits/FUENTES_LOCALES.md
- references/clean-architecture-pragmatic.md
- templates/feature-module-template.md
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

