MCPInstall

claude-android-ninja

Build and migrate Android apps with Kotlin, Jetpack Compose, MVVM, Hilt, Room 3 (KSP, SQLiteDriver, Flow/suspend DAOs), Navigation3, and multi-module Gradle. Use for new projects or modules, Compose screens and ViewModels, Room 3 and RemoteMediator, API 37 / targetSdk migration, Play Integrity client wiring, offline-first sync, and version-catalog alignment. Not for iOS, Flutter, React Native, KMP-only shared code without an Android app module, or backend-only APIs with no Android client.

Installs
617
Last 24h
+12
Trending rank
#7820
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/drjacky/claude-android-ninja --skill claude-android-ninja
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads claude-android-ninja automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Android Kotlin Compose Development

Context ladder (smaller load first; full references stay complete):

  1. This file (SKILL.md) - routing, stop rules, examples.
  2. references/*-quick.md when listed below - required/forbidden + section links (~40 lines).
  3. One target section in the full references/*.md - code samples and checklists only.
  4. INDEX-sections.md - anchor dump only when quick routing is insufficient.

Forbidden: load INDEX-sections.md or an entire multi-thousand-line reference when one section or a quick file covers the task.

Route tasks through the Quick Reference table. When no row matches, or the task needs greenfield bootstrap: workflows.md. Full file list: INDEX.md.

Required:

  • Existing project: read settings.gradle.kts, gradle/libs.versions.toml, and the app module build file before copying from assets/ - dependencies.md, modularization.md. Stack migrations: migration.md.
  • Greenfield: workflows.md → "Creating a new project?"
  • After module, DI, navigation, Room schema, or AGP/Kotlin/KSP changes: ./gradlew help then :app:assembleDebug (use the real app module name) - gradle-setup.md.

Outside-repo stop rules (do not substitute repo edits): Play upload, tracks, rollout, versionCode - android-ci-cd.md; Play Integrity prerequisites (Console/Cloud setup) - android-security-quick.md; production adb install / pm clear - testing.md.

Quick Reference

Rare or niche topics not listed here are in INDEX.md (complete file list).

TaskReference
Task not in table, greenfield bootstrap, multi-topic setupworkflows.md
Optional Android CLI project discovery, Studio checks, preview, and test-device inspectionworkflows.md ("Using the optional Android CLI for agent workflows?")
Full index of all reference filesINDEX.md
Version catalog, pins, alpha policy, brownfield alignmentdependencies.md
Adding or updating dependencies (catalog aliases)dependencies.md
Multi-module dependenciesdependencies.md
Project structure and modulesmodularization.md
MVVM layers, repositories, DIarchitecture.md
Retrofit / OkHttp, NetworkModule, nullable DTOs, AuthInterceptorarchitecture.md; dependencies.md
DataStore (preferences, typed), Room vs DataStore rulesarchitecture.md
Code formatting (Spotless, spotlessCheck / spotlessApply)assets/convention/QUICK_REFERENCE.md; gradle-setup.md
Compose patterns, motion, animation, modifiers, stabilitycompose-patterns-quick.md
Paging 3 + Room + network (RemoteMediator, remote keys, initialize)compose-patterns.md
Accessibility, TalkBack, label copy, live regions, Espresso a11yandroid-accessibility-quick.md
Notifications, foreground services, MediaStyle, PiP, sharesheetandroid-notifications.md
Media: API 37 background playback, Media3, picking, FileProvider, sharesheetandroid-media.md
Data sync and offline-first patternsandroid-data-sync-quick.md
Material 3 theming, spacing tokens, dynamic colorsandroid-theming-quick.md
Navigation3, deep links, App Links, adaptive layoutsandroid-navigation-quick.md
Kotlin patterns, View lifecycle interopkotlin-patterns.md
Coroutine patterns (StateFlow, Channel, callbackFlow)coroutines-patterns-quick.md
Gradle, product flavors, BuildConfig, build performance, R8gradle-setup.md
Code quality (Detekt convention plugin, CI)code-quality.md
Testing approach (unit, instrumented, Compose UI)testing-quick.md
Internationalization and localizationandroid-i18n.md
Runtime permissions, Photo Picker, API 37 location privacyandroid-permissions.md
Kotlin delegation patternskotlin-delegation.md
Crash reporting (Firebase / Sentry interfaces, PII scrubbing)crashlytics.md
Design patterns (GoF-style, Room FTS)design-patterns-quick.md
Performance, Play Vitals, startup, recomposition, jank, APA, Perfettoandroid-performance.md
Android 17 QPR2 memory budgets on constrained devices (optional)android-performance.md
Debugging, Logcat, ANR, Gradle errors, R8 mapping, memory leaksandroid-debugging.md
Migrations (XML, RxJava, Navigation, Compose, Room 2→3, API 37, 16 KB native, Compose-XML interop)migration.md; 16 KB page size; Compose-XML interop

Examples

Greenfield Android app with convention plugins

User goal: new repo matching the skill stack.

Actions: copy assets/settings.gradle.kts.template, assets/libs.versions.toml.template, assets/convention/ into build-logic/ per assets/convention/QUICK_REFERENCE.md; wire includeBuild("build-logic"); read modularization.md and gradle-setup.md.

Result: root + app + core modules with version catalog and convention plugins applied.

New feature screen (Compose + ViewModel)

User goal: one new flow in a feature module.

Actions: modularization.md for module naming and dependency direction; compose-patterns-quick.md for Screen, state, effects; kotlin-patterns.md + coroutines-patterns-quick.md for StateFlow / events; architecture.md for domain vs data boundaries.

Result: feature module with Screen composable, ViewModel, UiState, and DI aligned to existing graphs.

Offline-first list with Room 3 and remote API

User goal: cached list + network refresh.

Actions: compose-patterns.md for Paging 3 + RemoteMediator; architecture.md for repository placement; Room 3 + SQLiteDriver per workflows.md (Working with databases) and migration.md if upgrading.

Result: single source of truth in Room, UI driven by PagingData or equivalent pattern from the guide.

Target SDK / compile SDK bump (e.g. API 37)

User goal: migrate toolchain and platform requirements.

Actions: walk migration.md; pin AGP/Kotlin/KSP using gradle-setup.md and dependencies.md; cross-check edge-to-edge, media, security per workflows.md (Migrating to target SDK 37).

Result: compileSdk / targetSdk raised with manifest, Gradle, and feature code adjusted per the migration doc.

Troubleshooting

SymptomLikely causeFix
Gradle sync fails, plugin not found, or version catalog errorsMissing google() / mavenCentral(), wrong plugin id, or catalog alias driftgradle-setup.md; align with assets/libs.versions.toml.template when bootstrapping
KSP errors on Room, or Room 3 builder rejects missing driverRoom 3 (template 3.0.3) expects setDriver(BundledSQLiteDriver()) (or project equivalent)migration.md; modularization.md; architecture.md
Unresolved @TypeConverter, or a DAO return type is rejectedRoom 3 renamed it to @ColumnTypeConverter; non-Flow/suspend return types need @DaoReturnTypeConvertersmigration.md
Release-only crash while the class is listed in seeds.txtAGP 9 strictFullModeForKeepRules: -keep class A no longer keeps its constructorandroid-debugging.md; gradle-setup.md
Gradle sync fails right after bumping Compose, nav3, or androidx.hiltThose libraries compile against compileSdk 37 and require AGP >= 9.2.0migration.md; gradle-setup.md
LAN device discovery or a local HTTP call silently fails at target 37ACCESS_LOCAL_NETWORK is required, or use the permissionless NsdManager pickerandroid-permissions.md; migration.md
Background audio is silent with no exceptionAPI 37 audio hardening - no MediaSession, or no mediaPlayback FGSandroid-media.md
Compose runtime warnings about unstable / skippable recompositionsUnstable parameter types or state held incorrectlycompose-patterns-quick.md; android-performance.md; kotlin-patterns.md
Release build crashes, ClassNotFoundException, or missing R8 rulesShrinking removed reflective or JNI entry pointsandroid-debugging.md; gradle-setup.md
ANR or jank claims without evidenceMain-thread or measurement assumptionsandroid-performance.md or Perfetto before architecture changes

FAQ

What does the claude-android-ninja skill do?

Build and migrate Android apps with Kotlin, Jetpack Compose, MVVM, Hilt, Room 3 (KSP, SQLiteDriver, Flow/suspend DAOs), Navigation3, and multi-module Gradle. Use for new projects or modules, Compose screens and ViewModels, Room 3 and RemoteMediator, API 37 / targetSdk migration, Play Integrity client wiring, offline-first sync, and version-catalog alignment. Not for iOS, Flutter, React Native, KMP-only shared code without an Android app module, or backend-only APIs with no Android client.

How do I install claude-android-ninja?

Run npx skills add https://github.com/drjacky/claude-android-ninja --skill claude-android-ninja in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/claude-android-ninja/ (personal) or .claude/skills/claude-android-ninja/ (project).

Which AI agents can use claude-android-ninja?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is claude-android-ninja safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains claude-android-ninja?

It is published by drjacky in drjacky/claude-android-ninja. It has 617 recorded installs.

More from drjacky/claude-android-ninja

View all →

android-kotlin-compose

drjacky/claude-android-ninja

Create production-quality Android applications following Google's official Android architecture guidance with Kotlin, Jetpack Compose, MVVM architecture, Hilt dependency injection, Room database, and multi-module architecture. Triggers on requests to create Android projects, modules, screens, ViewModels, repositories, or when asked about Android architecture patterns and best practices.

Mobile88 installs

Popular mobile skills

View category →

design-mobile-apps

designed-by-ai/skills

Design mobile app screens with Sleek, edit Sleek projects, and implement their designs in React Native or HTML.

Mobile1.1M installs

ios-design

uizze.sh

Design and review iOS UI/UX for iPhone apps in SwiftUI, UIKit, or React Native. Use for mobile app design, screen redesigns, navigation flows, typography, forms, keyboard and safe-area layout, and accessibility checks. Apply Apple Human Interface Guidelines and consult real product references through the optional Uizze connection.

Mobile416.5K installs

vercel-react-native-skills

vercel-labs/agent-skills

React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.

OfficialMobile256.7K installs

animate-expo

emilkowalski/skills

Build animations in React Native and Expo, making the decisions in the order that determines whether they feel right — should it animate, which thread it runs on, which properties, spring or timing, how the gesture hands off, how it degrades. Writes the implementation with Reanimated, Gesture Handler, Expo Router and expo-haptics. Use when animating anything in an Expo app, adding gestures, sheets, screen transitions, press feedback or haptics, or fixing motion that stutters on device. For web animation use animate.

Mobile140.1K installs

xcode-project-setup

firebase/agent-skills

Safely modifies Xcode projects (.pbxproj) to add Swift Packages and link files. Use this skill whenever an iOS project needs dependencies installed (e.g. Firebase, Alamofire).

OfficialMobile131.2K installs

firebase-remote-config-basics

firebase/agent-skills

Manages Firebase Remote Config templates, feature flags, loading strategies, and SDKs (Android, iOS). Use when downloading/deploying remoteconfig JSON templates, managing version history/feature flags, setting in-app defaults, fetchAndActivate(), real-time listeners, or SDK setup. Don't use for Firebase Hosting, Auth, Firestore, Data Connect, Crashlytics, or App Hosting.

OfficialMobile121.7K installs