write-query

Official

Write optimized SQL for any dialect.

Authoranthropics
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill translates natural language requests into optimized SQL queries, ensuring data accuracy and efficient retrieval across various database dialects.

Core Features & Use Cases

  • SQL Generation: Writes SQL from plain English descriptions.
  • Dialect Optimization: Tailors queries for PostgreSQL, Snowflake, BigQuery, and more.
  • Best Practice Adherence: Employs CTEs, proper aliasing, and performance-focused filtering.
  • Use Case: Generate a BigQuery SQL query to find the top 10 most active users in the last 30 days, including their signup date and last login.

Quick Start

Write a SQL query to count the number of orders placed yesterday.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: write-query
Download link: https://github.com/anthropics/knowledge-work-plugins/archive/main.zip#write-query

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.