Borrowing it
Nothing to install: this file belongs to kelvinkosbab/AppBootstrapAI. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/kelvinkosbab/AppBootstrapAI/main/.claude/skills/xml-to-compose-migration-pro/SKILL.mdgit clone --depth 1 https://github.com/kelvinkosbab/AppBootstrapAIWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/kelvinkosbab/appbootstrapai/xml-to-compose-migration-pro)<a href="https://agentmods.dev/skills/kelvinkosbab/appbootstrapai/xml-to-compose-migration-pro"><img src="https://agentmods.dev/badge/skills/kelvinkosbab/appbootstrapai/xml-to-compose-migration-pro/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/kelvinkosbab/appbootstrapai/xml-to-compose-migration-pro"><img src="https://agentmods.dev/badge/skills/kelvinkosbab/appbootstrapai/xml-to-compose-migration-pro.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00078 | $0.01559 |
| Opus 5 | $0.00039 | $0.00779 |
| Sonnet 5 | $0.00016 | $0.00312 |
| Haiku 4.5 | $0.00008 | $0.00156 |
Grade A, and why
xml-to-compose-migration-pro scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 98 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Review and assist the migration from XML-based Android UI (Fragments + layouts + RecyclerViews) to Jetpack Compose. Migration is incremental by default — ComposeView / AndroidView make it possible to ship a hybrid screen-by-screen without a big-bang rewrite. Report only genuine migration issues; don't nitpick the existing XML where it doesn't need to change.
Review process:
- Frame the migration scope using
references/interop-strategy.md— incremental vs all-at-once, where to put interop boundaries. - Translate layouts using
references/layout-migration.md—LinearLayout/ConstraintLayout/FrameLayout/RelativeLayoutto Compose equivalents. - Translate RecyclerViews using
references/recyclerview-to-lazy.md— including stable keys, item-content separation, and DiffUtil → automatic recomposition. - Translate Fragments using
references/fragment-to-composable.md— lifecycle ownership, ViewBinding → parameters, animations. - Translate Navigation Component using
references/navigation-migration.md—NavGraphXML →NavHostKotlin DSL. - Bridge ViewModels using
references/viewmodel-bridge.md— existing ViewModels stay; only the View layer changes. - Translate themes using
references/themes-styles.md—styles.xml→MaterialTheme(colorScheme, typography, shapes).
If doing a partial review, load only the relevant reference files.
Core Instructions
- Migrate incrementally. A full XML-to-Compose rewrite of a non-trivial app is months of work; an incremental screen-by-screen migration ships value continuously.
ComposeViewin an XML layout (orAndroidViewin a Composable) makes it possible. - Existing ViewModels stay. Compose works with
ViewModel+StateFlow+LiveDatawithout changes. The migration is a View-layer concern, not a state-layer one. - Don't preserve XML idioms in Compose. A
LinearLayout(orientation = horizontal)becomes aRow— not aColumnwithModifier.fillMaxWidth().wrapContentHeight(). A literal translation produces awkward Compose. - Test parity before deleting XML. Snapshot tests, manual QA, or feature-flag the new screen alongside the old. Don't delete the XML in the same PR that introduces the Composable.
- Use semantic
testTagfor tests, not preservedandroid:idvalues. XML view IDs (R.id.submit_button) don't carry over; Compose usesModifier.testTag(...)andModifier.semantics { contentDescription = ... }. AndroidView { factory: ... update: ... }is for one-way binding from Compose state to aView. Don't try to round-trip — if state needs to flow back, lift it.
What ships with it
7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 9d ago First seen · 98 lines · 78 tokens per session scan A 2d0a6232c329
xml-to-compose-migration-pro is a skill published in the GitHub repository kelvinkosbab/AppBootstrapAI (5 stars, last pushed 18d ago), licensed MIT. It adds 78 tokens to every session and 1,559 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
truesheet-usage
Consumer-side guide for integrating @lodev09/react-native-true-sheet into a React Native app. Use this skill whenever the user wants to add, configure, control, or debug a bottom sheet using TrueSheet — including ref-based sheets, named global sheets, web support with TrueSheetProvider/useTrueSheet, React Navigation…
uniwind
Uniwind — Tailwind CSS v4 styling for React Native. Use when adding, building, or debugging components in a React Native project that uses Uniwind classNames. Covers setup, Metro config, global.css, theming, className props, accent- color props, platform/data/state/responsive variants, CSS variables, custom utilities…
maui-blazor-hybrid
Build/debug MAUI Blazor Hybrid. USE FOR: BlazorWebView vs HybridWebView, Razor UI, embedded HTML/JS, AddMauiBlazorWebView, root components, JS/.NET messaging, trim-safe JSON, wwwroot assets, auth/data handoff, DevFlow CDP route/DOM debugging. DO NOT USE FOR: pure XAML UI or browser-only apps.
react-native-expert
Expert in React Native, cross-platform mobile development, native modules, and performance optimization. Use when the user mentions mobile, JavaScript, TypeScript, cross platform, iOS, or Android, or when the task involves React Native Architecture, Component Types, Hooks Essentials, or Navigation.
migrate-nativewind-to-uniwind
Migrate a React Native project from NativeWind to Uniwind. Use when the user wants to replace NativeWind with Uniwind, upgrade from NativeWind, switch to Uniwind, or mentions NativeWind-to-Uniwind migration. Handles package removal, config migration, Tailwind 4 upgrade, cssInterop removal, theme conversion, and all…
optimizing-lazy-layouts
Use this skill to fix scroll jank, lost item state, and broken animateItem() animations in LazyColumn, LazyRow, LazyVerticalGrid, and LazyHorizontalGrid. Covers stable item keys, contentType for mixed-type feeds, Modifier.animateItem() requirements, hoisting modifier chains and painters out of the items lambda, and…