# maxrave/data-layer-footguns

Room/SQLite, DataStore and repository traps: migrations, NOT IN with NULLs, LIKE escaping, delete order, local-time bucketing, imports, caching, paging. Use before writing a query or migration, or when data comes back wrong.

- Author: Minh Nguyen (https://app.skillsync.com/maxrave)
- Price: Free
- Version: 1

## Files

- LICENSE (35149 bytes)
- SKILL.md (17273 bytes)
- references/bucket-local-time-in-code-not-in-sql.md (6895 bytes)
- references/bulk-json-import-progress.md (7343 bytes)
- references/cache-then-network.md (6299 bytes)
- references/cascading-delete-ordering.md (6624 bytes)
- references/clean-satellite-at-transition.md (5050 bytes)
- references/continuation-token-pagination-contract.md (7356 bytes)
- references/datastore-kmp-manager.md (7911 bytes)
- references/encoded-continuation-tokens-local-sort.md (8593 bytes)
- references/first-ever-not-first-in-window.md (6884 bytes)
- references/generic-paged-db-accumulator.md (6451 bytes)
- references/import-format-contract-design.md (8704 bytes)
- references/inclusive-period-boundaries-and-offset-reset.md (7638 bytes)
- references/like-wildcard-escaping-ids.md (5486 bytes)
- references/local-listening-analytics.md (8323 bytes)
- references/mirror-local-state-to-a-remote-account.md (8322 bytes)
- references/order-preserving-section-mapping.md (5615 bytes)
- references/remote-index-cached-as-rows-with-validator.md (7498 bytes)
- references/repository-flow-conventions.md (7234 bytes)
- references/room-kmp-setup.md (7732 bytes)
- references/room-migrations-at-scale.md (8980 bytes)
- references/room-rawquery-readonly-vacuum.md (5092 bytes)
- references/search-over-a-paged-list-queries-the-source.md (7604 bytes)
- references/sql-not-in-nullable-trap.md (5023 bytes)
- references/stored-timestamp-is-a-local-wall-clock.md (8179 bytes)
- references/ttl-keyed-json-cache-lenient-decode.md (6543 bytes)
- references/unbounded-for-shares-capped-for-lists.md (6746 bytes)

## How to use it

1. Connect the Skillsync MCP server: https://app.skillsync.com/mcp (OAuth sign-in).
2. Add it to your library: https://app.skillsync.com/maxrave/data-layer-footguns
3. Load it with the get_skill tool: `get_skill("maxrave/data-layer-footguns")`, then follow its instructions.
