sqlc-go

Community

Automate Go SQL, focus on logic, not boilerplate.

Authorm-brady
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Writing SQL queries and manually mapping them to Go structs is error-prone and time-consuming. This Skill automates Go code generation from SQL, ensuring type safety and significantly reducing boilerplate, so you can focus on application logic.

Core Features & Use Cases

  • Type-Safe Go Code Generation: Automatically generates Go code from your SQL queries, eliminating manual mapping errors and ensuring robust database interactions.
  • PostgreSQL Best Practices: Provides expert guidance on advanced PostgreSQL features like JSONB, arrays, Common Table Expressions (CTEs), and window functions.
  • Migration Management: Seamlessly integrates with golang-migrate for robust and reversible database schema evolution, simplifying your development workflow.
  • Use Case: Need to add a new feature requiring complex database interactions? This Skill helps you define your SQL, generate the Go code, and manage schema changes effortlessly, letting you focus on building features, not fighting with ORMs.

Quick Start

Help me configure sqlc for a new Go project using PostgreSQL and generate a query to list users by email.

Dependency Matrix

Required Modules

sqlcgolang-migratepgx

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: sqlc-go
Download link: https://github.com/m-brady/claude-plugins/archive/main.zip#sqlc-go

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.