XML To Compose
Converts Android XML layouts to idiomatic Jetpack Compose with modifier-order rules.
Test report
- Verdict
- Tested · Works
- Score
- Tested
- Jul 15, 2026
- Environment
- Claude Code 2.x (agent harness)
- Upstream re-checked
- Aug 10, 2026 · 6b0bf49
Ran a real login-screen XML through both baseline and skill: the skill version caught the app:endIconMode="password_toggle" attribute and added the eye-icon visibility toggle that my unguided baseline conversion silently dropped, plus consistent dimensionResource()/Material3 usage.
Scored on four weighted criteria — install, triggering, output vs. baseline, docs. How scoring works
- Installs cleanly 5/5
- Triggers reliably 5/5
- Output vs. baseline 7/10
- Docs & honesty 5/5
What XML To Compose does
Maps XML layouts, widgets, and attributes to Compose equivalents (Column/Row/Box, Text, OutlinedTextField, Material3 components) and enforces correct Modifier chain ordering. Triggers on requests to migrate XML views to composables or find a Compose equivalent for an Android widget.
How to install XML To Compose
git clone https://github.com/singhsume123/xml-to-compose-skill
cd xml-to-compose-skill
mkdir -p ~/.claude/skills
cp -r . ~/.claude/skills/xml-to-compose
Skills live in ~/.claude/skills/ (global) or .claude/skills/
(per-project). Restart Claude Code after installing.
Commands — how to trigger XML To Compose
-
/xml-to-composeConverts Android XML layouts to idiomatic Jetpack Compose with modifier-order rules.
It also activates on plain-language prompts like these:
-
Convert this login_screen.xml layout into a Jetpack Compose composable -
What's the Compose equivalent of this OutlinedTextField with a toggle icon -
Migrate my Android XML views to idiomatic Compose with Material3
Frequently asked questions
- Is the XML To Compose skill free?
- Yes. The skill itself is free from singhsume123/xml-to-compose-skill. SkillProof publishes the install command and an independent test verdict at no cost.
- Does XML To Compose work with Claude Code?
- We tested it with Claude Code 2.x (agent harness) on Jul 15, 2026. Verdict: Tested · Works. Ran a real login-screen XML through both baseline and skill: the skill version caught the app:endIconMode="password_toggle" attribute and added the eye-icon visibility toggle that my unguided baseline conversion silently dropped, plus consistent dimensionResource()/Material3 usage.
- What is the XML To Compose SkillProof Score?
- 8.8/10 — installs cleanly 5/5, triggers reliably 5/5, output vs. baseline 7/10, docs & honesty 5/5.
- How do I install XML To Compose?
- Copy the install command from this page, run it in your terminal, and restart Claude Code. Skills live in ~/.claude/skills/ (global) or .claude/skills/ inside a project.
- Can I use XML To Compose with Cursor, Copilot, Gemini CLI, Codex or other AI tools?
- The SKILL.md format is native to Claude (Claude Code, Desktop, claude.ai). The instructions inside adapt to other assistants: Cursor rules, GitHub Copilot instructions, Windsurf rules, Custom GPTs, AGENTS.md for OpenAI Codex, and GEMINI.md for Google Gemini CLI — our conversion guides cover each, and the free converter on the tools page does the wrapping for you.