Exhaustive Android memory leak prevention skill for writing leak-free code across View-based and Jetpack Compose UI systems.
“데이터, 분석, 리서치” 분야의 스킬이에요. Claude Code, Codex, OpenCode 외 32개 에이전트용 명령이 준비돼 있어요.
전체 설명
Exhaustive Android memory leak prevention skill for writing leak-free code across View-based and Jetpack Compose UI systems. Use this skill whenever writing, reviewing, or auditing Android code that involves: Fragment or Activity lifecycle and ViewBinding (onDestroyView, _binding null), Context usage in singletons or long-lived objects (applicationContext vs Activity context), static fields or companion objects holding Views or Activities, listeners, observers, or BroadcastReceivers without symmetric unregistration, LiveData or Flow collection in Fragments (viewLifecycleOwner, repeatOnLifecycle), ViewModel holding UI references or callbacks, coroutine scopes (GlobalScope, CoroutineScope, viewModelScope, lifecycleScope), resource management (Cursor, InputStream, MediaPlayer, Bitmap, SQLite), custom Views (onDetachedFromWindow, animators, bitmaps), Handler and Runnable with postDelayed, WebView lifecycle, Hilt or DI scope alignment, or any Jetpack Compose memory concerns (remember, DisposableEffect, LaunchedEffect, rememberCoroutineScope, RememberObserver, LocalContext, composable lambdas in ViewModels). Also trigger for detection and tooling questions: LeakCanary setup, Android Studio Memory Profiler, heapprofd, Perfetto heap graphs, ApplicationExitInfo OOM detection. Trigger even for casual phrasings like "why is my app crashing with OOM", "is this a memory leak", "should I use applicationContext here", "how do I clean up in onDestroyView", or "my Activity is leaking". Covers Android API levels 21 through 35+.
Skill
데이터, 분석, 리서치
에이전트 35개
13 스타
라이선스 미표기
이 항목의 출처는 GitSkills 오픈 데이터셋(CC-BY-4.0)이에요. ANG은 이 스킬을 실행하거나 감사하지 않았어요. 설치하기 전에 소스를 확인하세요.