What problem does it solve?
This Skill eliminates the tedious, error-prone work of writing raw SQL queries and managing database schemas, relations, and migrations in Go projects, freeing you to focus on application logic instead of low-level database plumbing.
Core Features & Use Cases
- Full ORM & Query Builder: Define models with struct tags, build type-safe CRUD queries, and manage relations (has-one, has-many, many-to-many) without hand-written SQL.
- Migrations & Seeding: Automate schema versioning with Go or SQL migrations, and load test data with YAML fixtures that support cross-references and templating.
- Use Case: Imagine you're building a Go SaaS platform with PostgreSQL. Use this Skill to quickly define user and order models, set up relational queries, and run versioned database migrations without writing boilerplate SQL.
Quick Start
Use the go-bun skill to set up a PostgreSQL-connected Go service with user model CRUD operations and soft delete support.