MO

mobile-android-design

Design assistant for building modern Android UIs with Jetpack Compose and Material Design 3.

Install

mkdir -p .claude/skills/mobile-android-design && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/644" && unzip -o skill.zip -d .claude/skills/mobile-android-design && rm skill.zip

Installs to .claude/skills/mobile-android-design

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Master Material Design 3 and Jetpack Compose patterns for building native Android apps. Use when designing Android interfaces, implementing Compose UI, or following Google's Material Design guidelines.
201 chars✓ has a “when” trigger
Intermediate

Key capabilities

  • Design Android app interfaces using Material Design 3
  • Build UIs with Jetpack Compose
  • Implement Android navigation patterns
  • Create adaptive layouts for various screen sizes
  • Apply Material 3 theming with dynamic colors
  • Build accessible Android interfaces

How it works

This skill guides the creation of Android applications by applying Material Design 3 principles and Jetpack Compose patterns for UI development.

Inputs & outputs

You give it
design requirements for an Android application
You get back
Android UI components and layouts following Material Design 3 and Jetpack Compose

When to use mobile-android-design

  • Implement Material 3 components
  • Create adaptive Compose layouts
  • Apply dynamic color theming

About this skill

Android Mobile Design

Master Material Design 3 (Material You) and Jetpack Compose to build modern, adaptive Android applications that integrate seamlessly with the Android ecosystem.

When to Use This Skill

  • Designing Android app interfaces following Material Design 3
  • Building Jetpack Compose UI and layouts
  • Implementing Android navigation patterns (Navigation Compose)
  • Creating adaptive layouts for phones, tablets, and foldables
  • Using Material 3 theming with dynamic colors
  • Building accessible Android interfaces
  • Implementing Android-specific gestures and interactions
  • Designing for different screen configurations

Detailed section: Core Concepts

Originally a 9201-byte section in this SKILL.md. Moved to references/details.md to fit Codex's 8 KB skill body cap.

Quick Start Component

@Composable
fun ItemListCard(
    item: Item,
    onItemClick: () -> Unit,
    modifier: Modifier = Modifier
) {
    Card(
        onClick = onItemClick,
        modifier = modifier.fillMaxWidth(),
        shape = RoundedCornerShape(12.dp)
    ) {
        Row(
            modifier = Modifier
                .padding(16.dp)
                .fillMaxWidth(),
            verticalAlignment = Alignment.CenterVertically
        ) {
            Box(
                modifier = Modifier
                    .size(48.dp)
                    .clip(CircleShape)
                    .background(MaterialTheme.colorScheme.primaryContainer),
                contentAlignment = Alignment.Center
            ) {
                Icon(
                    imageVector = Icons.Default.Star,
                    contentDescription = null,
                    tint = MaterialTheme.colorScheme.onPrimaryContainer
                )
            }

            Spacer(modifier = Modifier.width(16.dp))

            Column(modifier = Modifier.weight(1f)) {
                Text(
                    text = item.title,
                    style = MaterialTheme.typography.titleMedium
                )
                Text(
                    text = item.subtitle,
                    style = MaterialTheme.typography.bodyMedium,
                    color = MaterialTheme.colorScheme.onSurfaceVariant
                )
            }

            Icon(
                imageVector = Icons.Default.ChevronRight,
                contentDescription = null,
                tint = MaterialTheme.colorScheme.onSurfaceVariant
            )
        }
    }
}

Best Practices

  1. Use Material Theme: Access colors via MaterialTheme.colorScheme for automatic dark mode support
  2. Support Dynamic Color: Enable dynamic color on Android 12+ for personalization
  3. Adaptive Layouts: Use WindowSizeClass for responsive designs
  4. Content Descriptions: Add contentDescription to all interactive elements
  5. Touch Targets: Minimum 48dp touch targets for accessibility
  6. State Hoisting: Hoist state to make components reusable and testable
  7. Remember Properly: Use remember and rememberSaveable appropriately
  8. Preview Annotations: Add @Preview with different configurations

Common Issues

  • Recomposition Issues: Avoid passing unstable lambdas; use remember
  • State Loss: Use rememberSaveable for configuration changes
  • Performance: Use LazyColumn instead of Column for long lists
  • Theme Leaks: Ensure MaterialTheme wraps all composables
  • Navigation Crashes: Handle back press and deep links properly
  • Memory Leaks: Cancel coroutines in DisposableEffect

How it compares

This skill provides specific patterns and best practices for Android UI development using Material Design 3 and Jetpack Compose, unlike general UI design guidelines.

Compared to similar skills

mobile-android-design side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
mobile-android-design (this skill)1012moNo flagsIntermediate
luma-compose-ui028dNo flagsIntermediate
ui-mobile14moNo flagsBeginner
building-ui04moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

More by wshobson

View all by wshobson

Search skills

Search the agent skills registry