Individual skill
migrate-xml-views-to-jetpack-compose
Provides a structured workflow for migrating an Android XML View to Jetpack Compose. This skill details the step-by-step process, from planning and dependency setup, to theming and layout migration, validation and XML cleanup. Use this skill when you need to migrate an XML View to Jetpack Compose in an Android project. It solves the problem of converting the UI of a legacy XML View into modern, declarative Compose components while maintaining interoperability.
jetpack-compose/migration/migrate-xml-views-to-jetpack-compose/SKILL.md
Source commit 6daa53ef27fa2aa87827d183a85c06cedceca833
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Network or broad shell
- Last checked
- Nov 3, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 10,396
- Repository last updated
- Nov 5, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- skills Repository topic
- operations Derived category
- design Derived category
- design-interface Derived category
Declared tags are partial or unavailable.
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 5,434 bytesreferences/analysis-of-the-project-and-layout.mddoc · 3,133 bytesreferences/android/develop/ui/compose/designsystems/migrate-xml-theme-to-compose.mddoc · 8,259 bytesreferences/android/develop/ui/compose/migrate/interoperability-apis/compose-in-views.mddoc · 12,304 bytesreferences/android/develop/ui/compose/migrate/interoperability-apis/views-in-compose.mddoc · 12,529 bytesreferences/android/develop/ui/compose/setup-compose-dependencies-and-compiler.mddoc · 7,517 bytesreferences/identify-optimal-xml-candidate.mddoc · 1,667 bytesreferences/xml-layout-migration.mddoc · 3,589 bytes
Read excerpt
This skill guides through the process of migrating an existing Android XML View
to Jetpack Compose. It performs a stable, safe and visually consistent
transition by following a structured, 10-step methodology. This skill migrates
UI (XML to Jetpack Compose) only.
## Objective
To systematically convert a single legacy XML layout into modern, declarative
Jetpack Compose UI while maintaining pixel-perfect visual parity and functional
integrity.
## Summary of the 10-step migration process
1. **Identify the optimal XML candidate for migration**