Back to skills
SKILL.md
Compose Hoangnguyen0403 Agent Skills Standar
ASecurityStandards for Declarative UI, State Hoisting, and Performance
- 666 stars
- 0 votes
- 0 copies
- 1 view
- Added February 8, 2026
Works with
Security analysis
100/100npx -y skills add majiayu000/claude-skill-registry --skill compose-hoangnguyen0403-agent-skills-standar --agent claude-codeAre you the author of Compose Hoangnguyen0403 Agent Skills Standar?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/majiayu000-compose-hoangnguyen0403-agent-skills-standar)---
name: Android Jetpack Compose
description: Standards for Declarative UI, State Hoisting, and Performance
metadata:
labels: [android, compose, ui]
triggers:
files: ['**/*.kt']
keywords: ['@Composable', 'Modifier', 'Column', 'Row']
---
# Jetpack Compose Standards
## **Priority: P0**
## Implementation Guidelines
### State Hoisting
- **Pattern**: `Screen` (Stateful) -> `Content` (Stateless).
- **Events**: Pass lambda callbacks down (`onItemClick: (Id) -> Unit`).
- **Dependencies**: NEVER pass ViewModel to stateless composables.
### Performance
- **Recomposition**: Use `@Stable` / `@Immutable` on UI Models.
- **Lists**: Always use `key` in `LazyColumn` / `LazyRow`.
- **Modifiers**: Reuse Modifier instances or extract to variables if stable.
### Theming (Material 3)
- **Tokens**: Use `MaterialTheme.colorScheme` and `MaterialTheme.typography`.
- **Hardcoding**: `**No Hardcoded Colors**: Use Theme.`
## Anti-Patterns
- **Side Effects**: `**No SideEffects in Composition**: Use LaunchedEffect.`
- **ViewModel pass-through**: `**No VM deep pass**: Hoist state.`
## References
- [Patterns & Optimization](references/implementation.md)
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.