Individual skill
write-query
Write optimized SQL for your dialect with best practices. Use when translating a natural-language data need into SQL, building a multi-CTE query with joins and aggregations, optimizing a query against a large partitioned table, or getting dialect-specific syntax for Snowflake, BigQuery, Postgres, etc.
plugins/knowledge-work-data/skills/write-query/SKILL.md
Source commit c567ae426d55fa498e919fc0f5a37c582d5c7a2c
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- Yes
- Observed behavior
- Not checked yet
- Last checked
- Nov 7, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 27
- Repository last updated
- Jul 20, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- agent-skills Repository topic
- automation Repository topic
- awesome-list Repository topic
- claude-code Repository topic
- claude-skills Repository topic
- codex Repository topic
- codex-skills Repository topic
- cursor Repository topic
- cursor-ai Repository topic
- developer-tools Repository topic
- data Derived category
- data-databases Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 5,005 bytes
Read excerpt
# /write-query - Write Optimized SQL
> If you see unfamiliar placeholders or need to check which tools are connected, see [CONNECTORS.md](../CONNECTORS-data.md).
Write a SQL query from a natural language description, optimized for your specific SQL dialect and following best practices.
## Usage
```
/write-query <description of what data you need>
```
## Workflow
### 1. Understand the Request