Generated banner for Mobile Android Design
Generated logo for Mobile Android Design

Mobile Android Design

Seth HobsonCommunityCreated by Seth Hobson

  • Skill
  • Tool integration
  • Software development
  • MIT
  • No issues found

From the author

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.
— the description by Seth Hobson

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

This skill provides a comprehensive guide to building native Android interfaces using Jetpack Compose and Material Design 3. It covers essential UI components, navigation patterns, and best practices for creating responsive, accessible, and performant Android applications. The content includes practical code examples for common UI elements like lists, forms, and navigation structures, alongside guidance on state management and theming.

What it does

  • Provides patterns for implementing Material Design 3 components and theming.
  • Demonstrates building UI layouts using Jetpack Compose.
  • Explains type-safe navigation implementation with Navigation Compose.
  • Offers best practices for state management and recomposition performance.
  • Includes examples for common UI patterns like lazy lists, swipe-to-dismiss, and forms.
  • Covers accessibility considerations for Android interface design.

When to use it

  • When designing or building native Android application interfaces.
  • When implementing modern UI components using Jetpack Compose.
  • When migrating or adopting Material Design 3 guidelines in an Android project.
  • When setting up navigation flows in a Compose-based Android app.
  • When optimizing Android UI for different screen sizes and configurations.

Advantages

  • Promotes consistent UI design using official Material 3 standards.
  • Provides ready-to-use code snippets for common Android UI components.
  • Encourages best practices for performance and state management in Compose.
  • Facilitates the creation of adaptive and accessible Android layouts.

Usage examples

“How do I implement a list with swipe-to-dismiss functionality in Jetpack Compose?”
The skill provides a SwipeableItem component example using SwipeToDismissBox and rememberSwipeToDismissBoxState to handle deletion logic.
“Show me how to set up type-safe navigation between screens in my Android app.”
The skill demonstrates using @Serializable objects and data classes with NavHost and composable functions to manage navigation routes.

Install

  1. Download the skill as a ZIP:

    https://mp-staging.autogineer.com/agent-skills/wshobson/mobile-android-design/download
  2. Unzip it into the cross-client skills folder of your project:

    mkdir -p .agents/skills && unzip mobile-android-design.zip -d .agents/skills

Documentation by Seth Hobson

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

Files

ATTRIBUTION.md

Attribution

This folder is an unmodified copy of the Agent Skill "mobile-android-design", distributed by AutoGineer (https://autogineer.com/agent-skills).

The skill's own files are unmodified copies. AutoGineer is not affiliated with or endorsed by the author or the publisher.

Files added by AutoGineer

  • ATTRIBUTION.md: this file, written by AutoGineer

  • LICENSE: copied from LICENSE

Requirements and compatibility

Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

Security

No issues found by our static scan· No issues found

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

Created by
Seth Hobson
Publisher
Seth Hobson (Community)
Source
wshobson/agents · plugins/ui-design/skills/mobile-android-design · commit 4bde316
Licence
MIT License (redistribution allowed)
  • LICENSE (added by AutoGineer from LICENSE)
  • ATTRIBUTION.md (written by AutoGineer)
Synced

AutoGineer is not affiliated with or endorsed by Seth Hobson.

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download mobile-android-design.zip