/write-query - Write Optimized SQL If you see unfamiliar placeholders or need to check which tools are connected, see CONNECTORS.md. Write a SQL query from a natural language description, optimized for your specific SQL dialect and following best practices. Usage Workflow 1. Understand the Request Parse the user's description to identify: - Output columns : What fields should the result include? - Filters : What conditions limit the data (time ranges, segments, statuses)? - Aggregations : Are there GROUP BY operations, counts, sums, averages? - Joins : Does this require combining multiple tab…