GRDB & SQLite Performance Auditor
Audits Swift codebases for GRDB and SQLite performance bottlenecks, security risks, and multi-process correctness.
This skill acts as an expert agent to detect performance and correctness anti-patterns in GRDB-based Swift applications. It scans for critical issues such as SQL injection in raw queries, missing foreign key indexes, and misconfigured App Group database sharing that can lead to production crashes. Designed specifically for modern xOS development, it also identifies Swift 6 concurrency violations and legacy record patterns, providing actionable fixes to ensure database reliability and speed in production environments.
主要功能
01Audits App Group configurations for WAL mode and 0xDEAD10CC suspension prevention
02Identifies missing foreign key indexes in raw SQL migrations to prevent slow JOINs
03971 GitHub stars
04Detects SQL injection risks in raw string interpolation and parameter binding
05Verifies PRAGMA optimize implementation for database query planner health
06Scans for Swift 6 non-Sendable concurrency violations in database definitions
使用场景
01Pre-release performance and safety scans of GRDB-backed iOS and macOS applications
02Modernizing legacy GRDB code for Swift 6 strict concurrency and Sendable conformance
03Auditing multi-process database sharing between a host app and its system widgets