Skill

Jetpack Compose Agent Skill

AI coding guidance for Jetpack Compose with 13 reference guides and actual androidx source code receipts.

Android 231 stars Updated 2 weeks ago

When to Use

You're building Android UI with Jetpack Compose and want your AI coding assistant to generate correct patterns for state, navigation, performance, and modifiers instead of guessing.

Use Cases

  1. Get correct remember/derivedStateOf/rememberSaveable usage instead of AI guessing wrong state primitives
  2. Generate type-safe navigation with @Serializable route classes instead of deprecated string-based routes
  3. Fix LazyColumn scroll jank with proper key{}, stability annotations, and deferred reads
  4. Apply correct modifier ordering and avoid clickable-before-padding bugs

Installation

Claude Code (personal)
git clone https://github.com/aldefy/compose-skill.git /tmp/compose-skill
mkdir -p ~/.claude/skills
cp -r /tmp/compose-skill/jetpack-compose-expert-skill ~/.claude/skills/
Claude Code (project)
git clone https://github.com/aldefy/compose-skill.git /tmp/compose-skill
mkdir -p .claude/skills
cp -r /tmp/compose-skill/jetpack-compose-expert-skill .claude/skills/
Cursor
Create .cursor/rules/compose-skill.mdc pointing to jetpack-compose-expert-skill/SKILL.md

Prerequisites

  • Claude Code, Cursor, Copilot, Codex CLI, Gemini CLI, or Windsurf

Related Tools

Explore More