anhvt52

Jetpack Compose Skills — Development skill for Claude Code

Development community

Agent skill for modern Android development with Jetpack Compose — best practices for code generation and review.

How to install Jetpack Compose Skills

This entry records only its repository, not the path inside it, so there is no exact command to give. Open anhvt52/jetpack-compose-skills and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Jetpack Compose Skills does

Agent skill for modern Android development with Jetpack Compose — best practices for code generation and review.

Alternatives in Development

  • Lamda — The most powerful Android RPA agent framework, next generation mobile automation 7.7k ★
  • Axiom — Battle-tested Claude Code skills for modern xOS (iOS, iPadOS, watchOS, tvOS) development with 13 production-re 2.6k ★
  • SwiftUI Expert Skill — Modern SwiftUI best practices and iOS 26+ Liquid Glass adoption 2.3k ★

README

Modern Jetpack Compose — Agent Skill

An agent skill for writing, reviewing, and reasoning about modern Android UI code using Jetpack Compose. Compatible with Claude Code, Cursor, Codex, and any platform that supports the Agent Skills format.

![Claude Code](https://img.shields.io/badge/Claude_Code-supported-blueviolet?logo=anthropic) ![Cursor](https://img.shields.io/badge/Cursor-supported-blue?logo=cursor) ![Codex](https://img.shields.io/badge/Codex-supported-green?logo=openai) ![Gemini](https://img.shields.io/badge/Gemini-supported-orange?logo=google)


Why This Skill?

LLMs frequently generate outdated or incorrect Jetpack Compose code. Common problems:

  • Wrong state collection — using collectAsState() instead of collectAsStateWithLifecycle()
  • Unstable recomposition — passing unstable lambdas or undecorated data classes that cause unnecessary redraws
  • Ignored Scaffold padding — forgetting to apply paddingValues from Scaffold's content lambda, causing content to render under system bars
  • Stale APIs — referencing accompanist libraries that have since been upstreamed into Compose, or Material 2 APIs that have Material 3 equivalents
  • Architecture drift — mixing state hoisting patterns or bypassing the UDF model

This skill gives your AI agent a curated, up-to-date reference for all of these areas so it generates correct, idiomatic Compose code from the start.


What It Does

Load this skill to give your AI agent deep knowledge of modern Jetpack Compose best practices. It helps agents:

  • Generate idiomatic Compose code from scratch
  • Review existing code for deprecated APIs, anti-patterns, and accessibility gaps
  • Guide architecture decisions around state management, navigation, and performance

Skill Coverage

Reference File Topics Covered
api.md Deprecated APIs → modern replacements, Material 2 → 3, accompanist migrations
composables.md Naming conventions, state hoist