sql-generator

Community

Generate PostgreSQL queries from schema and code.

Authoroctkp
Version1.0.0
Installs0

System Documentation

What problem does it solve?

DB-driven applications often require precise SQL queries that reflect evolving schemas and codebases. This skill analyzes database schemas and application code to generate PostgreSQL-compatible SQL queries that exactly meet user requests such as retrieving specific data, updating records, or generating reports.

Core Features & Use Cases

  • Analyze schema and code to derive precise SQL for a given task.
  • Support for SELECT, INSERT, UPDATE, DELETE, and aggregate queries with proper JOINs and constraints.
  • Use Case: A developer needs a report that lists total sales by month by querying the existing schema and code structure to generate fully-formed SQL.

Quick Start

Generate a PostgreSQL query that lists all users activated in the last 30 days.

Dependency Matrix

Required Modules

None required

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: sql-generator
Download link: https://github.com/octkp/dotfiles/archive/main.zip#sql-generator

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