xml-to-compose-migration
Installation
SKILL.md
XML to Compose Migration
Systematically convert Android XML layouts to idiomatic Jetpack Compose, preserving functionality while embracing Compose patterns.
Workflow
1. Analyse the XML Layout
- Identify the root layout type (
ConstraintLayout,LinearLayout,FrameLayout, etc.) - List all View widgets and their key attributes
- Map data binding expressions (
@{}) or ViewBinding references - Identify custom views that need special handling
- Note any
include,merge, orViewStubusage