motherduck-dive-components
Installation
SKILL.md
MotherDuck Dive Components
A component kit for Dives, copied into the Dive as source the way shadcn/ui works: a Dive is one .tsx file that may import only the runtime libraries get_dive_guide lists, so nothing is installed. Use it when a Dive needs more than the basic charts, a consistent look across several Dives, a brand theme, or a component the kit lacks. motherduck-create-dive owns the Dive mechanics (runtime contract, saving, sharing, embedding, write-back); this skill owns the visual building blocks.
When MotherDuck MCP is available, call get_dive_guide before writing Dive code and before every save_dive, update_dive, or edit_dive_content.
Start Here
- Open
artifacts/gallery/index.htmlin a browser to see every component on sample data, with each block's data behind its</>button. It needs no MotherDuck account. - Read
artifacts/components.json: for each component, the data shape it renders, when to use it, and the other renderers it can switch to. - Pick components for the question, write the Dive's queries, and build blocks from the rows.