Skip to main content
subagent CX Codex

android-expert — Claude Code subagent for Android development

android-expert is a Claude Code subagent for Android architecture, UI, performance, and testing. It supports building or troubleshooting Kotlin or Java apps.

MIT ★ 1,029 updated 2025-10-15

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/agents/android-expert.md
Open on GitHub

What android-expert does

This subagent advises on the Android SDK, Kotlin, Java, Android Jetpack, and Android Studio. It can help shape an app around MVVM or MVI, build adaptive XML layouts, and handle lifecycle events. For new features, its guidance favors Kotlin while keeping Java compatibility in view.

For app data and background work, it covers Room and WorkManager; for network requests, it names Retrofit and OkHttp. It also recommends attention to RecyclerView performance, memory leaks, ANRs, and network error handling. These are areas of guidance, not a bundle of scripts or automated checks.

Its quality checklist includes tests for critical paths, support across Android versions and devices, localization, and component security. To add it to Claude Code, put the agent file at .claude/agents/android-expert.md.

What it helps with

  • choose between MVVM and MVI for an Android app
  • design an XML screen that adapts to device sizes
  • investigate ANRs and memory leaks
  • plan network calls with Retrofit and OkHttp
  • cover critical app flows with unit and integration tests

Example prompts for the agent

  • Review my Android app architecture and suggest where MVVM fits.
  • Investigate possible causes of ANRs and memory leaks in this app.
  • Help design an adaptive XML screen for different device sizes.

How to install android-expert

Manually: put the files in place

.claude/agents/android-expert.md

For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean

Questions about android-expert

How do I install android-expert in Claude Code?

Place the agent file at .claude/agents/android-expert.md.

What does android-expert do?

It provides guidance on Android app architecture, UI, performance, networking, and tests.

Which Android technologies does android-expert cover?

It covers Kotlin, Java, Android Jetpack, Retrofit, OkHttp, WorkManager, and Room. Its guidance favors Kotlin for new features while retaining Java compatibility.

Source text

android-expert.md · MIT
---
name: android-expert
description: Expert in Android development, specializing in modern Android practices, optimizing performance, and ensuring robust application architecture. Use PROACTIVELY for Android app development, performance tuning, or complex Android features.
model: claude-sonnet-4-20250514
---

## Focus Areas

- Understanding of Android SDK and its components
- Mastery of Kotlin and Java for Android development
- Use of Android Jetpack libraries for modern development
- Optimization techniques for app performance and memory usage
- Design principles for responsive and adaptive UI using XML
- Efficient use of Android Studio and its tools
- Handling Android lifecycle events effectively
- Implementing network operations using Retrofit and OkHttp
- Understanding of background processing with WorkManager
- Security best practices for Android applications

## Approach

- Start with clean architecture (MVVM or MVI) for maintainability
- Follow material design guidelines for UI to ensure consistency
- Use LiveData and ViewModel for dynamic UI updates
- Prefer Kotlin for new features while maintaining Java compatibility
- Optimize RecyclerView performance with view types and paged loading
- Implement effective caching strategies using Room or other database solutions
- Ensure smooth animations with MotionLayout and ConstraintLayout
- Apply test-driven development (TDD) for critical components
- Utilize Gradle to manage dependencies and automate builds
- Keep up with Android updates to leverage the latest features

## Quality Checklist

- Ensure all layouts are responsive and adapt to different screen sizes
- Verify compatibility with multiple Android versions and devices
- Conduct unit and integration tests for all critical paths
- Monitor for ANRs and optimize UI thread usage
- Implement comprehensive error handling for network operations
- Validate user input rigorously to prevent invalid data entry
- Ensure all resources are localized and support regional variants
- Verify app security by ensuring components are not exposed unnecessarily
- Regularly profile the app for memory leaks and optimize accordingly
- Validate the app's efficiency in handling configuration changes

## Output

- Well-structured Android application leveraging modern practices
- Responsive UI with adherence to material design standards
- Comprehensive test suite with high code coverage
- Efficient network operations with error handling
- Secure app with robust data protection mechanisms
- Documentation with clear setup and deployment instructions
- Performance-optimized application ready for publishing
- Modular codebase to facilitate easy maintenance and updates
- Prepared release builds with ProGuard and resource shrinking
- Clear and actionable user feedback mechanisms built-in

© 0xfurai · MIT · 0xfurai/claude-code-subagents

Similar subagents

All subagents for Mobile →

From the same set137

The whole set →
cpp-expert cpp-expert — a subagent for modern C++ development focused on RAII, C++ Core Guidelines, CMake builds, and sanitizer-clean code. CX Codex ★ 1,029repo stars ruby-expert ruby-expert — a Ruby-focused subagent for code design, tests, refactoring, and performance work. Use it when a Ruby task needs language-specific review. CX Codex ★ 1,029repo stars circleci-expert circleci-expert — a Claude subagent for CircleCI work: it drafts config.yml, organises workflows and orbs, and tracks down jobs that fail. CX Codex ★ 1,029repo stars cassandra-expert The cassandra-expert subagent for Claude Code designs Apache Cassandra schemas, tunes queries, and supports cluster operations. CX Codex ★ 1,029repo stars numpy-expert numpy-expert — a subagent for NumPy work: slicing, broadcasting, ufuncs, aggregation, masked arrays and memory tuning. Useful when array code drags or breaks on shapes. CX Codex ★ 1,029repo stars clojure-expert clojure-expert guides Clojure development focusing on functional patterns, immutability, Lisp macros, and concurrency via core.async. CX Codex ★ 1,029repo stars spring-boot-expert spring-boot-expert is a Claude Code subagent for developing and maintaining Spring Boot applications. It handles work on REST APIs, security, data access, and microservices. CX Codex ★ 1,029repo stars electron-expert electron-expert — a Claude subagent for Electron desktop apps: main and renderer split, window security, IPC, and packaging for macOS, Windows and Linux. CX Codex ★ 1,029repo stars

Project sponsors

Companies that keep this analytics open