golang-database
Comprehensive guide for Go database access — parameterized queries, struct scanning, NULLable columns, transactions, isolation levels, SELECT FOR UPDATE, connection pool, batch processing, context propagation, and migration tooling. Use when writing, reviewing, or debugging Golang code that interacts with PostgreSQL, MariaDB, MySQL, or SQLite; for database testing; or for questions about database/sql, sqlx, or pgx.…
- installs 8w
- 4,697
- 30-day movement
- starts with the next reading
- Related entries
- 1
- Connections
- 1
An agent skill that is a comprehensive guide for Go database access with database/sql, sqlx, and pgx, covering parameterized queries, struct scanning, NULLable columns, transactions, connection pools, and migrations. It explicitly does not generate database schemas or migration SQL.
You reach for it when writing, reviewing, or debugging Go code that talks to PostgreSQL, MariaDB, MySQL, or SQLite and want established patterns instead of improvising.
Use it to
- Review Go code for parameterized query usage
- Debug transactions and SELECT FOR UPDATE locking
- Set up struct scanning with NULLable columns
- Check context propagation and connection pool settings
- Answer questions about database/sql, sqlx, or pgx
For Go developers writing or reviewing database-backed code
- Host repository
- samber/cc-skills-golang
- Version
- 1.3.2
- Installs, lifetime
- 39k
- Installs, 8 weeks
- 4,697
- Allowed tools
- Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent AskUserQuestion
- Compatible with
- Designed for Claude Code, Codex or similar harness, and for projects using Golang.
- Licence
- MIT
- Invocable by
- user
- Host stars
- 3,292
- Host language
- Go