Xml to Compose
Convert Android XML layouts to Jetpack Compose. Use when asked to migrate XML layouts, convert views to composables, or help with Compose migration. Handles layouts, widgets, attributes, styles, and resource references.
Install
npx skills add singhsume123/xml-to-compose-skill --skill xml-to-composegit clone --depth 1 https://github.com/singhsume123/xml-to-compose-skill.git /tmp/xml-to-compose-skill
mkdir -p ~/.claude/skills
cp -r /tmp/xml-to-compose-skill/. ~/.claude/skills/xml-to-composePersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# XML to Jetpack Compose Converter Convert Android XML layouts to idiomatic Jetpack Compose code. ## Conversion Process 1. Analyze the XML structure and identify root layout 2. Map each view to its Compose equivalent 3. Convert attributes to Modifier chains (order matters!) 4. Handle resource references (@string, @dimen, @color) 5. Extract styles into reusable composables or theme values ## Quick Reference ### Layouts | XML | Compose | |-----|---------| | `LinearLayout (vertical)` | `Column` | | `LinearLayout (horizontal)` | `Row` | | `FrameLayout` | `Box` | | `ConstraintLayout` | `Column`/`Row` or `ConstraintLayout` (dependency) | | `ScrollView` | `Column` + `Modifier.verticalScroll()` | | `RecyclerView` | `LazyColumn` / `LazyRow` | | `ViewPager2` | `HorizontalPager` | ### Common Widgets | XML | Compose | |-----|---------| | `TextView` | `Text` | | `EditText` | `TextField` / `OutlinedTextField` | | `Button` | `Button` | | `ImageView` | `Image` / `AsyncImage` (Coil) | | `CheckBox` | `Checkbox` | | `Switch` | `Switch` | | `ProgressBar` | `CircularProgressIndicator` / `LinearProgressIndicator` | | `CardView` | `Card` | ### Modifier Order Order matters! Follow this sequence: 1. `clickable` / `toggleable` 2. `padding` (outer) 3. `size` / `fillMaxWidth` / `weight` 4. `background` / `clip` 5. `border` 6. `padding` (inner) ## Detailed Mappings See reference files for complete mappings: - `references/layouts.md` — Layout containers
Details
- Skill name
xml-to-compose- Repository
- singhsume123/xml-to-compose-skill
- License
- MIT
- Repo updated
- 2 February 2026
FAQ
What does the Xml to Compose skill do?
Convert Android XML layouts to Jetpack Compose. Use when asked to migrate XML layouts, convert views to composables, or help with Compose migration. Handles layouts, widgets, attributes, styles, and resource references.
How do I install the Xml to Compose skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add singhsume123/xml-to-compose-skill --skill xml-to-compose. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Xml to Compose popular?
It lives in singhsume123/xml-to-compose-skill, which has 14 GitHub stars and 1 forks.
Related skills
Material Design 3
12gdlbo/material-skill
Design, implement, or review Material 3 and Material 3 Expressive interfaces for Android Compose, Android Views, Wear OS, and the web. Use for Material Design, M3, Material You, adaptive Material layouts, Material-focused Android UI modernization, or Material web component work; do not apply it to a non-Material design unless the user asks to adopt Material
App Store Review
14JustinPerea/app-store-review-skill
Pre-submission review for iOS apps targeting the Apple App Store. Scans your Xcode project for common rejection reasons — missing privacy strings, icon issues, entitlement mismatches, missing privacy manifests, account deletion requirements, Sign in with Apple, and more. Use this skill whenever the user wants to check their iOS app before submitting to the App Store, asks about App Store rejection reasons, wants to validate their Xcode project configuration, or mentions anything about App Store review, TestFlight submission, or app approval. Also use when the user mentions Info.plist privacy k
Apple Liquid Glass
11xenitV1/liquid-glass-skill
Apple's Liquid Glass design language (iOS 26 / macOS 26 HIG) made buildable on any platform: the content/chrome two-layer model, regular vs clear glass, real refraction (content bending at the rim), the rim light, type scales, system colours, component shapes, and Reduce Motion/Transparency/Increase Contrast fallbacks. Ships a CSS token file and a refraction script for the web, plus routes for SwiftUI/UIKit, Android Compose (Haze), Flutter, Electron, Tauri, Windows and Linux. Use when building or reviewing any UI that should look Apple-made or "liquid glass": "iOS style", "macOS style", "Liqui
Burner
14useburner/burner
Use when the user says "use my burner", "on my burner", "what's on my burner?" (screenshot its screen and send the image), or asks you to do something in a phone app (open an app, tap, type, scroll, check an order). burner gives you a real Android phone the user set aside for you, for apps with no API or website you can automate. Also covers first-time setup.
IOS Trace
9kmgcc/iOS-Trace
Agent-native runbook for evidence-based profiling and optimization of native iOS and iPadOS apps with xctrace and Xcode Instruments on physical devices or simulators. Use for CPU or battery use, memory growth or Jetsam, UI hitches, slow launch, concurrency stalls, audio glitches, or network activity. Choose instruments and workload reproduction to fit the issue; bundled scripts are optional helpers.
Adb Android Control
16hah23255/adb-android-control
Comprehensive Android device control via ADB (Android Debug Bridge). Use when user asks about: Android device management, app installation/uninstallation, APK operations, package management, file transfer (push/pull), screenshots, screen recording, input simulation (tap/swipe/text/keyevents), shell commands, logcat viewing, device info (battery/memory/storage), automation scripts, wireless ADB connection, scrcpy mirroring. Keywords: adb, android, phone, tablet, device, apk, install app, uninstall app, screenshot, screen record, tap, swipe, type text, keyevent, logcat, push file, pull file, she
Browse the most popular Claude skills, all mobile development skills, or write your own with the skills generator.