calcosmic/aether/kotlin
Claude Code and agent skill by calcosmic/aether
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Use when the project uses Kotlin for Android development, backend services, or Kotlin Multiplatform
Install
npx vskill@latest install calcosmic/aether/kotlinSKILL.md
The same SKILL.md was published earlier as calcosmic/aether/kotlin.
Kotlin/Android Best Practices
Jetpack Compose
- Build UI with composable functions; keep each composable small, stateless, and reusable
- Hoist state to the caller: accept
(value: T, onChange: (T) -> Unit)parameters instead of internalremember - Use
ViewModelwithStateFloworCompose StateFlow(collectAsStateWithLifecycle) for screen-level state - Apply
MaterialThemeand typography systems consistently; define custom theme extensions in athemepackage - Use
LazyColumn/LazyRowwithkeyfor efficient list rendering; avoid nested scrolling conflicts
Coroutines and Flow
- Use
viewModelScope.launchfor ViewModel-driven async work; it cancels automatically on ViewModel clearance - Prefer
StateFlowfor hot state streams andSharedFlowfor one-to-many events (snackbars, navigation) - Apply
flowOn(Dispatchers.IO)for upstream work; collect onDispatchers.Mainin Android - Use
suspendfunctions for single async operations; useFlowfor streams of values - Handle cancellation cooperatively: use
ensureActive()oryield()in long-running loops
KMP Shared Modules
- Structure multiplatform projects with
shared,androidApp, andiosAppmodules - Use
expect/actualfor platform-specific implementations; keep the actual implementations minimal - Share ViewModels, repositories, and domain logic across platforms; keep UI layer native per platform
- Use
kotlinx.serializationfor JSON handling across all targets instead of platform-specific libraries - Test shared code in the
commonTestsource set usingkotlin-testorkotlinx-coroutines-test
Android Architecture Components
- Follow the data layer -> domain layer -> UI layer pattern; use
Repositoryas the single source of truth - Use
Roomfor local persistence with@Entity,@Dao, and@Databaseannotations - Apply
HiltorKoinfor dependency injection; annotate ViewModels with@HiltViewModel - Use
WorkManagerfor guaranteed background execution;ForegroundServiceonly when user-visible - Handle lifecycle with
Lifecycle-aware components; userepeatOnLifecycle(STARTED)for Flow collection
Testing
- Write unit tests with
kotlinx-coroutines-testusingrunTest; useTestDispatcherto control timing - Use Turbine for Flow testing:
testFlow.test { assertEquals(expected, awaitItem()) } - Instrumentation tests with
androidx.testfor UI: usecompose:testRulefor Compose testing - Apply
given/when/thennaming convention; mock with MockK for Kotlin-native mocking
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.aether/skills/domain/kotlin/SKILL.md
Popularity
- Repository stars
- 9
- Repository forks
- 1
- 7-day trend score
- 17
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 16 Nov 2026, 14 days ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/calcosmic/aether/kotlin)