
from xml-to-compose-skill15
Migrate legacy Android XML layouts to idiomatic Jetpack Compose code using Material 3 guidelines.
This skill provides a systematic methodology for converting Android XML layout files into modern Jetpack Compose functions. It maps XML views to their Compose equivalents, transforms XML attributes into Modifier chains, and handles resource references (@string, @color, etc.).
Use this skill during Android app modernization or when migrating legacy views to a fully declarative UI. It is ideal for converting specific layout files or individual UI components.
@Preview functions.Primarily optimized for Claude, but compatible with any agent assisting in Android development (Cursor, Copilot, etc.).
This skill has not been reviewed by our automated audit pipeline yet.