sql-tutor

Community

NL to SQL: translate, optimize, explain.

Authorhaomingz
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill translates natural language requirements into SQL queries using embedded schema context to generate accurate, executable statements.

Core Features & Use Cases

  • NL→SQL translation: convert plain language prompts into executable SQL tailored to SQLite or PostgreSQL.
  • Query optimization: analyze SQL for common anti-patterns and suggest performance improvements.
  • Explain plan interpretation: parse and summarize EXPLAIN results to highlight bottlenecks and index usage.
  • Use Case: For a data analyst, convert a business question into a SQL query and get optimization and explain plan in one step.

Quick Start

Ask it to translate a natural language requirement into SQL and to optimize the query and explain its execution plan.

Dependency Matrix

Required Modules

psycopg2-binary

Components

scripts

💻 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-tutor
Download link: https://github.com/haomingz/kimi-skills/archive/main.zip#sql-tutor

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.