compose

Map Jetpack Compose usage contexts to androidx source references and patterns.

Updated Mar 17, 2026
One-click install
npx skills add https://github.com/kotlinknight/NutriSoloAndroid --skill compose-kotlinknight
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: compose
Source: https://github.com/kotlinknight/NutriSoloAndroid/tree/main/.agents/skills/compose
Command: npx skills add https://github.com/kotlinknight/NutriSoloAndroid --skill compose-kotlinknight

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Jetpack Compose development often presents ambiguous guidance and scattered patterns; this Skill provides structured, actionable guidance anchored to official references to help developers implement correct, efficient Compose code across state management, modifiers, navigation, and theming.

Core Features & Use Cases

  • Non-opinionated, practical guidance for writing correct, performing Jetpack Compose code.
  • Leverages live androidx source references to verify patterns and offer concrete solutions for common pitfalls (state hoisting, side effects, composition locals, navigation, and theming).
  • Ideal for hands-on code reviews, debugging, and upgrading legacy Compose code to modern patterns.

Quick Start

Use this skill to diagnose a Compose issue by presenting a minimal reproducible snippet and asking for a corrected implementation following official references.

Frequently Asked Questions about compose

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

FAQPage Schema
How do I fix unnecessary Jetpack Compose recomposition issues in my Android app?

Fix unnecessary Jetpack Compose recomposition by applying correct state hoisting and stable parameter patterns. This skill maps your runtime context to official androidx source references, identifying performance pitfalls and offering concrete, actionable code corrections.

What is the best way to structure state management in Jetpack Compose?

The best way to structure state management in Jetpack Compose involves unidirectional data flow and proper state hoisting. This skill provides non-opinionated guidance anchored to live compose/runtime source files to help you implement correct and efficient state patterns.

How do I implement side effects correctly in Jetpack Compose?

Implement side effects correctly in Jetpack Compose by matching your specific UI context to appropriate effect-handling patterns. This skill identifies your use case and cites relevant androidx references to ensure safe composition lifecycle management.

Can I use this to review legacy Jetpack Compose code and navigation patterns?

Yes, you can use this to review legacy Jetpack Compose code and navigation patterns. By presenting a minimal reproducible snippet, the skill diagnoses issues and upgrades your implementation to modern patterns using live compose/navigation source references.

Does this Jetpack Compose guidance include Material3 theming and accessibility considerations?

Yes, this Jetpack Compose guidance includes Material3 theming and accessibility considerations. It maps runtime and UI theming questions to official androidx material3 source files, providing actionable patterns for modern Android app development.

Why does my Jetpack Compose UI state fail to update correctly?

Your Jetpack Compose UI state fails to update correctly due to improper state hoisting or composition local usage. This skill analyzes your snippet against official compose/runtime references to identify state management anti-patterns and provide corrected implementations.