android-design-guidelines
Material Design 3 and Android platform guidelines.
Skill by platform-design-skills
Chalk Labs
Need help deploying android-design-guidelines?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/ehmo-android-design-guidelines
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/android-design-guidelines
What's inside
- Skill name
android-design-guidelines- Description
- 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.
- License
- MIT
- Metadata
- author: platform-design-skills · version: 1.0.0
- Instructions
- 1,044 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- name: "android-design-guidelines" does not match folder "android"
- body: 1044 lines (spec recommends under 500)
Files (4)
- AGENTS.md
- SKILL.md
- metadata.json
- _sections.md · rules/
SKILL.md (first lines)
# Android Platform Design Guidelines — Material Design 3
## 1. Material You & Theming [CRITICAL]
### 1.1 Dynamic Color
Enable dynamic color derived from the user's wallpaper. Dynamic color is the default on Android 12+ and should be the primary theming strategy.
```kotlin
// Compose: Dynamic color theme
@Composable
fun AppTheme(
darkTheme: Boolean = isSystemInDarkTheme(),
dynamicColor: Boolean = true,
content: @Composable () -> Unit
) {
val colorScheme = when {
dynamicColor && Build.VERSION.SDK_INT >= Build.VERSION_CODES.S -> {
val context = LocalContext.current
if (darkTheme) dynamicDarkColorScheme(context)
else dynamicLightColorScheme(context)
}
darkTheme -> darkColorScheme()
else -> lightColorScheme()
}
MaterialTheme(
colorScheme = colorScheme,
typography = AppTypography,
content = content
)
}
```
```xml
<!-- XML: Dynamic color in themes.xml -->
<style name="Theme.App" parent="Theme.Material3.DayNight.NoActionBar">
<item name="dynamicColorThemeOverlay">@style/ThemeOverlay.Material3.DynamicColors.DayNight</item>
</style>
```
**Rules:**
- R1.1: Always provide a fallback static color scheme for devices below Android 12.
- R1.2: Never hardcode color hex values in components. Always reference color roles from the theme.
- R1.3: Test with at least 3 different wallpapers to verify dynamic color harmony.
### 1.2 Color Roles
Material 3 defines a structured set of color roles. Use them semantically, not aesthetically.
| Role | Usage | On-Role |
|------|-------|---------|
| `primary` | Key actions, active states, FAB | `onPrimary` |
| `primaryContainer` | Less prominent primary elements | `onPrimaryContainer` |
| `secondary` | Supporting UI, filter chips | `onSecondary` |
| `secondaryContainer` | Navigation bar active indicator | `onSecondaryContainer` |
| `tertiary` | Accent, contrast, complementary | `onTertiary` |
| `tertiaryContainer` | Input fields, less prominent accents | `onTertiaryContainer` |
| `surface` | Backgrounds, cards, sheets | `onSurface` |
| `surfaceVariant` | Decorative elements, dividers | `onSurfaceVariant` |
| `error` | Error states, destructive actions | `onError` |
| `errorContainer` | Error backgrounds | `onErrorContainer` |
| `outline` | Borders, dividers | — |
| `outlineVariant` | Subtle borders | — |
| `inverseSurface` | Snackbar background | `inverseOnSurface` |
```kotlin
// Correct: semantic color roles
Text(
text = "Error message",
color = MaterialTheme.colorScheme.error
)
Surface(color = MaterialTheme.colorScheme.errorContainer) {
Text(text = "Error detail", color = MaterialTheme.colorScheme.onErrorContainer)
}
// WRONG: hardcoded colors
Text(text = "Error", color = Color(0xFFB00020)) // Anti-pattern
```
**Rules:**
- R1.4: Every foreground element must use the matching `on` color role for its background (e.g., `onPrimary` text on `primary` background).
- R1.5: Use `surface` and its variants for backgrounds. Never use `primary` or `secondary` as large background areas.
- R1.6: Use `tertiary` sparingly for accent and complementary contrast only.
### 1.3 Light and Dark Themes
Support both light and dark themes. Respect the system setting by default.
```kotlin
// Compose: Detect system theme
val darkTheme = isSystemInDarkTheme()
```
**Rules:**
- R1.7: Always support both light and dark themes. Never ship light-only.
- R1.8: Dark theme surfaces use elevation-based tonal mapping, not pure black (#000000). Use `surface` color roles which handle this automatically.
- R1.9: Provide a manual theme override in app settings (System / Light / Dark).
### 1.4 Custom Color Seeds
When branding requires custom colors, provide a seed color and generate tonal palettes using Material Theme Builder.
```kotlin
// Custom color scheme with brand seed
private val BrandLightColorScheme = lightColorScheme(
primary = Color(0xFF1B6D2F),
onPrimary = Color(0xFFFFFFFF),
primaryContainer = Color(0xFFA4F6A8),
onPrimaryContainer = Color(0xFF002107),
// ... generate full palette from seed
)
```
**Rules:**
- R1.10: Generate tonal palettes from seed colors using Material Theme Builder. Never manually pick individual tones.
- R1.11: When using custom colors, still support dynamic color as the default and use custom colors as fallback.
---From ehmo/platform-design-skills, MIT.
More from ehmo/platform-design-skills
- 0.546score
tvos-design-guidelines
platform-design-skills
Apple Human Interface Guidelines for Apple TV.
SkillDFreshness: D★ 623Claude Code +9 - 0.546score
visionos-design-guidelines
platform-design-skills
Apple Human Interface Guidelines for Apple Vision Pro.
SkillDFreshness: D★ 623Claude Code +9 - 0.546score
watchos-design-guidelines
platform-design-skills
Apple Human Interface Guidelines for Apple Watch.
SkillDFreshness: D★ 623Claude Code +9 - 0.537score
ios-design-guidelines
platform-design-skills
Apple Human Interface Guidelines for iPhone.
SkillDFreshness: D★ 623Claude Code +9 - 0.537score
web-design-guidelines
platform-design-skills
Web platform design and accessibility guidelines.
SkillDFreshness: D★ 623Claude Code +9 - 0.537score
ipados-design-guidelines
platform-design-skills
Apple Human Interface Guidelines for iPad.
SkillDFreshness: D★ 623Claude Code +9 - 0.537score
macos-design-guidelines
platform-design-skills
Apple Human Interface Guidelines for Mac.
SkillDFreshness: D★ 623Claude Code +9
Signals
- Stars
- 623
- Forks
- 53
- Open issues
- 0
- Last commit (this folder)
- Mar 19, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 1.0.0
- License
- MIT
- Repository
- github.com/ehmo/platform-design-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from platform-design-skills
- 0.546score
tvos-design-guidelines
platform-design-skills
Apple Human Interface Guidelines for Apple TV.
SkillDFreshness: D★ 623Claude Code +9 - 0.546score
visionos-design-guidelines
platform-design-skills
Apple Human Interface Guidelines for Apple Vision Pro.
SkillDFreshness: D★ 623Claude Code +9 - 0.546score
watchos-design-guidelines
platform-design-skills
Apple Human Interface Guidelines for Apple Watch.
SkillDFreshness: D★ 623Claude Code +9 - 0.537score
ios-design-guidelines
platform-design-skills
Apple Human Interface Guidelines for iPhone.
SkillDFreshness: D★ 623Claude Code +9 - 0.537score
web-design-guidelines
platform-design-skills
Web platform design and accessibility guidelines.
SkillDFreshness: D★ 623Claude Code +9 - 0.537score
ipados-design-guidelines
platform-design-skills
Apple Human Interface Guidelines for iPad.
SkillDFreshness: D★ 623Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get android-design-guidelines running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
android-design-guidelines skill. Agent Mart. https://agentmart.dev/skills/ehmo-android-design-guidelines (last updated 2026-10-24)