Skip to content
Back to skills

Compose Hoangnguyen0403 Agent Skills Standar

ASecurity

Standards for Declarative UI, State Hoisting, and Performance

  • 666 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added February 8, 2026
developmentperformance

Works with

  • cli

Security analysis

A100/100

Scanned February 10, 2026

npx -y skills add majiayu000/claude-skill-registry --skill compose-hoangnguyen0403-agent-skills-standar --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Compose Hoangnguyen0403 Agent Skills Standar?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Compose Hoangnguyen0403 Agent Skills Standar
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-compose-hoangnguyen0403-agent-skills-standar/badge)](https://www.skillsdirectory.com/skills/majiayu000-compose-hoangnguyen0403-agent-skills-standar)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.