tsq

Community

Build type-safe Go SQL queries without handwritten strings.

Authortmoeish
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill eliminates the tedious, error-prone work of manually writing and maintaining raw SQL string helpers in Go projects, reducing runtime database errors and boilerplate code for data access layers.

Core Features & Use Cases

  • Typed Query DSL: Compose SQL queries using a fluent, compile-time type-safe API that catches invalid column references and query structure errors before runtime.
  • Automated Code Generation: Generate table metadata, CRUD helpers, pagination, and search utilities directly from annotated Go structs using @TABLE or @RESULT annotations.
  • Use Case: A Go service managing e-commerce order data can annotate Order and Product structs, generate all required database helpers, and build complex paginated, filtered queries with joins and transactions without writing raw SQL.

Quick Start

Use the tsq skill to add type-safe SQL querying to your Go project by annotating your database structs with @TABLE, running the tsq fmt and tsq gen commands, and building queries with the fluent TSQ DSL.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: tsq
Download link: https://github.com/tmoeish/tsq/archive/main.zip#tsq

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 537,000+ vetted skills library on demand.