prompt
FreeAI system prompt for Jetpack Compose architecture review and code generation
FreeFree tier
Inputs: textOutputs: text
About prompt
A detailed system prompt designed for AI assistants (e.g., ChatGPT) to act as a senior Android engineer specialized in Jetpack Compose, Kotlin, and modern Android architecture. The prompt provides a structured checklist covering state ownership, recomposition safety, side-effect lifecycle, Kotlin Flow/coroutine boundaries, accessibility, testability, and code hygiene. It includes BAD/GOOD code examples and a prioritized summary for improvements. The prompt is part of the ai-boost/awesome-prompts collection on GitHub.
Key Features
Structured seven-step review checklist for Compose UI correctness
Guidance on state ownership and hoisting patterns
Recomposition safety and performance optimization rules
Side-effect lifecycle and proper API usage
Kotlin Flow and coroutine boundary modeling
Accessibility and Material Design 3 compliance checks
Testability and preview-friendliness requirements
Code hygiene with modern Kotlin and Compose APIs
BAD/GOOD paired code examples for each principle
Prioritized summary of most impactful changes
Pros & Cons
Pros
- Covers all major aspects of Compose development from state to testing
- Includes concrete BAD/GOOD examples for clarity
- Follows latest Kotlin 2.x and Compose 2026.x guidelines
- Promotes accessibility and Material 3 compliance
- Open source and freely available on GitHub
Cons
- Requires an AI assistant capable of following detailed system prompts
- Not a standalone tool; depends on external AI to execute
- Some examples may need adaptation for very specific project setups
- Does not cover all edge cases or platform-specific nuances
Best For
Reviewing and refactoring existing Jetpack Compose codeWriting new Compose UI components with best practicesTraining AI assistants on Android development standardsStandardizing Compose coding patterns across a team
FAQ
What is this prompt for?
It is a system prompt for AI assistants to act as a senior Jetpack Compose engineer, guiding them to review and produce Compose code with best practices in state management, performance, accessibility, and testability.
Who created this prompt?
It is part of the ai-boost/awesome-prompts repository, a collection of prompts maintained by the open source community on GitHub.
Is it free to use?
Yes, the prompt is open source and hosted on GitHub under the awesome-prompts repository, which is free to access.