skills/duckdb/SKILL.md
Use when writing DuckDB SQL, using .duckdb files, duckdb imports, analytical queries, CSV/Parquet/JSON ingestion, ETL pipelines, extensions, client APIs, configuration, or performance tuning.
npx skillsauth add cofin/flow duckdbInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
DuckDB is an in-process analytical database with rich SQL dialect, first-class support for Parquet/CSV/JSON, and client APIs for Python, Node.js, Rust, Java, R, Go, WASM, and more. It excels at OLAP workloads, local data exploration, embedded analytics, and data engineering pipelines across local and cloud data sources.
For detailed guides and patterns, refer to the following documents in references/:
SELECT * EXCLUDE (col) -- select all columns except specific onesSELECT COLUMNS('pattern') -- select columns matching a regexPIVOT / UNPIVOT -- built-in pivot supportLIST, STRUCT, MAP nested types with full query supportGROUP BY ALL, ORDER BY ALL -- automatic grouping/orderingFROM tbl SELECT col syntax, implicit SELECT *import duckdb
con = duckdb.connect() # in-memory
result = con.sql("SELECT 42 AS answer").fetchall()
# CLI
duckdb mydb.duckdb "SELECT * FROM read_parquet('data/*.parquet')"
</example>
Add guardrails instructions here. </guardrails>
<validation> ## ValidationAdd validation instructions here. </validation>
development
Use when tracing execution paths, mapping dependencies, understanding unfamiliar code, following data flow, investigating end-to-end behavior, debugging call chains, or deciding which files to read next.
development
Use when reviewing authentication, authorization, user input, secrets, API keys, database queries, file uploads, session management, external API calls, OWASP risks, or data handling attack surface.
testing
Use when analyzing tradeoffs, comparing approaches, weighing options, assessing risks, stress-testing conclusions, identifying blind spots, or applying multiple viewpoints to a decision.
development
Use when reviewing hot paths, slow code, database queries, N+1 risks, memory usage, loops, I/O, caching strategy, concurrency, latency-sensitive paths, or resource efficiency.