agentleFS
iadr-deviadr-dev/colab/skills/coding/android/SKILL.md

android

Skill2 starsChanged 7 months agoMITView on GitHub

Android development skill suite from Google. Use when working on Android apps, Kotlin code, Jetpack libraries, Android Gradle Plugin (AGP), Jetpack Compose UI, CameraX, Navigation component, app performance profiling, Google Play publishing, Android system APIs, or Android XR/immersive experiences. Triggers include "Android app", "Kotlin", "Jetpack Compose", "AGP migration", "CameraX", "Play Store", "Android performance", "Gradle upgrade", or any Android-specific development task.

11 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use accessibility-frontend-review, android-new-module and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • BrowserWorksSkill

    accessibility-frontend-review

    Performs an accessibility code review of a local diff or Phabricator revision in the style of the Firefox accessibility team. Use this skill whenever the user asks to review a Phabricator patch or revision for accessibility issues, mentions a D-number (like D284142) in the context of accessibility review, asks "does this patch have any a11y issues", or wants to check a diff against accessibility guidelines. Also use it when the user says things like "can you review this for a11y", "check this patch", or "give me an accessibility review of D[number]". Invoke proactively when the user pastes a phabricator.services.mozilla.com URL or shares a revision ID alongside any accessibility concern. Invoke when questions about the following topics are raised: aria properties, aria roles, high contrast mode, forced colors, prefers contrast, focus order, screen readers, assistive technology.

    Also in 4 projects that use this

  • BrowserWorksSkill

    android-new-module

    Guide for creating new Android gradle modules in the android-components project.

    Also in 4 projects that use this

  • +10 more from BrowserWorks

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 4 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 10 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    When the user's task maps to a sub-skill above, read that sub-skill's SKILL.md before writing any code:

    line 49
  2. Distinctive:

    If the task spans multiple sub-skills (e.g., Compose + Navigation), load both.

    line 56
  3. Distinctive:

    Always check the sub-skill's Requirements and Verification sections before starting.

    line 60
  4. Distinctive:

    Prefer Kotlin over Java for all new code.

    line 61
  5. Distinctive:

    Follow the Modern Android Development guidance.

    line 62
  6. Very specific:

    Use Gradle version catalog (libs.versions.toml) for dependency management.

    line 63
  7. Very specific:

    Never run ./gradlew clean unless specifically required — it wastes build time.

    line 64

“Common” is measured: kept by at least 6 in 10 of the 10 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Android Skills

A comprehensive suite of Android development skills from Google, grounding agents in official Android platform APIs, tooling, and best practices.

Source: developer.android.com

Sub-Skills

Each sub-skill contains its own SKILL.md with a full technical specification. Load the relevant sub-skill when the task matches:

Sub-SkillWhen to Use
coding/android/agp-9-upgradeMigrating a project to Android Gradle Plugin 9. Do not use for KMP projects.
coding/android/cameraCamera2 or CameraX image/video capture, preview, analysis, extensions.
coding/android/jetpack-composeJetpack Compose UI — layouts, state, theming, animations, interop.
coding/android/navigationNavigation component, deep links, multi-back-stack, type-safe routes.
coding/android/performanceApp profiling, startup time, frame rate, memory, battery optimization.
coding/android/playGoogle Play publishing, app bundles, delivery, billing, review policies.
coding/android/systemAndroid system APIs — permissions, services, broadcasts, app lifecycle.
coding/android/xrAndroid XR — immersive experiences, spatial UI, ARCore, OpenXR.

How to Load a Sub-Skill

When the user's task maps to a sub-skill above, read that sub-skill's SKILL.md before writing any code:

Read skills/coding/android/<sub-skill>/SKILL.md

If the task spans multiple sub-skills (e.g., Compose + Navigation), load both.

General Android Guidelines

  • Always check the sub-skill's Requirements and Verification sections before starting.
  • Prefer Kotlin over Java for all new code.
  • Follow the Modern Android Development guidance.
  • Use Gradle version catalog (libs.versions.toml) for dependency management.
  • Never run ./gradlew clean unless specifically required — it wastes build time.
  • For Gradle sync issues, prefer IDE sync over full clean builds.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.