compose-conventions

Define Android Jetpack Compose conventions for architecture, navigation, theming, and performance.

Updated Apr 12, 2026
One-click install
npx skills add https://github.com/RedBoardDev/Strakk --skill compose-conventions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: compose-conventions
Source: https://github.com/RedBoardDev/Strakk/tree/main/.claude/skills/compose-conventions
Command: npx skills add https://github.com/RedBoardDev/Strakk --skill compose-conventions

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It provides consistent conventions and best practices for building Android apps with Jetpack Compose, promoting code quality and maintainability.

Core Features & Use Cases

  • Design Pattern Guidelines: Defines route, screen, and content separation, including lifecycle-aware state collection.
  • Navigation Standards: Details the migration from Navigation 2 to Navigation 3, with sample implementations.
  • UI & Theming: Outlines Material 3 theming, edge-to-edge setup, and expressive component usage for dynamic interfaces.
  • Performance: Emphasizes composition optimization, skipping, and lazy list enhancements for smooth UI experiences.
  • Security & Safety: Advises on safe insets handling and secure component composition.
  • Code Style: Recommends best practices like trailing commas, organizing components, and preview usage.

Quick Start

Follow the conventions in your Compose modules to structure routings, handle insets, apply theming, and optimize performance for a robust Android UI.

Frequently Asked Questions about compose-conventions

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

FAQPage Schema
What are the best practices for Jetpack Compose architecture and state collection?

Jetpack Compose architecture best practices involve separating route, screen, and content layers while utilizing lifecycle-aware state collection to ensure app stability and maintainable code.

How do I migrate from Navigation 2 to Navigation 3 in an Android Compose app?

Migrating to Navigation 3 in Android Compose requires following standardized navigation conventions, which provide detailed sample implementations for updating your routing structure.

How do I apply Material 3 theming and edge-to-edge setup in Jetpack Compose?

Applying Material 3 theming and edge-to-edge setup in Jetpack Compose involves using standardized expressive components and handling safe insets correctly for dynamic interfaces.

How can I optimize Jetpack Compose performance and reduce unnecessary recompositions?

Optimizing Jetpack Compose performance requires focusing on composition skipping, enhancing lazy lists, and applying modern API features to ensure smooth UI experiences.

Does this Compose development convention support complex navigation and secure component composition?

Yes, these Compose development conventions support complex navigation and secure component composition by advising on safe insets handling and secure composition practices.