What problem does it solve? Go database code often hides injection risks, leaked connections, unhandled ErrNoRows cases, and unconfigured connection pools. This Skill enforces explicit, parameterized SQL with proper resource management, error translation, and transaction boundaries so integrity bugs do not reach production. ## Core Features & Use Cases - Explicit SQL patterns: Parameterized queries with driver placeholders, sqlx.In for dynamic IN clauses, and allowlists for dynamic column names across PostgreSQL, MySQL, MariaDB, and SQLite. - Resource and error discipline: Mandatory rows.Close(), rows.Err() checks, ErrNoRows translation to domain errors, and context propagation through every call. - Transactions and performance: BeginTx patterns, isolation levels, SELECT FOR UPDATE locking, connection pool tuning, batch sizing, and cursor-based pagination. - Use Case: When reviewing a Go service that queries PostgreSQL, use this Skill to catch string-concatenated SQL, missing context propagation, and default pool settings before they cause incidents. ## Quick Start Ask the AI to review your Go repository layer for SQL injection risks, connection leaks, and missing transaction boundaries using the go-database skill.