Back to skills
SKILL.md
Android Design System
ASecurityEnforce Material Design 3 theming and design token usage in Jetpack Compose. Use when implementing M3 components, color schemes, typography, or design tokens.
- 549 stars
- 0 votes
- 0 copies
- 3 views
- Added June 6, 2026
Security analysis
100/100Pro scans all 2 files and shows the line behind each finding
npx -y skills add HoangNguyen0403/agent-skills-standard --skill android-design-system --agent claude-codeAre you the author of Android Design System?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/hoangnguyen0403-android-design-system)---
name: android-design-system
description: Enforce Material Design 3 theming and design token usage in Jetpack Compose. Use when implementing M3 components, color schemes, typography, or design tokens.
metadata:
triggers:
files:
- '**/*Screen.kt'
- '**/ui/theme/**'
- '**/compose/**'
keywords:
- MaterialTheme
- Color
- Typography
- Modifier
- Composable
---
# Android Design System (Jetpack Compose)
## **Priority: P2 (OPTIONAL)**
## 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 → `.dp` units consistently
## Anti-Patterns
- **No Hardcoded Colors**: Use `MaterialTheme.colorScheme.*`, not `Color(0xFF...)`.
- **No Inline Typography**: Use `MaterialTheme.typography.*`, not raw `fontSize = 32.sp`.
- **No Magic Spacing**: Prefer named `.dp` tokens; avoid unexplained magic numbers.
## ReferencesFiles in this skill
- SKILL.md
- evals/evals.json
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.