This skill helps developers transition from Android XML Views to Jetpack Compose using a structured 10-step process. It ensures a visually consistent and functionally intact migration while only handling UI migration.
$ npx skills add https://github.com/android/skills --skill migrate-xml-views-to-jetpack-composeThis skill provides a structured approach to converting Android XML-based UI layouts to Jetpack Compose. It follows a 10-step migration process designed to ensure visual consistency and preserve functionality throughout the transition. The skill focuses exclusively on UI migration, helping developers modernize their Android applications without altering business logic or non-UI components. It's grounded in Android development best practices from developer.android.com and helps LLMs assist with this specific workflow where manual migration can be error-prone.
Run the provided command to add the skill to your project.
Migrating legacy XML layouts to Jetpack Compose
Ensuring visual and functional integrity during migration
Systematic conversion for developers upgrading UI
$ npx skills add https://github.com/android/skills --skill migrate-xml-views-to-jetpack-composegit clone https://github.com/android/skillsCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Check the GitHub repository or documentation for usage examples.
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan