aldefy/compose-skill
Jetpack Compose Agent Skill — AI-powered coding guidance with actual androidx/androidx source code receipts. Works with Claude Code, Codex CLI, Gemini CLI, Cursor, Copilot, Windsurf, and more.
What it solves
AI coding assistants often generate Jetpack Compose code that compiles but contains subtle bugs, such as incorrect state management (remember vs derivedStateOf), unstable recompositions, broken modifier ordering, and hallucinated APIs. This project provides a structured knowledge base that prevents these "vibes-based" guesses by giving AI agents access to verified reference guides and actual source code.
How it works
The project is distributed as a set of Markdown files that can be integrated into various AI coding tools (like Claude Code, Cursor, Copilot, and Windsurf) as a "skill" or rule. It operates in two layers:
- Guidance Docs: 24 reference guides covering specific Compose topics (e.g., state management, performance, navigation, and multiplatform) that map task signals to specific patterns and pitfalls.
- Source Code Receipts: 6 files containing actual Kotlin source code from
androidx/androidxandcompose-multiplatform-core, allowing the agent to verify implementation details instead of guessing.
Who it’s for
Android and Multiplatform developers using AI coding assistants who want to ensure the generated UI code follows production-ready patterns and avoids common Compose performance and stability pitfalls.
Highlights
- Comprehensive Coverage: Includes specialized guides for Android TV, Material 3 motion, Paging 3, and Nav 2 to Nav 3 migration.
- Source-Backed: Uses real source code from official repositories to eliminate API hallucinations.
- Multi-Tool Support: Ready-to-use installation instructions for Claude Code, Cursor, Copilot, Gemini CLI, Windsurf, and Amazon Q.
- Production Focused: Includes a "production crash playbook" with root causes and fixes for common real-world crash patterns.
Related
- Project
- Project
- Project
- Project
- Project