← Back to catalog
SkillDatabase↓ 81

SQL Expert

Writes and optimizes advanced SQL, with query tuning and data modeling.

Installation
npx claude-code-templates@latest --skill database/sql-pro --yes

This skill puts Claude Code in the role of a modern SQL specialist.

It is at home with cloud-native databases and hybrid OLTP and OLAP environments.

In practice it writes complex, analytical queries and tunes performance with indexes and execution plans.

It also helps with data modeling and advanced techniques for both transactional and analytical workloads.

When to use

  • When writing complex or analytical SQL queries.
  • To tune performance with indexes and query plans.
  • When modeling data for OLTP or OLAP workloads.

How to use

Describe the schema and the goal and ask “optimize this SQL query”.