BMAD-METHOD/.claude/rules/android-jetpack-compose-cur.../android-jetpack-compose---u...

14 lines
613 B
Plaintext

---
description: Enforces specific UI-related guidelines for Jetpack Compose within the presentation layer.
globs: app/src/main/java/com/package/presentation/**/*.kt
---
- Use remember and derivedStateOf appropriately.
- Implement proper recomposition optimization.
- Use proper Compose modifiers ordering.
- Follow composable function naming conventions.
- Implement proper preview annotations.
- Use proper state management with MutableState.
- Implement proper error handling and loading states.
- Use proper theming with MaterialTheme.
- Follow accessibility guidelines.
- Implement proper animation patterns.