Android design system
Skill ComeOnOliver/skillshub/skills/HoangNguyen0403/agent-skills-standard/android-design-system
🧠The right skill, one API call. AI agent skills registry with token-efficient skill resolution. 5,000+ skills from 500+ top repos.
npx -y skills add ComeOnOliver/skillshub --skill android-design-systemAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
What its author says it does
Copied from the file, not written here
Enforce Material Design 3 and design token usage in Jetpack Compose apps. Use when implementing M3 components, color schemes, or design tokens in Android. (triggers: **/*Screen.kt, **/ui/theme/**, **/compose/**, MaterialTheme, Color, Typography, Modifier, Composable)
SKILL.md
1.2 KB, as published. Nobody here has run it
Android Design System (Jetpack Compose)
Priority: P2 (OPTIONAL)
Enforce Material Design 3 tokens in Jetpack Compose. Use MaterialTheme for consistency.
Guidelines
Define Color.kt, Theme.kt, and Type.kt in ui/theme/. Map every raw color/type value to lightColorScheme/darkColorScheme slots. Access all tokens through MaterialTheme:
- Colors →
MaterialTheme.colorScheme.* - Text styles →
MaterialTheme.typography.* - Spacing →
.dpunits consistently
Anti-Patterns
- No Hardcoded Colors: Use
MaterialTheme.colorScheme.*, notColor(0xFF...). - No Inline Typography: Use
MaterialTheme.typography.*, not rawfontSize = 32.sp. - No Magic Spacing: Prefer named
.dptokens; avoid unexplained magic numbers.