android-compose-ui
Skill by cosmictaserdev-creator
Provides Compose UI guidance for Android and Kotlin Multiplatform, covering stability, recomposition, side effects, lazy lists, animations, previews and accessibility. It is aimed at developers writing or reviewing composables.
Install android-compose-ui
Built from the published package, never by AI.
git clone --depth 1 https://github.com/cosmictaserdev-creator/Convx /tmp/Convx && mkdir -p ~/.claude/skills && cp -r /tmp/Convx/contributor/skills/android-compose-ui ~/.claude/skills/android-compose-uiRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/cosmictaserdev-creator/Convx /tmp/Convx && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Convx/contributor/skills/android-compose-ui ~/.gemini/antigravity-cli/skills/android-compose-uiAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
android-compose-ui is a skill file with Compose UI patterns for Android and Kotlin Multiplatform projects. It covers stability and recomposition, state ownership, side effects, lazy lists, animations, modifier extensions, design system slot APIs, previews, accessibility and text fields. The guidance says the UI should only render state and forward user actions, while business logic stays in the ViewModel, domain or data layers.
The skill is meant for developers working on composables, recomposition performance, animations, previews, custom modifiers and design systems. It recommends graphicsLayer and deferred state reads for animations, keys on lazy list items when a unique id exists, and string resources for contentDescription. It refers to the android-presentation-mvi skill for the full ViewModel pattern.
Written from the project's SKILL.md and checked against it.
What it can do
- Stability and recompositionExplains when to annotate state classes with @Stable and how strong skipping mode applies.
- State ownershipKeeps application state in the ViewModel and limits remember to Compose-owned state such as list or scroll state.
- Side effectsAdvises avoiding side effects and extracting lifecycle observers into dedicated composables.
- Lazy listsShows how to add keys to LazyColumn items when a unique identifier is available.
- AnimationsRecommends graphicsLayer, offset lambdas and deferred reads to animate without recomposition.
- Modifier extensionsGives guidance on writing plain modifier extensions and modifier factories that are not composable.
- Design system and slot APIsDescribes slot APIs for design system components and typed parameters for feature composables.
- PreviewsAsks for at least one realistic @Preview per screen, wrapped in the app theme.
- AccessibilityRequires meaningful contentDescription values from string resources, or null for decorative elements.
- TextFieldShows that text input state lives in the ViewModel and each keystroke dispatches an action.
Try asking
- Review this composable for unnecessary recomposition and suggest fixes.
- Add a graphicsLayer based fade animation to this card composable.
- Write a preview for my NoteListScreen with realistic sample data.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: contributor/skills/android-compose-ui/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md8 KB
Alternatives to android-compose-ui
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
android-compose-ui: common questions
Does android-compose-ui cover state management in Compose?
Yes. It says application state belongs in the ViewModel's StateFlow and is collected with collectAsStateWithLifecycle, with remember reserved for Compose-owned state like LazyListState.
Which animation approach does the skill recommend?
It recommends graphicsLayer, offset lambdas, Canvas and animateFloatAsState applied in graphicsLayer, since these avoid recomposition on every frame.
Does the skill cover the ViewModel or MVI layer?
No. It focuses on Compose UI decisions beyond the MVI and ViewModel layer and points to the android-presentation-mvi skill for that pattern.
How do I install android-compose-ui?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is android-compose-ui free?
The code is published under the GPL-3.0 licence. The service it connects to may have its own pricing.
Is android-compose-ui safe to use?
It scores 87 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 android-compose-ui?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
