compose-reuse-checker
CommunityEnsure Compose screens reuse your shared UI kit
Authoryoufengknight
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It helps you quickly detect when a Jetpack Compose screen hardcodes UI styles or bypasses your shared theme/components, which leads to inconsistent design and lower maintainability.
Core Features & Use Cases
- Theme compliance checking: Verifies whether the screen uses LegadoTheme and required page-level color functions instead of hardcoded colors.
- Reusable component usage audit: Flags missing usage of project components such as GlassCard/TextCard, AppModalBottomSheet, TopFloatingStickyItem, and CheckboxItem.
- MaterialTheme consistency review: Ensures proper use of MaterialTheme.colorScheme and MaterialTheme.typography for standard components.
- Use Case: Before refactoring a Compose screen, run this to confirm it already follows the project’s reuse and theming conventions to avoid redundant work.
Quick Start
Use compose-reuse-checker on the target Compose .kt file (the one containing @Composable functions) to get a report of incorrect theme usage, missing shared components, and actionable migration suggestions.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: compose-reuse-checker Download link: https://github.com/youfengknight/Android-Code-Skills/archive/main.zip#compose-reuse-checker Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.