android-dev-core

Guide Android feature development with Clean Architecture and MVI patterns.

Updated Nov 26, 2025
One-click install
npx skills add https://github.com/est7/agent-tool --skill android-dev-core
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: android-dev-core
Source: https://github.com/est7/agent-tool/tree/main/cfg/templates/skills/android-dev-core
Command: npx skills add https://github.com/est7/agent-tool --skill android-dev-core

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

这个 Skill 提供 Android 功能开发的核心规范,帮助团队统一架构、降低学习曲线、提升代码质量,节省开发时间。

Core Features & Use Cases

  • 统一架构:遵循 Clean Architecture、MVI、ViewModel 与 UI State 的单向数据流,降低耦合。
  • 基础规范:Base 类、Adapter、网络请求等通用模式,便于快速实现新功能。
  • 适用场景:任何 Android 功能开发场景都可加载本 Skill,快速建立稳健基础。

Quick Start

使用本 Skill 加载 Android 核心规范后,创建一个新功能模块时直接应用本模板的架构和导法。

Frequently Asked Questions about android-dev-core

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure Android features using clean architecture with MVI pattern?

Clean architecture with MVI organizes Android features into domain, data, and presentation layers. MVI (Model-View-Intent) enforces unidirectional data flow through ViewModel and UI State, reducing coupling and making features predictable. This Skill provides templates and base classes to apply these patterns consistently across your project.

What's the best way to handle asynchronous operations in Android with coroutines?

Use suspend functions and callbackFlow for coroutine-based async operations in Android. Suspend functions provide readable sequential code, while callbackFlow bridges callback-based APIs into coroutine streams. This Skill includes patterns for integrating these into your ViewModel and data layer.

How do I implement unidirectional data flow in Android using ViewModel and UI State?

ViewModel holds UI State and exposes it as an observable stream; the UI observes State changes and emits Intents back to ViewModel. This one-way cycle prevents state mutations from UI, improves testability, and eliminates race conditions. This Skill provides base ViewModel classes and State management patterns ready to use.

Can I use this architecture pattern for any Android feature development?

Yes. This Skill applies to any Android feature project implementing clean architecture. It standardizes domain, data, and presentation layers across your codebase, lowering the learning curve and reducing inconsistency whether you're building new features or refactoring existing ones.

What coding standards does this follow for Android and Kotlin?

This Skill adheres to the Android Kotlin Style Guide and API Design Guidelines, with comprehensive in-code documentation and English-to-Chinese annotations. It prioritizes native Android tools and idiomatic Kotlin, ensuring your code is maintainable and consistent with platform best practices.

How does this reduce development time for new Android features?

Standardized base classes, Adapter patterns, and network request templates eliminate boilerplate and decision fatigue. By providing proven architecture upfront, teams skip design debates and jump directly to feature logic, accelerating delivery while maintaining robustness.