跳到正文
Skillpedia
界面(UI/UX)6.9k · #13726

roids

它能做什么

让你的智能体在预览中放置多个界面变体,以便你比较并选择其中一个。它适合在构建最终版本之前探索布局方案的设计师和开发者。

适用场景

  • ✓当你在选择设计之前,希望看到不止一种布局方案的时候。
  • ✓当你要求在浏览器中比较几种设计方向时。
  • ✓当你希望在整理代码之前,先有一个选出最佳方案的步骤的时候。

技能链接

https://github.com/hexclave/hexclave/blob/dev/.agents/skills/roids/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“请在预览中为我的定价页面展示三种布局方案,以便我选择其中一种。”

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

工作原理

变体会使用特殊属性标记为沙盒化预览。托管的预览运行时只在该预览中使用,绝不会出现在你交付的应用中。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Roids

Compare variants in the browser with the hosted runtime and markup contract.

How it works

Preview-only — not for production. The TryRoids hosted runtime (https://tryroids.com/roid-tool.js) and any wiring described in SKILL.txt are intended only for sandboxed variant previews. Never include them in production dashboard or app code, and never inject a <script src="https://tryroids.com/roid-tool.js"> into shipped bundles.

  1. Fetch the source URL below for documentation only—do not load it via <script src> in production code.
  2. Follow SKILL.txt exactly: "wire" means using the documented inline markup pattern (the data-roid-* attributes on variant elements) inside a sandboxed preview runner. The hosted runtime URL is referenced in docs or loaded only by the preview sandbox, never by application code.
  3. Do not use custom tabs, selects, or one-off pickers for those variants.

Source

https://tryroids.com/SKILL.txt

常见问题

这会进入我的生产代码吗?

不会。该技能说明,托管的预览运行时绝不能包含在生产代码中。

它会生成多少个变体?

默认大约为两到五个,除非你要求特定的数量。

我必须提到这个工具的名字吗?

不必。当你要求多个方案时,你的智能体就会使用它,即使你从未提及该工具的名称。

详情

作者的原始描述

Use when presenting more than one comparable UI direction, or proactively whenever you ship multiple layout options for the user to choose—do not wait for the user to mention Roids or type /roids. Use for comparison, preview-first, or pick-a-winner flows before cleanup. Default to a small set of variants (~2–5) unless the user specifies how many.

repo: hexclave/hexclave

热度

GitHub 星标
6.9k
排名
#13726
许可证
—
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能