pluginagentmarketplace/custom-plugin-kotlin66 installs
kotlin-compose
Jetpack Compose - composables, state, effects, theming
How do I install this agent skill?
npx skills add https://github.com/pluginagentmarketplace/custom-plugin-kotlin --skill kotlin-composeIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill is an educational resource for Jetpack Compose development. It contains documentation and a local Python validation script that follows security best practices, such as using safe YAML loading. No malicious patterns, unauthorized data access, or network exfiltration were detected.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- Runlayerwarn
3/6 files flagged
What does this agent skill do?
Kotlin Compose Skill
Build modern UIs with Jetpack Compose declarative patterns.
Topics Covered
State Management
@Composable
fun Counter() {
var count by remember { mutableIntStateOf(0) }
Button(onClick = { count++ }) { Text("Count: $count") }
}
// Derived state
val isValid by remember { derivedStateOf { email.isNotBlank() && password.length >= 8 } }
Side Effects
@Composable
fun UserScreen(userId: String) {
LaunchedEffect(userId) {
viewModel.loadUser(userId)
}
DisposableEffect(Unit) {
val listener = viewModel.addListener()
onDispose { listener.remove() }
}
}
Modifiers
Box(
modifier = Modifier
.fillMaxSize()
.padding(16.dp)
.background(MaterialTheme.colorScheme.surface)
.clickable { onClick() }
)
Material 3 Theming
@Composable
fun AppTheme(content: @Composable () -> Unit) {
val colorScheme = if (isSystemInDarkTheme()) darkColorScheme() else lightColorScheme()
MaterialTheme(colorScheme = colorScheme, typography = Typography, content = content)
}
Troubleshooting
| Issue | Resolution |
|---|---|
| Infinite recomposition | Use remember or derivedStateOf |
| State lost on rotation | Use rememberSaveable or ViewModel |
Usage
Skill("kotlin-compose")
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/pluginagentmarketplace/custom-plugin-kotlin/kotlin-compose">View kotlin-compose on skillZs</a>