
Sql Queries
Turns natural language into SQL queries across BigQuery, PostgreSQL, MySQL, and other dialects. You upload a schema file or describe your tables, then ask for what you need in plain English. It generates the query with comments, explains the logic, and suggests performance optimizations. Honestly most useful when you're working with an unfamiliar database or need to quickly translate a business question into a complex join without looking up syntax. The multi-dialect support is handy if you're jumping between different databases. It can also generate test scripts and sample data, which beats manually writing those out.
- skills.sh installs
- 2.9K
- GitHub stars
- 27.8K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add phuryn/pm-skills --skill sql-queries --agent claude-codeInstalls into .claude/skills of the current project.
Files
SQL Query Generator
Purpose
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.
How It Works
Step 1: Understand Your Database Schema
- 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
Step 2: Process Your Request
- 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)
Step 3: Generate Optimized Query
- Write efficient SQL that leverages your database structure
- Include comments explaining complex logic
- Add performance considerations for large datasets
- Provide alternative approaches if applicable
Sponsors
Details
- Repository
- github.com/phuryn/pm-skills
- Categories
- Backend & APIs, Documentation, Databases
- First seen
- May 16, 2026
More from phuryn/pm-skills
All 68- Beachhead Segment2.9K
- Job Stories2.9K
- Ansoff Matrix2.9K
- Gtm Motions2.9K
- Sprint Plan2.9K
- User Segmentation2.8K
- Dummy Dataset2.8K
- Wwas2.8K
- Retro2.8K
- Draft Nda2.8K
- Intended Vs Implemented1.9K
- Shipping Artifacts1.8K
- Create Prd11.1K
- Pre Mortem10.5K
- Prioritization Frameworks10.2K
- Outcome Roadmap10.1K
- Strategy Red Team9.5K
- Competitor Analysis4.1K
- Business Model3.9K
- Privacy Policy3.7K
- Brainstorm Ideas New3.5K
- User Stories3.4K
- Startup Canvas3.4K
- Gtm Strategy3.3K