Kotlin android architecture

From VincentChuWaiChow/vanguard-frontier-agentic · View interactive version

Kotlin android architecture is an AI agent skill from the GitHub repository VincentChuWaiChow/vanguard-frontier-agentic. Use this skill to statically review Android app architecture correctness: ViewModel lifecycle and scoping across configuration changes, SavedStateHandle persistence across process death, lifecycle-aware Flow collection (repeatOnLifecycle/collectAsStateWithLifecycle/flowWithLifecycle), and unidirecti

How to use this skill

Skill file

kotlin-android-architecture

Purpose

This skill decides whether Android app architecture is safe to ship. An architecture is safe only when ViewModel state survives configuration changes without leaking a Context/View reference, state that must survive process death is persisted via SavedStateHandle, Flow collection tied to the UI pauses while backgrounded, and state flows down from a single source of truth while events flow up without back-channel mutation.

Trigger conditions

When not to use

Lean operating rules

References

Load these only when needed:

Response minimum

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.