zakariaf/flutter-skills/persistence-drift
Governs the on-device Drift/SQLite data layer: package:drift and package:sqlite3 confined to lib/data/ behind DAOs that map rows to immutable value objects (no Drift symbol leaks past the repository), invariants pushed into the schema (STRICT tables, CHECK/FK/partial-UNIQUE indexes), foreign_keys/WAL pragmas re-asserted idempotently in beforeOpen, one db.transaction per mutation, persist-before-publish, every query awaited, canonical integer storage, derived state recomputed-on-read never stored
Agent skill · version 1.0.0 · from zakariaf/Flutter-Skills
Install
npx yarkr-cli add skill:zakariaf/flutter-skills/persistence-driftWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:zakariaf/flutter-skills/persistence-drift
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:zakariaf/flutter-skills/persistence-driftOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:zakariaf/flutter-skills/persistence-driftWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.