Generate SQL queries from natural language
write-querycommandsetup L1★11,239
phuryn/pm-skills ↗What it does
Generate SQL queries for data exploration
Best for
Quickly drafting SQL exploratory queries without manual syntax lookup.
Inputs
- · Question/description of data need
- · Table names and schema hints
- · Optional: example data or context
Outputs
- · SQL query (ready to run)
- · Query explanation
- · Optional: follow-up query suggestions
Requires
- · SQL database (implied, user runs the query)
Preconditions
- · Database credentials available to user
- · User understands SQL syntax
- · Schema is known or discoverable
Failure modes
- · Generated query may have syntax errors (depends on DB dialect)
- · Query may be inefficient or timeout on large tables
- · Column names or table names may be guessed wrong (no schema introspection)
- · Complex joins may over/under-aggregate
Trust signals
- · SQL template generation
- · Explanation of query intent
- · Follow-up query suggestions for deeper drilling