
Description
styles-android is an experimental Android skill for integrating the Jetpack Compose Styles API into a project. The skill warns that the API is experimental and needs an alpha version of Compose and opt-in to experimental APIs. It only supports custom UI components and custom themes, and it does not support Material Design component styles. The prerequisites are that the project uses compileSdk 37 or higher, and that it uses androidx.compose.foundation version 1.12.0-alpha01 or later, or Compose BOM 2026.04.01 or later. The API requires a specific import of Style from androidx.compose.foundation.style. The skill walks through upgrading the dependencies, then configuring the compiler options to enable the experimental API. Because it is experimental, the API may change, and the skill asks the agent to tell the user that before proceeding. It is installed with npx skills add https://github.com/android/skills --skill styles, and the skills.sh listing shows Gen Agent Trust Hub, Socket and Snyk all passed.…
Highlights
- Integrates the Compose Styles API
- Experimental API warning
- Custom components and themes only
- Dependency and compiler setup
- Install with npx skills add
Ratings & Reviews
No ratings yet
Be the first to rate styles.
People also visit
styles FAQ
What does styles-android do?
It helps integrate the Jetpack Compose Styles API into an Android project.
Is the API stable?
No. The skill calls it experimental, and it needs an alpha version of Compose and opt-in to experimental APIs.
What does it support?
Custom UI components and custom themes only. Material Design component styles are not supported.
What versions do I need?
compileSdk 37 or higher, and androidx.compose.foundation 1.12.0-alpha01 or later, or Compose BOM 2026.04.01 or later.
How do I install it?
Run npx skills add https://github.com/android/skills --skill styles.
What are its security audits?
The skills.sh listing shows Gen Agent Trust Hub, Socket and Snyk all passed.
What are the best styles alternatives?
Popular alternatives to styles include android-jetpack-compose, mobile-android-design and migrate-xml-views-to-jetpack-compose. See all styles alternatives










