GRDB SQLite for Swift

•
61
•

Implements type-safe SQLite database layers, complex SQL queries, and reactive data observation using GRDB.swift.

This skill equips Claude with specialized knowledge for GRDB.swift, enabling the development of powerful, type-safe SQLite database layers in iOS and macOS applications. It provides expert guidance on crafting complex raw SQL queries, managing schema migrations with DatabaseMigrator, and implementing reactive data updates via ValueObservation. By leveraging this skill, developers can ensure high-performance data persistence with proper indexing and query profiling using EXPLAIN QUERY PLAN, bridging the gap between high-level Swift code and raw SQLite power.

主な機能

01Type-safe Record protocol implementation (Codable, Fetchable, Persistable)
02Reactive data patterns and SwiftUI integration using ValueObservation
03Performance profiling and optimization using EXPLAIN QUERY PLAN
04Complex SQL query generation including window functions and 4+ table joins
05Sequential database migration management with DatabaseMigrator
0661 GitHub stars

ユースケース

01Building high-performance local storage for data-intensive iOS/macOS applications
02Managing complex schema evolutions through versioned, sequential migrations
03Creating reactive user interfaces that automatically sync with SQLite data changes