widget-design skillA
widget-design is agent-read markdown (skill) from muselinn/musepi: 看板与对话内联 widget 卡片的设计与使用规范——何时主动生成活卡片、怎么写 data、卡面与布局原则(kimi widget design-system parity)。触发:用户要求可视化/看板/交互卡片,或回答包含数值对比、清单、流程、行情、时序数据时。.
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# Widget 设计规范 MusePi 的 widget 是**活卡片**:渲染在对话内联或看板网格里,带真实数据和交互, 而不是静态文字排版。`widget` 工具负责生成(参数表见工具描述),本 skill 负责 **判断何时用、怎么设计得像样**。 ## 何时主动用(不等用户说"可视化") - **数值/对比**:个税、费用换算、指标对比、价格/汇率 → `calc`/`metric`/`ticker`/`fx` - **清单/流程**:待办、检查项、打卡 → `todo`;专注计时 → `pomodoro` - **行情/时序**:股价/汇率实时盯盘 → `stocks`/`fx`/`kline`/`heatwall`/`indextape` - **系统状态**:时钟 + 三市状态 → `clock`;仪表读数 → `gauge` - **介绍/媒体**:产品介绍视频 → `video`(可填 B站 bvid);音乐 → `music` - **历史/事实**:历史上的今天 → `history`(真实数据源自动刷新) - **调参观察**:用户需要拖滑杆看效果 → `slider`(噪声/抖动/频率) - **相册/合集**:多张图 → `gallery` **不要**用于:普通文字回答、逐行代码解释、文件列表、破坏性/阻塞输入流程、 大型长驻应用。 ## 怎么写 data - 字段可省略——缺省值自动补齐(如 `calc` 缺 `mode` 默认 `post`)。 - 数据卡(fx/stocks/history)**自动拉真实数据**(60s 刷新),data 里只需 `chip`/`title`/`pairs`/`rows` 等描述性字段——**不要**在 data 里塞快照值。 - 内容有真实信息就填真实信息(`video` 填真实 bvid/url;`music` 填真实曲目), 不要给演示假数据。 - `title` 可选,默认组件名;写有辨识度的标题(如"今日汇率"而非"汇率卡")。 ## 卡面原则(组件即卡) - **每个组件自带卡面**(深色渐变/浅色磨砂/蓝色系)——不要给卡片再套外框。 - 尺寸:宽 340×200 起(网格 92×44,最小 172×76,画布 1092);数据多的卡 拉高(如 history/fx/stocks 常用 560+ 高),视频/音乐卡常用 4:3。 - 卡内滚动:列表内容超卡高时用卡内滚动(history 事件列表),不要撑破卡片。 - 聚焦交互:点击封面播放(video)、拖滑杆(slider)、勾选(todo)——交互 都要即时反馈,禁止无响应的装饰按钮。 ## 组合成板(看板) …
Read the whole file at its exact version.
How to install
mdr add muselinn/musepi/widget-design@git:20260817.c5cdd0emdr add muselinn/musepi/widget-design@sha256:ec928d29b2ed9094Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_wysbxzbjqgtj7izs)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260817.c5cdd0e latest | 2026-08-17 | c5cdd0e | 3,375 B | A | view · diff |
| git:20260817.88c4ebc | 2026-08-17 | 88c4ebc | 5,629 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (3375 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
muselinn/musepi · 17 stars · license MIT · pushed 2026-09-23 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_wysbxzbjqgtj7izs GET https://markdownregistry.com/api/v1/resolve?ref=muselinn/musepi/widget-design GET https://markdownregistry.com/api/v1/blob/ec928d29b2ed90946a3ec9c6c0d0ccb740604ab2f90ed836c6e8dd03c97c6af9
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.