Goal
A language-sql skill encodes SQL query and schema engineering idioms so agents give principled guidance when working with relational databases.
Motivation
SQL is orthogonal to all other language skills — it appears inside Python, Go, TypeScript, and Java codebases alike. No language skill currently covers SQL. Agents default to training-data patterns when evaluating query efficiency, transaction isolation, or window function usage.
Surface
Sketch (optional)
File: skills/language-sql/SKILL.md
Key topics:
- Query optimization fundamentals (index usage, avoid
SELECT *, predicate pushdown)
EXPLAIN/EXPLAIN ANALYZE reading
- Schema design: normalization, foreign keys, constraint placement
- Transaction isolation levels and their practical implications
- Deadlock avoidance patterns
- Window functions:
ROW_NUMBER, RANK, LAG, LEAD — when and how
- CTEs vs subqueries: readability and performance tradeoffs
- Pagination patterns (keyset vs offset)
Acceptance (optional)
Goal
A
language-sqlskill encodes SQL query and schema engineering idioms so agents give principled guidance when working with relational databases.Motivation
SQL is orthogonal to all other language skills — it appears inside Python, Go, TypeScript, and Java codebases alike. No language skill currently covers SQL. Agents default to training-data patterns when evaluating query efficiency, transaction isolation, or window function usage.
Surface
language-*Sketch (optional)
File:
skills/language-sql/SKILL.mdKey topics:
SELECT *, predicate pushdown)EXPLAIN/EXPLAIN ANALYZEreadingROW_NUMBER,RANK,LAG,LEAD— when and howAcceptance (optional)
skills/language-sql/SKILL.mdexists with valid frontmatterscripts/validate.pypasses