Android Deprecation and Migration
Manages technical debt by facilitating safe API deprecations, SDK version bumps, and incremental library migrations for Android projects.
This skill provides a production-grade framework for evolving Android codebases while minimizing regression risks. It guides AI agents through the lifecycle of code removal, from implementing Kotlin's @Deprecated annotation with automated replacement suggestions to executing complex 'strangler pattern' migrations for libraries like Glide to Coil or XML to Jetpack Compose. Whether you are bumping minSdk versions or phasing out legacy modules, this skill ensures structural integrity through phased rollouts, feature flags, and comprehensive cleanup checklists.
Key Features
01Incremental 'Strangler Pattern' framework for large-scale library migrations
021 GitHub stars
03Checklists for safe minSdk and targetSdk version upgrades
04Automated Kotlin @Deprecated annotation implementation with ReplaceWith guidance
05Systematic cleanup of dead code, legacy feature flags, and adapter layers
06Step-by-step guidance for migrating from XML layouts to Jetpack Compose
Use Cases
01Modernizing a legacy Android app from Java/XML to Kotlin/Compose
02Replacing deprecated internal APIs with modern alternatives across large modules
03Bumping the minimum SDK version and removing obsolete compatibility code