android-native-app
Skill0 starsChanged 25 days agoMITView on GitHub
Build, audit, launch, test, and deliver native Android applications in Kotlin with Jetpack Compose or Views. Use for Android Studio and Gradle projects, ViewModel, StateFlow, coroutines, Room, DataStore, WorkManager, Credential Manager, App Links, permissions, Play Integrity, app signing, or Google Play delivery.
In this repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- architecture-buildingSkill
- automated-product-engineerSkill
- claude-design-to-appSkill
- codebase-onboardingSkill
- codebase-upgradeSkill
- code-reviewSkill
- design-polishSkill
- design-systemSkill
- expo-native-appSkill
- figma-to-app-featureSkill
- frontend-api-dbSkill
- ios-native-appSkill
- kotlin-multiplatform-appSkill
- manual-ui-qaSkill
- parallel-platform-developmentSkill
- pr-reviewSkill
- pr-workflowSkill
- responsive-designSkill
- security-reviewSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 8 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Treat the Gradle graph, application modules, manifests, Kotlin source, resources, server contracts, device capabilities, signing identity, …
- Distinctive: line 14
Read project-intake-and-gradle.md for adoption, module ownership, version catalogs, variants, launch, and mixed Compose/View repositories.
- Very specific: line 18
Keep composables declarative.
- Very specific: line 20
Use structured concurrency.
- Distinctive: line 21
Keep authorization, tenancy, idempotency, revision checks, and durable policy on the server.
- Distinctive: line 22
Use Credential Manager for passkeys, passwords, and Sign in with Google.
- Distinctive: line 23
Use DataStore for small settings, Room for structured/offline data, and explicit outboxes plus WorkManager for durable synchronization.
- Distinctive: line 26
Read compose-architecture-and-state.md for Compose and Views, navigation, state, concurrency, multi-window, races, and process death.
- Distinctive: line 32
Read design-system-and-accessibility.md when introducing shared Compose components, XML components, tokens, or a design source.
- Distinctive: line 38
Read testing-signing-and-play-release.md before changing SDK targets, shrinking, signing, upload keys, App Bundles, Play tracks, staged …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Native Android Application
Treat the Gradle graph, application modules, manifests, Kotlin source, resources, server contracts, device capabilities, signing identity, and Play configuration as one product system. Preserve Android conventions and accepted repository decisions. A responsive browser or compile-only check is not Android runtime evidence.
Establish the platform contract
Inspect settings.gradle(.kts), wrapper and plugin versions, convention plugins, modules, application ID and namespace, SDK levels, build types and flavors, Compose/Views boundary, navigation, manifests, permissions, App Links, tests, CI, signing, and release automation. Run pnpm dlx automated-product-engineer doctor when installed.
Read project-intake-and-gradle.md for adoption, module ownership, version catalogs, variants, launch, and mixed Compose/View repositories. Record a capability contract: feature, owning module, manifest entry, runtime permission, denial and settings recovery, background limit, emulator limit, physical-device proof, data disclosure, server dependency, and release owner.
Build through explicit ownership
- Keep composables declarative. Local element state uses
rememberorrememberSaveable; reusable state is hoisted; screen business state belongs in a screen-levelViewModel; durable and remote truth remains behind repositories. - Expose immutable
StateFlowUI state, collect it with lifecycle awareness, and express user intent as method calls. Represent important one-time outcomes as durable state rather than lossy event channels. - Use structured concurrency. Tie work to
viewModelScope,lifecycleScope, or an injected caller scope; use WorkManager for guaranteed deferrable work; preserve cancellation and test dispatchers. - Keep authorization, tenancy, idempotency, revision checks, and durable policy on the server. The app may project intent and recover; it does not become the authority.
- Use Credential Manager for passkeys, passwords, and Sign in with Google. Keep privileged keys off-device, protect only minimal local key material with Android Keystore, and scope caches and queued work to the authenticated subject.
- Use DataStore for small settings, Room for structured/offline data, and explicit outboxes plus WorkManager for durable synchronization.
- Wrap system capabilities behind narrow interfaces so denied, permanently denied, unavailable, interrupted, backgrounded, restored, and process-recreated behavior is testable.
Read compose-architecture-and-state.md for Compose and Views, navigation, state, concurrency, multi-window, races, and process death. Read networking-auth-and-security.md for transport, Credential Manager, OAuth, App Links, cookies, Keystore, Play Integrity, and random-logout debugging. Read persistence-lifecycle-and-capabilities.md for Room, DataStore, outboxes, WorkManager, notifications, permissions, lifecycle, and restoration.
Preserve the Android experience
Use Material 3 semantics, edge-to-edge layouts, system bars, predictive back, adaptive window-size classes, platform navigation, dynamic type through scalable units, accessibility semantics, focus and keyboard behavior, reduced motion, contrast, localization, and content pressure. Put product tokens above Android semantic roles rather than replacing the platform. Keep component behavior, variants, examples, accessibility, and usage guidance together.
Read design-system-and-accessibility.md when introducing shared Compose components, XML components, tokens, or a design source.
Prove and deliver
Run local Kotlin tests for domain and state contracts, Android host tests where the framework is needed, Compose or Espresso device tests for critical journeys, and Macrobenchmark/Baseline Profile checks for important performance paths. Exercise cold launch, warm resume, background/foreground, process recreation, App Links, auth cancellation, expired credentials, offline recovery, concurrent devices, denied permissions, font scale, TalkBack, compact/medium/expanded windows, and at least one supported physical device when hardware participates.
Read testing-signing-and-play-release.md before changing SDK targets, shrinking, signing, upload keys, App Bundles, Play tracks, staged rollout, Data safety, or production delivery. Prepare reviewable artifacts within scope; production credential changes and Play publication require the user's authority.
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.

