android-persistence
БесплатноБез исполняемых скриптовНе проверенStandards for Room Database and DataStore. Use when implementing Room database schemas or DataStore preferences in Android. (triggers: **/*Dao.kt…
от ComeOnOliver★ 67 звёзд на GitHubОб этом скилле
Android Persistence Standards
Priority: P0
Implementation Guidelines
Room
- Async: Return
Flow<List<T>>for queries, usesuspendfor Write/Insert. - Entities: Keep simple
@Entitydata classes. Map to Domain models in Repository. - Transactions: Use
@Transactionfor multi-table queries (Relations).
DataStore
- Usage: Replace
SharedPreferenceswithProtoDataStore(Type-safe) orPreferencesDataStore. - Scope: Inject singleton instance via Hilt.
Anti-Patterns
- No IO on Main Thread: Room handles dispatchers, but verify Flow is collected off-main.
- No @Entity in UI Layer: Map to Domain or UI models in Repository.
References
Установить android-persistence в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл android-persistence?
Standards for Room Database and DataStore. Use when implementing Room database schemas or DataStore preferences in Android. (triggers: **/*Dao.kt, **/*Database.kt, **/*Entity.kt, @Dao, @Entity, RoomDatabase)
Как установить скилл android-persistence?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл android-persistence запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic