compose-architecture-review

Analyze Jetpack Compose UI architectures and propose MVVM/MVI patterns.

3|Updated Jan 27, 2026
One-click install
npx skills add https://github.com/Desquared/agents-rules-skills --skill compose-architecture-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: compose-architecture-review
Source: https://github.com/Desquared/agents-rules-skills/tree/main/Android/skills/compose-architecture-review
Command: npx skills add https://github.com/Desquared/agents-rules-skills --skill compose-architecture-review

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Jetpack Compose UI architectures can drift into tangled, multi-layer patterns; this Skill analyzes existing Compose screens and ViewModel interactions to propose clear, scalable MVVM/MVI or alternative architectures.

Core Features & Use Cases

  • Architecture assessment: evaluate Compose UI hierarchy, state management, and navigation for maintainability.
  • Refactoring guidance: provide concrete steps to restructure screens, ViewModels, and repositories.
  • Pattern recommendations: suggest MVVM, MVI, or other suitable architectures based on the codebase.
  • Code-quality validation: highlight anti-patterns and guardrails to improve testability and scalability.

Quick Start

Provide the path to the Android project and ask for an architectural review of the current Jetpack Compose UI and ViewModel structure.

Frequently Asked Questions about compose-architecture-review

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

FAQPage Schema
How do I review Jetpack Compose architecture for maintainability?

To review Jetpack Compose architecture, analyze the UI hierarchy, state management, and navigation to identify tangled patterns and propose clear MVVM or MVI structures. This process highlights anti-patterns and validates scalability guardrails for your Android project.

What is the best way to refactor Compose UI for MVVM or MVI?

The best way to refactor Compose UI for MVVM or MVI is to assess existing ViewModel interactions and provide concrete steps to restructure screens and repositories. This ensures clear state-management practices and scalable architecture for Android Compose projects.

How do I validate state management in Android Compose projects?

To validate state management in Android Compose projects, analyze ViewModel interactions and UI hierarchy to highlight anti-patterns. This validates testability and enforces guardrails to ensure scalable MVVM or MVI architecture.

When do I need to restructure ViewModels in Jetpack Compose?

You need to restructure ViewModels in Jetpack Compose when architectures drift into tangled, multi-layer patterns. Analyzing existing screens helps propose clear MVVM or MVI alternatives to restore maintainability and validate state-management practices.

Can I use MVI instead of MVVM for my Jetpack Compose app?

Yes, you can use MVI instead of MVVM for Jetpack Compose apps when the codebase requires it. Analyzing the existing UI hierarchy and state management suggests MVI or alternative patterns to satisfy specific structural and scalability guardrails.