legado-compose-review
Skill by HapeLee
Reviews existing Legado Jetpack Compose code for architecture, behavior, maintainability, and project convention issues. Built for developers auditing Compose screens, ViewModels, and navigation in the Legado project.
Install legado-compose-review
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/.codex/skills/legado-compose-review ~/.claude/skills/legado-compose-reviewRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/HapeLee/legado-with-MD3 /tmp/legado-with-MD3 && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/legado-with-MD3/.codex/skills/legado-compose-review ~/.gemini/antigravity-cli/skills/legado-compose-reviewAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install legado-compose-review in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
legado-compose-review is an agent skill, defined in a SKILL.md file, for reviewing existing Legado Jetpack Compose code. It covers screens, routes, ViewModels, contracts, dialogs, sheets, navigation, and early Compose implementations. The checks focus on MVI/UDF, StateFlow and SharedFlow, Clean Architecture, MainActivity navigation, legacy Activity compatibility, and View-era mixed-pattern drift.
The workflow sets the review scope, builds context from the feature code and nearby examples, and reviews by risk rather than style. Findings are listed first, with file and line references, followed by the smallest credible fix. The skill does not rewrite code unless the user asks for fixes. It is aimed at developers working on Legado's Compose code and points to a separate migration skill when a finding implies a rewrite.
Written from the project's SKILL.md and checked against it.
What it can do
- Review scope setupIdentifies the screen, route, ViewModel, contract, or package under review before starting.
- Context buildingReads the Screen, ViewModel, contract, host Activity, DI registration, and related repositories or use cases.
- Risk-based reviewPrioritizes behavior regressions, state duplication, lifecycle bugs, and navigation bugs over style.
- Priority ratingsRanks findings from P0/P1 for breakage down to P3 for convention and maintainability issues.
- Findings with referencesLists findings first with file and line references, impact, and the smallest credible fix.
- Code comment outputCan emit one code-comment directive per finding when using Codex review directives.
- Grouped fix stepsGroups suggested fixes into small, reviewable steps after the findings are listed.
- Migration handoffRecommends the legado-compose-migration skill when a finding implies a migration or rewrite.
Try asking
- Review the BookInfo Compose screen and its ViewModel for state and lifecycle bugs.
- Audit the Legado search route for MainActivity navigation problems.
- Find View-era mixed-pattern drift in this Compose dialog and rank findings by priority.
Good to know
- Reviews first and does not edit code unless the user asks for fixes.
- Scoped to Legado Compose code and its project conventions.
- Detailed checks are held in a separate references/review-checklist.md file.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .codex/skills/legado-compose-review/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md4 KB -
agents/openai.yaml275 B -
references/review-checklist.md8 KB
Alternatives to legado-compose-review
All alternatives →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.
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.
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.
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.
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.
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.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
legado-compose-review: common questions
Does this skill change code during a review?
No. The skill says not to rewrite code during a review unless the user asks for fixes. If the scope is unclear, it reviews first and does not edit.
What kinds of problems does it look for?
It looks for behavior regressions, state duplication, lifecycle and navigation bugs, business logic in UI, and recomposition hazards. It also checks MVI/UDF and StateFlow/SharedFlow usage.
How does it handle legacy View code?
It treats View code as context unless that code affects the Compose surface. It allows a thin retained Activity for Android Intent compatibility with unreworked View callers.
How do I install legado-compose-review?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is legado-compose-review free?
The code is published under the GPL-3.0 licence. The service it connects to may have its own pricing.
Is legado-compose-review safe to use?
It scores 90 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-review?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
