Go DB — Data skill for Claude Code
Design or implement database/sql + pgx repositories, queries, and transactions.
How to install Go DB
Installs to ~/.claude/commands/dsjacobsen-agent-resources-go-db.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/dsjacobsen/agent-resources/HEAD/.claude/commands/go-db.md -o ~/.claude/commands/dsjacobsen-agent-resources-go-db.md Restart Claude Code, or start a new session, for it to be picked up.
What Go DB does
name: go-db description: Design or implement database/sql + pgx repositories, queries, and transactions
Work on database access in this Go codebase. Ask for:
- Schema context - table(s), columns, constraints (or migration snippets)
- Operations needed - CRUD/list/search, filters, ordering, pagination
- Transaction needs - what must be atomic
- Error expectations - not found vs conflict vs validation
Use the `go-db-builder` agent to implement:
- Repository interface
Alternatives in Data
- SQL Queries — Generate SQL queries from natural language across major dialects 7.8k ★
- Chart Design — Design a chart or data visualization — selects the right chart type, applies accessible color palettes, adds a 309 ★
- MySQL — Safe read-only SQL queries against MySQL databases 159 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Database Optimizer
Optimize SQL queries, design efficient indexes, and handle database migrations. Solves N+1 problems, slow quer
Chronicler
Review database schemas, SQL design, migrations, persistence optimization, and constraints.
Embedded Database
SQLite and DuckDB as application-embedded databases at production scale - PRAGMA discipline, schema migrations
Mssql
Safe read-only SQL queries against Microsoft SQL Server databases.
Csvql
SQL queries for CSV files. The analytical CSV query engine for AI agents cli: csvql.
Analyse Queries
Analyse SQL queries and ORM code for performance issues and missing indexes
Related Agents
Go DB Builder
Designs and implements data access for Go services using database/sql with pgx (driver). Helps build repositor
SQL Performance Reviewer
Use this agent after any change to EF Core queries, repositories, or indexes — before the change ships. Focuse
DB Supabase Expert
Supabase and PostgreSQL expert. Use when working with Supabase projects, writing SQL queries, designing databa