跳到正文
Skillpedia
界面(UI/UX)7.1k · #13594

visualize

它能做什么

这项技能直接在聊天中创建交互式视觉内容,例如示意图、图表和简单模拟。它适合希望通过改变输入并立即看到结果,来探索某个想法的人。

适用场景

  • ✓当一张架构或流程示意图比文字更能解释答案时。
  • ✓当你希望有一张图表或模拟,改变控件即可更新结果的时候。
  • ✓当你希望有一个小型交互工具,帮助比较选项或探索问题的时候。

技能链接

https://github.com/TokenRhythm/opensquilla/blob/main/src/opensquilla/skills/bundled/visualize/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/TokenRhythm/opensquilla/blob/main/src/opensquilla/skills/bundled/visualize/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请帮我做一个交互式图表,让我可以改变利率,看看月供如何变化。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会阅读与示意图、图表或交互式说明相关的指南,然后构建视觉内容,让每个控件都会改变输出结果。它会避免做没有实际作用的装饰性控件。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Interactive visuals in conversation

Choose a visual that helps answer the user's question: relationships for an architecture, steps for a process, aligned views for a comparison, or linked inputs and results for a simulation. Every control should visibly change the diagram, selection, result, or explanation. Do not substitute a long statistics report for a relationship diagram or add decorative controls with no effect.

Read the relevant guidance

Read Shared visual guidance through skill_view before creating a visual. Then read the relevant modules, combining them when useful; they describe general capabilities, not a fixed catalog of examples:

  • Diagrams: architectures, flows, sequences, relationships and hierarchies.
  • Charts: comparisons, trends, distributions, proportions and correlations.
  • Data views: dashboards, tables, heatmaps, custom data graphics and maps from available embedded data.
  • Interactive explanations: simulations, calculators and controls that visibly change the result.
  • Interface mockups: product interfaces and prototypes with local demonstration interactions.
  • Information collection: several related choices or constraints needed for an explicitly requested subsequent task.
  • Illustrations: explanatory drawings and art.

For example, a selectable architecture uses diagrams plus interactive guidance; a filterable dataset uses charts or data views plus interactive guidance. Choose the visual from the user's question, not from the examples below. A plain answer, Markdown table or static diagram may already be sufficient.

These generated references preserve the MIT-licensed generative-frame 0.0.5 guidance with explicit OpenSquilla host adaptations. Source hashes, adaptation records and license text are bundled in upstream-guidance.json and LICENSE.generative-frame.txt. The publication and host contracts in this file and the three optional examples below are OpenSquilla content.

Fit the conversation

Default to a compact HTML fragment with its own styles and scripts and call show_widget(title="short_title", widget_code="...") to place it directly in the conversation. Full HTML documents and workspace files remain supported for existing canvases or tasks that need them. The host supplies the isolated frame and its controls; fragments do not need html, head, body, or a second page shell. Use open_workspace_preview only when the user asks for an editable source file, a downloadable webpage, a multi-file bundle, or a workbench page.

Let the surrounding answer introduce and explain the visual. Use a small local title only when it helps. Avoid repeating the answer's title inside a large hero, adding app navigation, or nesting many bordered cards. Prefer one clear visual and nearby controls; reveal secondary detail on selection. A simulation may need more space than a diagram: optimize for understanding, not a fixed layout.

Use fluid widths, wrapping controls, touch-friendly targets, readable labels and keyboard access. Use the available container width and reflow when resized or expanded. Check that the result also works at 360 px; this is a narrow-screen acceptance width, not a fixed canvas width or a request for a phone mockup. Only use a phone-sized device frame when the user explicitly requests a phone-screen prototype. Keep main text and controls at the host's normal size, at least 14 px; use 16 px input text and reserve 12 px for secondary captions. For full documents include a viewport meta tag. Keep the background transparent unless a meaningful region needs contrast. Use the full host token table and native-control styles in the shared guidance; do not invent a separate palette or oversized primary buttons. The host handles frame spacing, expansion, reload and export controls.

Optional original OpenSquilla examples show design choices, not a component catalog or required templates. Read only the relevant example via skill_view:

常见问题

每个控件都必须有作用吗?

是的。该技能要求控件必须明显改变示意图、结果或说明内容。

什么时候不应该使用它?

该技能说明,一份冗长的统计报告不能代替关系示意图。

它涵盖哪些类型的视觉内容?

示意图、图表、数据视图、交互式说明、界面原型,以及信息收集表单。

详情

作者的原始描述

Create interactive diagrams, simulations, charts, and small tools directly inside conversation. Use when manipulating a visual helps explain, compare, or explore a question.

repo: TokenRhythm/opensquilla

热度

GitHub 星标
7.1k
排名
#13594
许可证
Apache-2.0
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能