跳到正文
cccskills
免费在 GitHub 公开

motherduck-design-dive

Design or improve a MotherDuck Dive’s layout, responsive behavior, themes, filters, and visual accessibility.

中文简介正在准备中。当前显示原文说明。

实测评分 未实测

查看安装方法

包含的文件(4)

  • SKILL.md4.5 KB
  • agents/openai.yaml250 B
  • references/RESPONSIVE_DIVE_DESIGN_SYSTEM.md9.9 KB
  • references/VISUAL_QA_PLAYBOOK.md3.6 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Design a MotherDuck Dive

Use this skill for the visual system and interaction design of a Dive. Pair it with motherduck-create-dive for current React and useSQLQuery mechanics, and with motherduck-build-dashboard when the task also includes defining the analytical story and SQL.

Design Defaults

For a new Dive or a full redesign, use these defaults unless the user's design requirements differ. For a scoped edit, preserve the existing visual system and check affected states.

  • start at a 320 px viewport and enhance upward
  • use fluid containers and responsive grids instead of fixed desktop widths
  • expose a light/dark theme control with token-based chart and UI colors, using the system preference as the initial default when practical
  • reserve a predictable filter surface: visible on wide screens and a drawer or sheet on narrow screens
  • keep charts inside bounded, responsive containers with readable labels at every breakpoint
  • use a restrained business-analytics visual language: neutral surfaces, compact hierarchy, visible axes, quiet borders, and limited decoration
  • make each KPI component useful on its own with value, label, comparison context, and a small trend or progress visual when the data supports it
  • keep customer variation in data, labels, logo, and theme tokens rather than changing the information architecture
  • support keyboard use, visible focus, 44 px touch targets, sufficient contrast, and non-color status cues

Avoid ornamental gradients, glass effects, glowing accents, oversized hero metrics, decorative bento layouts, excessive pills, floating shapes, and prose that sounds like a marketing landing page.

Workflow

  1. Inspect the existing Dive, supplied design paper, screenshots, and live schema before proposing a layout.
  2. If MotherDuck MCP is available, call get_dive_guide before writing Dive code and before every save_dive or update_dive. Apply relevant conventions surfaced from the reserved dives Guide topic unless the user asks for a different direction. Use this skill for the responsive shell when generic styling examples conflict with the user's explicit design requirements.
  3. Define the audience, primary decision, metric hierarchy, filter dimensions, and reuse boundary.
  4. Sketch the 320 px composition first: header, filter trigger, compact one- or two-column KPI group, primary chart, supporting sections, and detail view.
  5. Expand that composition into tablet and desktop grids without changing reading order.
  6. Implement semantic design tokens, theme switching, reusable cards, responsive chart wrappers, and filter state.
  7. Validate query correctness separately, then preview the complete Dive with loading, empty, error, long-label, and dense-data states.
  8. Inspect the rendered result at affected viewports and themes. Use the full visual QA reference for a new design, broad redesign, or requested evidence handoff; a label or SQL edit does not require a new design report.

For answer, review, or planning requests, return the requested design artifact without changing a Dive. For build or redesign requests, implement and preview the in-scope Dive; save or update it only when the request includes that operation.

Deliverable

Return the implemented change or requested design, the checks performed, and any concrete limitation. For a full design handoff, include the hierarchy, filter behavior, responsive rules, theme tokens, component boundaries, and evidence described in the visual QA reference.

Do not call a design mobile-friendly based only on responsive CSS. Report the viewports and states actually checked.

References

Read only the reference sections needed for the current task.

  • Read references/RESPONSIVE_DIVE_DESIGN_SYSTEM.md for the layout grid, component anatomy, theme tokens, filter model, anti-patterns, and QA checklist.
  • Read references/VISUAL_QA_PLAYBOOK.md for the repeatable screenshot, visual inspection, iteration, and reviewer handoff loop.

Related Skills

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

  • motherduck-create-dive for the current component contract, preview, save/update, and required resources
  • motherduck-build-dashboard for the analytical story, section queries, and end-to-end dashboard workflow
  • motherduck-explore for discovering real dimensions and filter candidates
  • motherduck-query for validating the SQL behind each visual state

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

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

中文简介正在准备中。当前显示原文说明。

motherduckdb/agent-skills622026年10月25日 更新

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

中文简介正在准备中。当前显示原文说明。

motherduckdb/agent-skills622026年10月25日 更新

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

中文简介正在准备中。当前显示原文说明。

motherduckdb/agent-skills622026年10月25日 更新

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

中文简介正在准备中。当前显示原文说明。

motherduckdb/agent-skills622026年10月25日 更新

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

中文简介正在准备中。当前显示原文说明。

motherduckdb/agent-skills622026年10月25日 更新

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

中文简介正在准备中。当前显示原文说明。

motherduckdb/agent-skills622026年10月25日 更新

查看 motherduckdb 的全部技能

报告此技能的问题