xml-to-compose-migration
✓Convert Android XML layouts to Jetpack Compose. Use when asked to migrate Views to Compose, convert XML to Composables, or modernize UI from View system to Compose.
SKILL.md
Systematically convert Android XML layouts to idiomatic Jetpack Compose, preserving functionality while embracing Compose patterns. This skill covers layout mapping, state migration, and incremental adoption strategies.
Apply the layout mapping table below to convert each View to its Compose equivalent.
| LinearLayout (vertical) | Column | Use Arrangement and Alignment | | LinearLayout (horizontal) | Row | Use Arrangement and Alignment | | FrameLayout | Box | Children stack on top of each other | | ConstraintLayout | ConstraintLayout (Compose) | Use createRefs() and constrainAs | | RelativeLayout | Box or ConstraintLayout | Prefer Box for simple overlap |
Convert Android XML layouts to Jetpack Compose. Use when asked to migrate Views to Compose, convert XML to Composables, or modernize UI from View system to Compose. Source: new-silvermoon/awesome-android-agent-skills.
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/new-silvermoon/awesome-android-agent-skills --skill xml-to-compose-migration- Category
- </>Dev Tools
- Verified
- ✓
- First Seen
- 2026-02-01
- Updated
- 2026-02-18
Quick answers
What is xml-to-compose-migration?
Convert Android XML layouts to Jetpack Compose. Use when asked to migrate Views to Compose, convert XML to Composables, or modernize UI from View system to Compose. Source: new-silvermoon/awesome-android-agent-skills.
How do I install xml-to-compose-migration?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/new-silvermoon/awesome-android-agent-skills --skill xml-to-compose-migration Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Where is the source repository?
https://github.com/new-silvermoon/awesome-android-agent-skills
Details
- Category
- </>Dev Tools
- Source
- skills.sh
- First Seen
- 2026-02-01