compose-ui — compose-ui install compose-ui, atotoX10-drive, community, compose-ui install, ide skills, compose-ui for Android development, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Perfect for Android Development Agents needing optimized Jetpack Compose UI components. compose-ui is a set of guidelines for building efficient and scalable user interfaces with Jetpack Compose

Features

Enforces stateless Composables using unidirectional data flow
Supports state hoisting by moving state to the caller
Follows a function signature pattern for event handling
Promotes testable Composables through modular design
Optimizes Composable performance using best practices
Encourages reusable UI components

# Core Topics

polidog polidog
[0]
[0]
Updated: 3/8/2026

Agent Capability Analysis

The compose-ui skill by polidog is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance. Optimized for compose-ui install, compose-ui for Android development.

Ideal Agent Persona

Perfect for Android Development Agents needing optimized Jetpack Compose UI components.

Core Value

Empowers agents to create performant, reusable, and testable Composables using state hoisting and unidirectional data flow, leveraging Jetpack Compose best practices and Kotlin.

Capabilities Granted for compose-ui

Generating reusable UI components
Optimizing Android app performance
Implementing stateless Composables with unidirectional data flow

! Prerequisites & Limits

  • Requires Kotlin programming language
  • Android app development only
  • Jetpack Compose compatibility required
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

compose-ui

Install compose-ui, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly

Jetpack Compose Best Practices

Instructions

Follow these guidelines to create performant, reusable, and testable Composables.

1. State Hoisting (Unidirectional Data Flow)

Make Composables stateless whenever possible by moving state to the caller.

  • Pattern: Function signature should usually look like:
    kotlin
    1@Composable 2fun MyComponent( 3 value: String, // State flows down 4 onValueChange: (String) -> Unit, // Events flow up 5 modifier: Modifier = Modifier // Standard modifier parameter 6)
  • Benefit: Decouples the UI from simple state storage, making it easier to preview and test.
  • ViewModel Integration: The screen-level Composable retrieves state from the ViewModel (viewModel.uiState.collectAsStateWithLifecycle()) and passes it down.

2. Modifiers

  • Default Parameter: Always provide a modifier: Modifier = Modifier as the first optional parameter.
  • Application: Apply this modifier to the root layout element of your Composable.
  • Ordering matters: padding().clickable() is different from clickable().padding(). Generally apply layout-affecting modifiers (like padding) after click listeners if you want the padding to be clickable.

3. Performance Optimization

  • remember: Use remember { ... } to cache expensive calculations across recompositions.
  • derivedStateOf: Use derivedStateOf { ... } when a state changes frequently (like scroll position) but the UI only needs to react to a threshold or summary (e.g., show "Jump to Top" button). This prevents unnecessary recompositions.
    kotlin
    1val showButton by remember { 2 derivedStateOf { listState.firstVisibleItemIndex > 0 } 3}
  • Lambda Stability: Prefer method references (e.g., viewModel::onEvent) or remembered lambdas to prevent unstable types from triggering recomposition of children.

4. Theming and Resources

  • Use MaterialTheme.colorScheme and MaterialTheme.typography instead of hardcoded colors or text styles.
  • Organize simple UI components into specific files (e.g., DesignSystem.kt or Components.kt) if they are shared across features.

5. Previews

  • Create a private preview function for every public Composable.
  • Use @Preview(showBackground = true) and include Light/Dark mode previews if applicable.
  • Pass dummy data (static) to the stateless Composable for the preview.

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is compose-ui?

Perfect for Android Development Agents needing optimized Jetpack Compose UI components. compose-ui is a set of guidelines for building efficient and scalable user interfaces with Jetpack Compose

How do I install compose-ui?

Run the command: npx killer-skills add polidog/atotoX10-drive/compose-ui. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for compose-ui?

Key use cases include: Generating reusable UI components, Optimizing Android app performance, Implementing stateless Composables with unidirectional data flow.

Which IDEs are compatible with compose-ui?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for compose-ui?

Requires Kotlin programming language. Android app development only. Jetpack Compose compatibility required.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add polidog/atotoX10-drive/compose-ui. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use compose-ui immediately in the current project.

Related Skills

Looking for an alternative to compose-ui or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI