Index of every page on this site: llms.txt
All skills
ehmo avatar

/android

@dc2be82
Run it yourself

Material Design 3 and Android platform guidelines. Use when building Android apps with Jetpack Compose or XML layouts, implementing Material You, navigation, or accessibility. Triggers on tasks involving Android UI, Compose components, dynamic color, or Material Design compliance.

  • 4 files
  • 49.3 KB
  • MIT
  • Updated 8 months ago
  • GitHub
Use this Skill: https://skilld.dev/gh/ehmo/platform-design-skills/android

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

AGENTS.md

≈408 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Android Design Skill

Material Design 3 guidelines and Android platform conventions for Jetpack Compose and XML layouts.

Structure

  • SKILL.md — Full guideline rules with code examples
  • rules/_sections.md — Indexed section breakdown for quick lookup
  • metadata.json — Version and reference metadata

Usage

Apply these guidelines when:

  • Building or reviewing Android UI code
  • Implementing Material You / dynamic color
  • Designing navigation, layout, or component architecture
  • Auditing accessibility or platform compliance

Priority

Rules marked CRITICAL must never be violated. Rules marked HIGH should be followed unless there is a documented reason. Rules marked MEDIUM are recommended best practices.

Never Do

  • Never hardcode color hex values — always use MaterialTheme.colorScheme color roles
  • Never use dp for text sizes — use sp so user font scaling applies
  • Never override onBackPressed() — use BackHandler (Compose) or OnBackInvokedCallback (View-based) for predictive back
  • Never place touch targets below 48x48dp — accessibility violation
  • Never request permissions at app launch — request in context with a rationale
  • Never use pure black (#000000) for dark theme backgrounds — use Material surface roles
  • Never put icon-only items in the navigation bar — labels are required
  • Never use a dialog for non-critical information — prefer Snackbar or Bottom Sheet
  • Never use more than one FAB on a screen — one FAB for the single primary action
  • Never show full-width content on tablet layouts — use list-detail or max-width containers

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at dc2be82. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Dormantupdated 8 months ago
metadata
{
  "author": "platform-design-skills",
  "version": "1.0.0"
}

README badge

README badge for ehmo/platform-design-skills/android