Skip to main content
Back to registry

compose-ui

new-silvermoon/awesome-android-agent-skills

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

Installs165
Install command
npx skills add https://github.com/new-silvermoon/awesome-android-agent-skills --skill compose-ui
Security audits
Gen Agent Trust HubPASS
SocketPASS
SnykPASS
About this skill
Follow these guidelines to create performant, reusable, and testable Composables. Make Composables stateless whenever possible by moving state to the caller. - Pattern : Function signature should usually look like: @Composable fun MyComponent ( value : String , // State flows down onValueChange : ( String ) -> Unit , // Events flow up modifier : Modifier = Modifier // Standard modifier parameter ) - 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. - 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.

Source description provided by the upstream skill listing. Community reviews and install context appear in the sections below.

Community Reviews

Latest reviews

Sign in to review

No community reviews yet. Be the first to review.

Browse this skill in context
FAQ
What does compose-ui do?

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

Is compose-ui good?

compose-ui does not have approved reviews yet, so SkillJury cannot publish a community verdict.

What agent does compose-ui work with?

compose-ui currently lists compatibility with codex, gemini-cli, opencode, kimi-cli, amp, github-copilot.

What are alternatives to compose-ui?

Skills in the same category include telegram-bot-builder, flutter-app-size, sharp-edges, iterative-retrieval.

How do I install compose-ui?

npx skills add https://github.com/new-silvermoon/awesome-android-agent-skills --skill compose-ui

Related skills

More from new-silvermoon/awesome-android-agent-skills

Related skills

Alternatives in Software Engineering