android-room/SKILL.md
Comprehensive Room database skill for Android — entities, DAOs, relations, migrations, conflict resolution, FTS4, views, paging, SQLCipher, and testing. Built from Mark Murphy's "Elements of Android Room". Use alongside android-data-persistence for full offline-first architecture.
npx skillsauth add peterbamuhigire/skills-web-dev android-roomInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
android-room or would be better handled by a more specific companion skill.SKILL.md first, then load only the referenced deep-dive files that are necessary for the task.Three core components:
@Entity (data classes) → @Dao (SQL + suspend/Flow) → @Database (registry + builder)
↓ ↑
TypeConverters @Transaction wrappers
Room generates SQLite boilerplate at compile time via KSP. All writes are suspend; reactive reads return Flow.
val roomVersion = "2.6.1"
implementation("androidx.room:room-runtime:$roomVersion")
implementation("androidx.room:room-ktx:$roomVersion")
ksp("androidx.room:room-compiler:$roomVersion") // KSP, NOT kapt
implementation("androidx.room:room-paging:$roomVersion") // optional, Paging 3
testImplementation("androidx.room:room-testing:$roomVersion")
testImplementation("app.cash.turbine:turbine:1.1.0") // Flow testing
// Plugin: id("com.google.devtools.ksp") version "2.0.0-1.0.21"
// Schema: ksp { arg("room.schemaLocation", "$projectDir/schemas") }
Extended guidance for android-room was moved to references/skill-deep-dive.md to keep this entrypoint compact and fast to load.
Use that deep dive for:
3. Entities4. TypeConverters5. DAOs6. Database Class7. Relations8. Transactions9. Conflict Resolution10. Migrations11. Full-Text Search (FTS4)12. Database Views13. Paging 314. Pre-Populated Databasesdata-ai
Use when adding AI-powered analytics to a SaaS platform — semantic search over business data, natural language queries, trend detection, anomaly alerts, and AI-generated insights for dashboards. Covers embeddings, NL2SQL, and per-tenant analytics...
data-ai
Design AI-powered analytics dashboards — what metrics to show, how to display AI predictions and confidence, drill-down patterns, KPI cards, trend visualisation, AI Insights panels, export design, and role-based dashboard variants. Invoke when...
development
Use when designing, building, reviewing, or upgrading production software systems that must be secure, performant, maintainable, scalable, and user-centered. Apply before writing specs, code, architecture, APIs, databases, mobile apps, SaaS platforms, or ERP systems.
development
Professional web app UI using commercial templates (Tabler/Bootstrap 5) with strong frontend design direction when needed. Use for CRUD interfaces, dashboards, admin panels with SweetAlert2, DataTables, Flatpickr. Clone seeder-page.php, use...