跳到正文
Skillpedia
界面(UI/UX)16k · #10899

miniapp

它能做什么

让助手创建一个专注的单屏交互式演示,用来解释或模拟某件事的运作方式。适合希望通过点击和调整来探索某个概念的人。

适用场景

  • ✓当你要求逐步查看某个流程或机制如何运作时。
  • ✓当你希望有一个可以在聊天中操作的简单交互式演示时。
  • ✓当一个简短的小游戏或模拟比文字更能解释某个想法时。

技能链接

https://github.com/yc-software/qm/blob/main/skills-seed/miniapp/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“请给我看一个复利增长的交互式演示,让我自己修改利率。”

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

工作原理

助手会编写一个带有自身控件的小型独立网页。它不使用任何外部文件或网络,页面会直接显示在聊天中。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Miniapp

In a web conversation, use the miniapp tool for a focused, one-screen interactive explanation, simulation, or small game. The tool is intentionally unavailable on surfaces that cannot render playground artifacts.

  • Keep HTML, CSS, and JavaScript self-contained.
  • Do not use network requests, external assets, modules, or servers.
  • Make controls keyboard-accessible and label them clearly.
  • Let the document choose its own presentation; the host will not rewrite it.
  • Do not put a marker or artifact URL in the reply. The client attaches the playground from the typed tool result.
  • Use apps action publish instead when the app needs persistence, a server, or multiple routes.
常见问题

演示可以使用外部链接或文件吗?

不可以。页面保持独立,因此不会加载外部资源或网络数据。

它在每个聊天中都能运行吗?

不能。它只能在能够显示这些交互式页面的聊天界面中使用。

如果我需要在两次访问之间保存数据怎么办?

该技能建议改用单独的应用来保存数据、使用服务器,或使用多个页面。

详情

作者的原始描述

Build a tiny interactive HTML playground only when someone asks to see, play with, or step through a mechanism.

repo: yc-software/qm

热度

GitHub 星标
16k
排名
#10899
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能