xml-to-compose-migration

Community

Modernize Android UI: XML to Compose.

AuthorAerisG222
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill streamlines the process of converting traditional Android XML layouts to modern Jetpack Compose UI, enabling developers to adopt a more declarative and efficient UI development paradigm.

Core Features & Use Cases

  • Layout Conversion: Maps common XML layouts (LinearLayout, ConstraintLayout, FrameLayout) and widgets (TextView, Button, ImageView) to their Jetpack Compose equivalents.
  • State Management Guidance: Provides strategies for migrating state from ViewModels and LiveData to Compose's state system.
  • Incremental Adoption: Facilitates a gradual migration by showing how to embed Compose within existing XML layouts and vice-versa.
  • Use Case: Convert a complex ConstraintLayout with multiple TextView and Button elements into a clean, declarative Compose UI.

Quick Start

Use the xml-to-compose-migration skill to convert the provided XML layout into Jetpack Compose code.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: xml-to-compose-migration
Download link: https://github.com/AerisG222/maw-photos-android/archive/main.zip#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 223,000+ vetted skills library on demand.