SKILL

sql-queries

Generate SQL queries from natural language descriptions. Supports BigQuery, PostgreSQL, MySQL, and other dialects. Reads database schemas from uploaded diagrams or documentation. Use when writing SQL, building data reports, exploring databases, or translating business questions into queries.

Target: Databases. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original English text

Topics in the source

  • SQL Query Generator
  • Purpose
  • How It Works
  • Step 1: Understand Your Database Schema
  • Step 2: Process Your Request
  • Step 3: Generate Optimized Query
  • Step 4: Explain and Test
  • Usage Examples

Transform natural language requirements into optimized SQL queries across multiple database platforms. This skill helps product managers, analysts, and engineers generate accurate queries without manual syntax work. If you provide a schema file (SQL, documentation, or diagram description), I will read and analyze it Extract table names, column definitions, data types, and relationships Identify primary keys, foreign keys, and indexing strategies Clarify the exact data you need to retrieve or analyze Confirm the SQL dialect (BigQuery, PostgreSQL, MySQL, Snowflake, etc.) Ask for any additional requirements (filters, aggregations, sorting) Write efficient SQL that leverages your database structure Include comments explaining complex logic Add performance considerations for large datasets Provide alternative approaches if applicable Explain the query logic in plain English Suggest how to test or validate results Offer tips for performance optimization If you want, generate a test script or sample data Example 1: Query from Schema File Example 2: Query from Diagram Description Example 3: Complex Analysis Query Multi-Dialect Support: Works with BigQuery, PostgreSQL, MySQL, Snowflake, SQL

This is an excerpt. Refer to the complete source and its current requirements.

Source repository
phuryn/pm-skills
Source file
pm-data-analytics/skills/sql-queries/SKILL.md
Fixed revision
9af7bfd0bc47fdad43c2eaa7a43cd13918e7aaef
Read the complete original documentation ↗

Requirements

  • Only the author’s Skill metadata is included. Read the full instructions to check dependencies, licensing and conditions of use.

A small first task

先阅读原作者说明,再决定是否在自己的 AI 工具中使用。

Instructions for your AI tool

Author documentation is not live verification by this site. Without evidence, we do not mark a resource as compatible, safe or free.

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: phuryn/pm-skills · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T16:01:01.565Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.