android-xml-to-compose-migration

Community

Convert legacy Android XML screens to Compose

AuthorBinh230199
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you modernize legacy Android user interfaces by translating XML layouts and View-based screens into idiomatic Jetpack Compose while preserving behavior during migration.

Core Features & Use Cases

  • Layout Migration: Map common XML structures such as LinearLayout, ConstraintLayout, RecyclerView, and ViewPager2 to Compose equivalents like Column, ConstraintLayout, LazyColumn, and HorizontalPager.
  • Widget and Theme Migration: Replace Views such as TextView, ImageView, EditText, Button, and Toolbar with Compose components and Material 3 theming tokens.
  • Interop and Incremental Rollout: Use ComposeView and AndroidView to migrate one screen at a time, review completed screens, and safely phase out XML without rewriting the whole app at once.
  • Use Case: If you have an AAOS media screen built with fragments, XML layouts, and adapters, this Skill guides you through converting it to Compose while keeping lifecycle handling, state flow, and navigation behavior intact.

Quick Start

Ask for a migration plan or rewrite for a specific XML screen, and provide the layout or screen name you want converted to Jetpack Compose.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: android-xml-to-compose-migration
Download link: https://github.com/Binh230199/ai/archive/main.zip#android-xml-to-compose-migration

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 536,000+ vetted skills library on demand.