android-feature-scaffold

Scaffold Android features with Clean Architecture, MVI, Compose, and Hilt.

1|1|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/Cure-Consulting-Group/ProductEngineeringSkills --skill android-feature-scaffold
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: android-feature-scaffold
Source: https://github.com/Cure-Consulting-Group/ProductEngineeringSkills/tree/main/skills/android-feature-scaffold
Command: npx skills add https://github.com/Cure-Consulting-Group/ProductEngineeringSkills --skill android-feature-scaffold

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the creation of new Android features, ensuring adherence to best practices and architectural patterns, thereby accelerating development and maintaining code quality.

Core Features & Use Cases

  • Automated Scaffolding: Generates a complete feature structure including domain, data, and presentation layers.
  • Architectural Consistency: Enforces Clean Architecture, MVI, Jetpack Compose, and Hilt.
  • Use Case: When starting a new user profile screen in an Android app, use this Skill to generate all the necessary files and boilerplate code, allowing developers to focus on business logic immediately.

Quick Start

Generate a new Android feature named 'UserProfile' with the feature name 'UserProfile'.

Frequently Asked Questions about android-feature-scaffold

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

FAQPage Schema
How do I scaffold a new Android feature with Jetpack Compose and Clean Architecture?

To scaffold an Android feature, this generator creates domain models, DTOs, repositories, use cases, ViewModels, and Compose screens. It enforces Clean Architecture and MVI patterns to separate business logic and accelerate development.

Can I generate Hilt modules and navigation registration for an MVI feature automatically?

Yes, automated scaffolding generates Hilt modules and navigation registration alongside your MVI feature. It creates the necessary dependency injection boilerplate and integrates the new Compose screen into your app's navigation graph.

What is the best way to structure domain, data, and presentation layers in an Android app?

Structuring layers via Clean Architecture separates domain logic, data sources, and presentation. This Skill generates this structure by creating use cases for domain mediation, repositories for data, and ViewModels for presentation.

Does Android feature scaffolding include unit test scaffolds and accessibility support?

Yes, feature scaffolding includes unit test scaffolds and enforces accessibility rules. It also generates Compose previews and handles loading states and error handling to ensure robust UI code from the start.

Do I need Kotlin Coroutines and Flow to use MVI scaffolding for Jetpack Compose?

Yes, Kotlin Coroutines and Flow are required as the scaffolding uses them for asynchronous data streaming and state management within the MVI architecture. The generated ViewModels leverage Flow to observe and emit UI states.

When should I avoid automated scaffolding for an Android feature?

Avoid automated scaffolding for features requiring highly custom architectural patterns outside Clean Architecture or MVI. It is designed for standard Jetpack Compose and Hilt setups, so heavily customized dependency injection or UI patterns may require manual generation.