본문으로 건너뛰기
cccskills
무료GitHub에 공개

motherduck-duckdb-sql

Look up or repair DuckDB SQL syntax and verify MotherDuck-specific command and feature support.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구PostgreSQL
설치 방법 보기

포함된 파일(2)

  • SKILL.md3.2 KB
  • references/SYNTAX_REFERENCE.md18.6 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

DuckDB SQL Reference for MotherDuck

Source Of Truth

  • Prefer current DuckDB SQL docs for language features and function semantics.
  • Use current MotherDuck SQL docs for MotherDuck-only commands such as shares, secrets, snapshots, and Dive operations.
  • MotherDuck can lag upstream DuckDB releases for client compatibility; check MotherDuck version-lifecycle docs before promising newly released DuckDB syntax or types are available.
  • If the connection path matters, verify behavior against the current Postgres-endpoint docs before promising server-mode support.

Default Posture

  • Write DuckDB SQL, not PostgreSQL SQL, even when the client connects through the Postgres endpoint.
  • Use fully qualified "database"."schema"."table" names once more than one database or share is in scope.
  • Prefer DuckDB-native constructs when they simplify the query: GROUP BY ALL, QUALIFY, UNION BY NAME, arg_max, EXCLUDE, and REPLACE.
  • When porting SQL from another engine, translate functions, date arithmetic, identifier quoting, and type casts explicitly instead of assuming compatibility.
  • Verify current MotherDuck support before relying on recently released upstream DuckDB features such as VARIANT, native GEOMETRY, MERGE INTO, or date_trunc return-type changes.
  • Check whether the statement depends on local files, extension install/load, temporary-table behavior, or other client-only features before claiming it will work in MotherDuck.
  • Treat snapshot, restore, and UNDROP DATABASE statements as operational SQL with plan-specific retention behavior, not ordinary analytical syntax.
  • Treat INCLUDE_PATTERN as whole-table/view filtering on a Share, not row-level or column-level security. Use ALTER SHARE only for include-pattern changes.
  • Distinguish physical import (CREATE DATABASE ... FROM '<file-url>') from zero-copy clone sources, and reject filtered shares as clone sources.
  • Use role/grant SQL for governed access and audit it with SHOW ... statements; do not preserve ACCESS ORGANIZATION as the preferred RBAC pattern.
  • Treat MotherDuck SQL as an additional surface on top of DuckDB SQL, not a replacement for it.

Workflow

  1. Confirm the connection path and whether the question is about syntax, feature support, or a specific error.
  2. Write or repair the statement in DuckDB SQL first.
  3. Verify any MotherDuck-only command or server-mode limitation against the current docs.
  4. If the user needs exact syntax or function details, open references/SYNTAX_REFERENCE.md.

References

Read only the reference sections needed for the current task.

  • Read references/SYNTAX_REFERENCE.md for DuckDB data types, friendly SQL features, functions, complex types, and common MotherDuck-specific gotchas.

Related Skills

Load related skills only for missing capabilities; reuse established context.

  • motherduck-query for writing and validating analytical SQL against live MotherDuck data
  • motherduck-connect when syntax support depends on PG endpoint versus native DuckDB behavior
  • motherduck-explore when the problem is really missing schema context rather than missing syntax knowledge

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Build MotherDuck analytics into customer-facing applications with tenant isolation, backend routing, and serving APIs.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

motherduckdb/agent-skills622026년 9월 6일 업데이트

Build a MotherDuck dashboard as a Dive, choosing the analytical story, metrics, and section queries.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

motherduckdb/agent-skills622026년 9월 6일 업데이트

Build ingestion-to-serving pipelines on MotherDuck, including stage boundaries, transformations, and publication.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

motherduckdb/agent-skills622026년 9월 6일 업데이트

Use the MotherDuck CLI for terminal queries, authentication, and file-based Dive or Flight workflows.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

motherduckdb/agent-skills622026년 9월 6일 업데이트

Set up or troubleshoot MotherDuck connections, authentication, client runtimes, and read scaling.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

motherduckdb/agent-skills622026년 9월 6일 업데이트

Create, edit, publish, share, or embed MotherDuck Dives using their React and SQL runtime.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

motherduckdb/agent-skills622026년 9월 6일 업데이트

motherduckdb의 스킬 모두 보기

이 스킬의 문제 신고