What problem does it solve? Writing SQL for MotherDuck requires knowing exact DuckDB syntax and which features MotherDuck actually supports, since PostgreSQL-oriented SQL often fails and upstream DuckDB releases can outpace MotherDuck's supported versions. ## Core Features & Use Cases - Syntax Reference: Covers DuckDB data types, string, numeric, date/time, aggregate, window, JSON, list, spatial, and H3 functions with concrete examples. - MotherDuck Compatibility Checks: Distinguishes MotherDuck-only commands (shares, secrets, snapshots, SHUTDOWN) from upstream DuckDB features that may not yet be supported, such as VARIANT, native GEOMETRY, and MERGE INTO. - SQL Porting Guidance: Translates PostgreSQL-style SQL into DuckDB-native constructs like GROUP BY ALL, QUALIFY, UNION BY NAME, and arg_max. - Use Case: When a query ported from PostgreSQL fails on MotherDuck, use this Skill to rewrite date arithmetic, identifier quoting, and type casts into valid DuckDB SQL. ## Quick Start Ask the AI to check whether a specific SQL statement will run on MotherDuck and rewrite it in DuckDB syntax if needed.