kta-compose-optimizer

Analyze a Jetpack Compose @Composable for recomposition hotspots and split opportunities.

4|Updated May 7, 2026
One-click install
npx skills add https://github.com/dantech0xff/dreams --skill kta-compose-optimizer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kta-compose-optimizer
Source: https://github.com/dantech0xff/dreams/tree/main/.agents/skills/kta-compose-optimizer
Command: npx skills add https://github.com/dantech0xff/dreams --skill kta-compose-optimizer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyzes and optimizes a single Jetpack Compose @Composable by identifying recomposition hotspots, missing animations, and splitting opportunities, then orchestrates iterative improvements with user confirmation and delegates implementation to the kta-compose-developer agent for execution.

Core Features & Use Cases

  • Single-Composable analysis to surface recomposition, animation gaps, and hot paths.
  • Interactive optimization loop that lets users choose which optimizations to apply.
  • End-to-end delegation to the kta-compose-developer agent with a final summary of changes.

Quick Start

Provide the path to a single Composable as File.kt::ComposableName (or File.kt and the Composable name) to start analysis.

Frequently Asked Questions about kta-compose-optimizer

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

FAQPage Schema
How do I optimize a Jetpack Compose @Composable for unnecessary recompositions?

To optimize a Jetpack Compose @Composable for unnecessary recompositions, this Skill analyzes the specified function to identify recomposition hotspots, animation gaps, and splitting opportunities, then orchestrates iterative improvements. You confirm each optimization before implementation.

How do I analyze and refactor a single Android Compose function?

To analyze and refactor a single Android Compose function, provide the file path and function name. The Skill identifies performance bottlenecks and delegates the actual code implementation to the kta-compose-developer agent for execution.

What is the best way to find missing animations in a Jetpack Compose UI?

Finding missing animations in a Jetpack Compose UI is handled by analyzing a single @Composable function. The Skill surfaces animation gaps alongside recomposition hotspots and split opportunities, allowing you to interactively choose which gaps to fix.

Can I optimize multiple Composable functions at once with this workflow?

You cannot optimize multiple Composable functions at once. The input must specify exactly one Composable using the File.kt::ComposableName format to proceed, ensuring the analysis and optimization loop focuses on a single target.

Why does my Android Compose UI have performance hot paths and how do I split them?

Android Compose UI performance hot paths are identified by analyzing recomposition hotspots within a single @Composable. The Skill detects split opportunities to break down the function, then delegates the refactoring implementation to the kta-compose-developer agent.