bigquery-sql
BigQuery-specific SQL patterns: UNNEST for array expansion, STRUCT, ARRAY_AGG, DATE_DIFF/DATE_ADD, backtick-quoted table…
Load when hitting DuckDB syntax errors or writing DuckDB-specific SQL. Covers gotchas that differ from PostgreSQL/MySQL.
Claude Code
$ npx -y skills add signalpilot-labs/signalpilot --skill duckdb-sql --agent claude-code
Codex
$ npx skills add signalpilot-labs/signalpilot --skill duckdb-sql -a codex -y
Cursor
$ npx skills add signalpilot-labs/signalpilot --skill duckdb-sql -a cursor -y
Gemini CLI
$ npx skills add signalpilot-labs/signalpilot --skill duckdb-sql -a gemini-cli -y
GitHub Copilot
$ npx skills add signalpilot-labs/signalpilot --skill duckdb-sql -a github-copilot -y
OpenCode
$ npx skills add signalpilot-labs/signalpilot --skill duckdb-sql -a opencode -y
Windsurf
$ npx skills add signalpilot-labs/signalpilot --skill duckdb-sql -a windsurf -y
name: duckdb-sql description: "Load when hitting DuckDB syntax errors or writing DuckDB-specific SQL. Covers gotchas that differ from PostgreSQL/MySQL." type: skill
cast the FINAL output to match: `CAST(ROUND(AVG(col), 2) AS DECIMAL(6,2))`. Do NOT cast the input — cast the result after rounding.
Filter window function results without a subquery:
SELECT *, ROW_NUMBER() OVER (PARTITION BY group ORDER BY col DESC) AS rn FROM table QUALIFY rn <= 10
SELECT UNNEST(GENERATE_SERIES(min_date::DATE, max_date::DATE, INTERVAL '1' DAY)) AS date_day
Always use the primary fact table's max date as endpoint — call `get_date_boundaries` first.
`CAST(x AS INTEGER)`, `CAST(x AS DOUBLE)`, `CAST(x AS VARCHAR)`, `CAST(x AS DATE)` `TRY_CAST` returns NULL on failure.
BigQuery-specific SQL patterns: UNNEST for array expansion, STRUCT, ARRAY_AGG, DATE_DIFF/DATE_ADD, backtick-quoted table…
Load when dbt run or dbt parse fails. Covers YML duplicate patches, ref errors, passthrough model warnings, current_date fixes,…
Populate the knowledge base from dbt project research. Proposes entries across all 6 categories at org, project, and connection…
Load when task involves dbt snapshots, SCD Type 2, or tracking data changes over time. Covers strategy selection, column casing,…
Load when task involves adding, writing, or fixing dbt unit tests. Covers unit_tests YAML format, given/expect blocks, edge-case…
Load when task involves dbt model versioning, creating v2 of a model, or backward-compatible model changes. Covers versions YAML…
Use this skill to extract structured Markdown/JSON from PDFs and document images—tables with cell-level precision, formulas as…
Estimates intracellular metabolic fluxes from steady-state carbon-13 isotope-tracing measurements using validated atom maps,…