sqlcsql

sqlc is an SQL compiler that generates type-safe Go, Python, Kotlin, and TypeScript code from plain SQL queries. Write SQL and run sqlc to obtain compile-time type-safe database access functions without using an ORM, reflection, or runtime query construction.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "sqlcsql" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-dc5c7ccf5ebd7261d8488eff82130905ad49987ef9903385203d7e71545df6f9. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/sqlc-type-safe-sql-code-generator before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

sqlc is an SQL compiler that generates type-safe Go, Python, Kotlin, and TypeScript code from plain SQL queries. Write SQL and run sqlc to obtain compile-time type-safe database access functions without using an ORM, reflection, or runtime query construction.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "sqlc 类型安全的 SQL 代码生成器"
slug: "sqlc-type-safe-sql-code-generator"
version: "1.0.0"
displayName: "sqlc 类型安全的 SQL 代码生成器"
summary: "sqlc 是一个 SQL 编译器,可以从纯 SQL 查询中生成类型安全的 Go、Python、Kotlin 和 TypeScript 代码。你编写 SQL,运行 sqlc,就能获得完全类型的数据库访问函数,具有编译时安全性——无需 ORM,无需反射,无需运行时查询构建。"
license: "MIT"
description: "sqlc 是一个 SQL 编译器,可以从纯 SQL 查询中生成类型安全的 Go、Python、Kotlin 和 TypeScript 代码。你编写 SQL,运行 sqlc,就能获得完全类型的数据库访问函数,具有编译时安全性——无需 ORM,无需反射,无需运行时查询构建。"
github_stars: 17275
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
category: "Developer Tools"
framework: "Claude Code"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 17275

sqlc 类型安全的 SQL 代码生成器

sqlc is a SQL compiler that generates type-safe Go, Python, Kotlin, and TypeScript code from plain SQL queries. You write SQL, run sqlc, and get fully typed data access functions with compile-time safety — no ORM, no reflection, no runtime query building.

Installation

Requirements and caveats from upstream:

Basic usage or getting-started notes:

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value75/100

Highlights

  • 提供类型安全的 SQL 代码生成能力,解决开发者实际痛点
  • 支持多种主流编程语言(Go/Python/Kotlin/TypeScript)
  • 无需 ORM 即可获得编译时安全性
Trigger Precision85/100

Highlights

  • 触发描述清晰完整,准确传达核心功能
  • description 位置正确,内容无截断
Structure and Standards60/100

Areas to improve

  • 缺少 When to Use 使用场景说明 Reported severity: Minor

    文档中缺少明确的使用场景和适用条件说明

    Recommendation: 补充 When to Use 章节,说明适合使用该工具的具体场景

  • 缺少端到端完整示例 Reported severity: Minor

    仅有外部链接,缺少本地可执行的完整示例

    Recommendation: 提供本地端到端示例,展示从 SQL 到生成代码的完整流程

  • 缺少步骤划分和出口条件 Reported severity: Minor

    执行流程缺少明确的步骤划分和完成条件

    Recommendation: 将使用流程划分为清晰的 Phase,并定义每个阶段的出口条件

Highlights

  • 包含基本的 Installation 和 Source 信息
  • 提供了上游文档链接
Execution Reliability65/100

Areas to improve

  • 缺少异常处理和错误处理说明 Reported severity: Minor

    未说明常见错误情况和对应的处理方法

    Recommendation: 补充异常处理章节,说明可能遇到的错误及解决方案

  • 缺少参数验证机制 Reported severity: Minor

    未说明输入参数的验证规则和限制条件

    Recommendation: 明确参数验证规则,提供参数格式要求和限制说明

Highlights

  • 工具来源明确,GitHub 仓库信息完整
  • 提供了基本的使用指引和上游文档链接
Evidence Verifiability (mean of the first four)71/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • conroy.org
  • github.com
  • play.sqlc.dev
  • raw.githubusercontent.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.