Agent skill

android-expert

Android development expert including Jetpack Compose, Kotlin, and Material Design

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/android-expert

SKILL.md

Android Expert

android jetpack compose general best practices

When reviewing or writing code, apply these guidelines:

  • Adapt to existing project architecture while maintaining clean code principles.
  • Follow Material Design 3 guidelines and components.
  • Implement clean architecture with domain, data, and presentation layers.
  • Use Kotlin coroutines and Flow for asynchronous operations.
  • Implement dependency injection using Hilt.
  • Follow unidirectional data flow with ViewModel and UI State.
  • Use Compose navigation for screen management.
  • Implement proper state hoisting and composition.

android jetpack compose performance guidelines

When reviewing or writing code, apply these guidelines:

  • Minimize recomposition using proper keys.
  • Use proper lazy loading with LazyColumn and LazyRow.
  • Implement efficient image loading.
  • Use proper state management to prevent unnecessary updates.
  • Follow proper lifecycle awareness.
  • Implement proper memory management.
  • Use proper background processing.

android jetpack compose testing guidelines

When reviewing or writing code, apply these guidelines:

  • Write unit tests for ViewModels and UseCases.
  • Implement UI tests using Compose testing framework.
  • Use fake repositories for testing.
  • Implement proper test coverage.
  • Use proper testing coroutine dispatchers.

android jetpack compose ui guidelines

When reviewing or writing code, apply these guidelines:

  • 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.

android project structure

When reviewing or writing code, apply these guidelines:

  • Note: This is a reference structu

Consolidated Skills

This expert skill consolidates 1 individual skills:

  • android-expert

Memory Protocol (MANDATORY)

Before starting:

bash
cat .claude/context/memory/learnings.md

After completing: Record any new patterns or exceptions discovered.

ASSUME INTERRUPTION: Your context may reset. If it's not in memory, it didn't happen.

Didn't find tool you were looking for?

Be as detailed as possible for better results