writing-sql

Installation
SKILL.md

Writing SQL

Core principle: Every query you write has an execution plan. Write SQL with that plan in mind, not just the result.

This skill covers only what Claude's defaults miss. Topics already handled by managing-databases/postgres-querying.md (LATERAL, CTE materialization, DISTINCT ON, EXPLAIN red flags, ROWS vs RANGE) are not repeated here.

Topic Navigation

Installs
6
GitHub Stars
127
First Seen
May 6, 2026
writing-sql — rileyhilliard/claude-essentials