android-kotlin-studio

Align Android Kotlin edits with repository architecture and validate via Gradle tasks.

Updated Feb 19, 2026
One-click install
npx skills add https://github.com/rotnitxe/KPKNFit --skill android-kotlin-studio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: android-kotlin-studio
Source: https://github.com/rotnitxe/KPKNFit/tree/main/android-kotlin-studio
Command: npx skills add https://github.com/rotnitxe/KPKNFit --skill android-kotlin-studio

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

It reduces the risk and guesswork of making real Android code changes by enforcing repository-aware patterns, smallest-possible diffs, and validation steps tailored to Gradle, UI (Compose/Views), lifecycle, state, and Android-specific failure modes.

Core Features & Use Cases

  • Repository-aware Android editing: Inspects module layout, build tooling, async/state primitives (Flow/StateFlow/LiveData), and architecture (ViewModel/repositories/use cases) before proposing or applying changes.
  • Risk-aware Gradle and Android validation: Selects narrow, relevant assemble/compile/test/lint tasks using validation matrices and Android failure patterns to catch manifest/resource/navigation/generated-code issues early.
  • Compose and mixed UI safety: Applies Compose-specific review guidance (effect keys, state ownership, lifecycle-safe collection) and keeps interop localized in mixed Compose + Views repositories.

Quick Start

Use the android-kotlin-studio skill to diagnose and fix the Android build or runtime issue in the current repository with the smallest safe code and Gradle changes, then validate with the narrowest appropriate command.

Frequently Asked Questions about android-kotlin-studio

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

FAQPage Schema
How do I make safe Android Kotlin changes without breaking existing architecture?

Safe Android Kotlin changes require inspecting the repository's module layout, UI stack, and build tooling first, then applying minimal reversible edits and validating with narrow Gradle tasks mapped to Android failure patterns.

What is the best way to debug Android manifest and Gradle build issues?

Debugging Android manifest and Gradle build issues involves selecting narrow, relevant assemble, compile, test, and lint tasks using validation matrices and Android failure patterns to catch manifest, resource, and generated-code problems early.

How do I fix Compose state collection and lifecycle issues in a mixed UI repository?

Fixing Compose state collection involves applying Compose-specific review guidance for effect keys, state ownership, and lifecycle-safe collection while keeping interop localized in mixed Compose and Views repositories.

Can I use this approach for ViewModel and StateFlow fixes in production Android apps?

Yes, you can use this approach for ViewModel and StateFlow fixes in production Android apps by aligning edits with existing async and state primitives before proposing or applying modifications.

Why does my Gradle validation fail after making a small Kotlin UI edit?

Gradle validation may fail after a Kotlin UI edit if broad build tasks are run instead of narrow, relevant assemble or compile tasks selected through validation matrices designed to catch Android-specific failure modes early.

Do I need to inspect repository context before modifying Gradle dependencies?

Yes, you need to inspect repository context including module layout and build tooling before modifying Gradle dependencies to ensure changes align with the repository's existing architecture and state primitives.