From motherduck-skills
Create, edit, manage, share, or embed MotherDuck Dives — live React + SQL dashboards, charts, and data apps saved in the workspace. Use for any dashboard, chart, KPI display, or data visualization over MotherDuck data, and for Dive authoring mechanics such as get_dive_guide, useSQLQuery, local preview, version history, Dives-as-code, required resources, team sharing, or embedded Dive sessions.
How this skill is triggered — by the user, by Claude, or both
Slash command
/motherduck-skills:motherduck-create-diveThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill when the user needs a persistent, shareable, editable Dive rather than a one-off chart. Dives are live React + SQL data apps inside MotherDuck; they can be built conversationally, edited from existing workspace content, managed as code, shared with teammates, or embedded in another application.
Use this skill when the user needs a persistent, shareable, editable Dive rather than a one-off chart. Dives are live React + SQL data apps inside MotherDuck; they can be built conversationally, edited from existing workspace content, managed as code, shared with teammates, or embedded in another application.
get_dive_guide before generating Dive code and always before save_dive or update_dive. The guide defines the current component API and runtime libraries.motherduck-explore and motherduck-query; a good Dive starts with a correct query.useSQLQuery, a default export, supported runtime libraries, explicit loading/empty/error states, and no browser-side secrets.REQUIRED_DATABASES, keep the export on one line and mirror the real share dependencies in metadata or save/update inputs. Avoid aliases that collide with existing database names.Corporate Dashboard, Tufte Minimal, or FT Salmon instead of vague visual prompts.list_dives returns current_version, and read_dive can fetch historical versions.motherduck-build-cfa-app when the app needs custom API contracts, writes, non-Dive routing, tenant policy enforcement, or richer authorization.get_dive_guide if MCP is available, then design the story, sections, interactions, and theme.save_dive, update_dive, or deploy only after queries, loading states, required resources, and visual behavior are correct.For answer, review, or planning requests, stop at the requested design or code artifact. For create, update, or deploy requests, carry the requested in-scope operation through preview and validation; ask before destructive replacement or a broader external rollout that the request did not authorize.
references/DIVE_DESIGN_GUIDE.md for authoring workflows, useSQLQuery mechanics, Dives-as-code, editing/version history, sharing, embedding, SQL functions, theming prompts, chart-selection rules, loading/error states, layout patterns, and implementation gotchasmotherduck-explore for discovering the real tables, views, and dimensions before visualizing themmotherduck-query for validating the SQL each Dive section will runmotherduck-build-dashboard when the work is really a multi-section dashboard composition problemmotherduck-build-cfa-app when the requirement is a fuller product surface with per-customer isolation or backend policy controlnpx claudepluginhub motherduckdb/agent-skills --plugin motherduck-skillsGuides reception of code review feedback: verify before implementing, avoid performative agreement, push back with technical reasoning when needed.
Design banners for social media, ads, website heroes, and print with multiple art direction options and AI-generated visuals.