Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

legado-compose-migration

Skill by HapeLee

Guides an AI assistant to create or migrate a Legado Android screen with Jetpack Compose. It follows the repository's Feature ownership, UDF, navigation, DI, inset and compatibility rules.

  • Score 91
  • 7.5k stars
  • GPL-3.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install legado-compose-migration

Built from the published package, never by AI.

git clone --depth 1 https://github.com/HapeLee/legado-with-MD3 /tmp/legado-with-MD3 && mkdir -p ~/.claude/skills && cp -r /tmp/legado-with-MD3/.agents/skills/legado-compose-migration ~/.claude/skills/legado-compose-migration

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install legado-compose-migration in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The legado-compose-migration skill tells an AI assistant how to build or migrate one Android screen of the Legado app with Jetpack Compose. It covers XML, View, RecyclerView and DialogFragment migrations, as well as new Android Compose destinations. Before editing, the assistant reads AGENTS.md, the feature-first structure doc and the current implementation, and it keeps observable behavior intact.

The workflow bounds the surface, picks the lowest state owner, keeps Screen and Content free of data access, and wires navigation, DI and compatibility at the host. It also sets rules for insets, predictive back, resizable windows and accessibility, and lists verification steps. It is for developers working on the Legado repository. Review-only requests and multiplatform or Gradle changes are routed to other skills.

Written from the project's SKILL.md and checked against it.

What it can do

  • Migration planningBounds the screen and success criteria, and records behavior that must remain before editing.
  • State ownershipChooses the lowest state owner and routes Feature actions through a ViewModel onIntent dispatcher.
  • Layer boundariesKeeps Screen and Content free of repository, DAO, network and storage access.
  • Navigation and host wiringPrefers Navigation 3 destinations and keeps Activities as thin compatibility hosts.
  • Insets and back behaviorChecks Scaffold insets, IME behavior and predictive back handling for migrated screens.
  • Window size supportRequires new or migrated destinations to tolerate compact, medium and expanded resizable windows.
  • Verification guidanceLists compile, test and device checks in proportion to the risk of the change.

What you need

  • A Legado repository checkout with AGENTS.md
  • Gradle wrapper for running app build tasks

Try asking

  • Migrate this RecyclerView settings screen to Jetpack Compose in Legado
  • Create a new Compose destination for a Legado feature with UDF state
  • Check insets and predictive back for this migrated Legado screen

Good to know

  • Review-only requests should use legado-compose-review instead.
  • Multiplatform or Gradle boundary changes need legado-kmp-migration.
  • Manual and device paths that compilation cannot prove must be reported as unverified.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .agents/skills/legado-compose-migration/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md7 KB
  • references/project-patterns.md8 KB

Alternatives to legado-compose-migration

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

legado-compose-migration: common questions

When should I use this skill instead of legado-compose-review?

Use legado-compose-review for review-only requests. This skill is for creating or migrating screens.

Does it create a standalone Activity for new screens?

No. It prefers a MainActivity Navigation 3 destination unless an external entry or platform lifecycle reason exists.

Which Android API level does it mention?

The source says the app targets API 37, where orientation and resizability restrictions no longer protect large-screen layouts.

How do I install legado-compose-migration?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is legado-compose-migration free?

The code is published under the GPL-3.0 licence. The service it connects to may have its own pricing.

Is legado-compose-migration safe to use?

It scores 91 of 100. Grades: maintenance A, licence C, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to legado-compose-migration?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

legado-compose-migration Install

Add to stack

Loading.