b2c-android-analyze-module

Parses Kotlin Android modules to map structure, ViewModels, Screens, navigation, and API usage into a structured report.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/herren-official/product-agents --skill b2c-android-analyze-module
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: b2c-android-analyze-module
Source: https://github.com/herren-official/product-agents/tree/main/skills/b2c-Android/analyze-module
Command: npx skills add https://github.com/herren-official/product-agents --skill b2c-android-analyze-module

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Quickly map and understand an Android module's structure, including ViewModel design, Screen definitions, and API usage, to accelerate onboarding, review, and documentation.

Core Features & Use Cases

  • Analyze module layout under feature/$ARGUMENTS/ or core/$ARGUMENTS/ to identify components such as Screens, ViewModels, Contracts, and Navigation.
  • Summarize key design patterns (BaseIntentViewModel, init blocks, apiFlow, slackFlow, UiState fields) and highlight cross-module references.
  • Produce a concise, actionable module analysis report suitable for PR notes, documentation, or planning sessions.

Quick Start

Run the analysis by passing the module name (for example: shop-detail) to generate a structured module analysis report that highlights structure and core behaviors.

Frequently Asked Questions about b2c-android-analyze-module

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

FAQPage Schema
How do I analyze an Android module's ViewModel and screen structure for onboarding?

To analyze an Android module's ViewModel and screen structure, pass the module name to parse Kotlin sources from the feature or core folders, identifying BaseIntentViewModel inheritance, UiState fields, and navigation maps to generate a structured onboarding report.

What is the best way to map Kotlin codebase patterns like apiFlow and slackFlow in an Android feature module?

Mapping Kotlin codebase patterns like apiFlow and slackFlow is done by scanning the module's init blocks and ViewModel inheritance structures, which produces a concise summary of API usage and core design behaviors for code review.

Can I generate documentation for core Android modules that lack explicit PRD notes?

Yes, you can generate documentation for core Android modules lacking PRD notes because the analysis parses Kotlin sources directly to map structure and link to PRD notes if they are present, outputting a report regardless.

Does Android module structure analysis work for both feature and core directory layouts?

Android module structure analysis works for both feature and core directory layouts by parsing Kotlin sources specifically from the feature/ARGUMENTS or core/ARGUMENTS paths to identify components like Screens, ViewModels, and Contracts.

How do I identify cross-module references and test status across Android ViewModels?

Identifying cross-module references and test status across Android ViewModels requires parsing the module's Kotlin sources to detect UiState fields, navigation maps, and test configurations, resulting in a structured analysis report.

Why should I use automated module analysis instead of manually reviewing Kotlin source files?

Automated module analysis accelerates understanding of Kotlin source files by instantly mapping BaseIntentViewModel inheritance, init blocks, and navigation maps, reducing manual effort compared to reading code line by line for documentation.