android-design-to-code
Installation
SKILL.md
Android Design to Code (The Bridge) ๐๐
Professional strategies for translating high-fidelity design specifications into clean, semantic, and pixel-perfect Jetpack Compose code.
โก When to Use
- UI Handover: Implementing a new screen from Figma/Sketch.
- Micro-Copy: Translating exact text styles and case formatting.
- Grid Alignment: Replicating specific spacing and layout grids.
- Component Building: Creating atoms/molecules from design symbols.
- Pixel Perfection: Verifying accuracy through developer tools.
๐๏ธ The 4 Principles of High-Fidelity Translation
- Semantic Match: Use MaterialTheme tokens (Primary, BodyLarge) instead of raw hex/pixel values.
- Structural Accuracy: Replicate Flexbox (Row, Column) and Constraint systems as intended.
- Interaction Fidelity: Add the correct hover, press, and click ripple effects.
- Responsive Layouts: Handle how the design should shrink or grow beyond the mock's dimensions.