widget-design SKILL.md skillA

widget-design from muselinn/musepi is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add muselinn/musepi/widget-design@git:20261103.ce4431e

Pins git:20261103.ce4431e in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
muselinn/musepi
Path
packages/coding-agent/src/bundled-plugins/product-skills/skills/widget-design/SKILL.md
Versions recorded
2
Latest version
git:20261103.ce4431e, committed Nov 3, 2026
First version recorded
Nov 2, 2026
Size
9,815 bytes
Repository stars
18
License
MIT

看板与对话内联 widget 卡片的设计与使用规范——何时主动生成活卡片、怎么写 data、卡面与布局原则(活卡片设计规范)。触发:用户要求可视化/看板/交互卡片,或回答包含数值对比、清单、流程、行情、时序数据时。.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file 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

The exact contents, by fingerprint
mdr add muselinn/musepi/widget-design@sha256:f2bf6690edbc90d6

The line at the top of this page pins the label git:20261103.ce4431e, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_g2l6vlvblleeojni.svg)](https://markdownregistry.com/a/art_g2l6vlvblleeojni)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, between Nov 2, 2026 and Nov 3, 2026, about one every 2 days.

versioncommittedcommitsizeaudit
git:20261103.ce4431e latest2026-11-03 ce4431e 9,815 BA view · diff
git:20261102.a5833362026-11-02 a583336 8,658 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (9815 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

GitHub

muselinn/musepi · 18 stars · license MIT · pushed 2026-11-07 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_g2l6vlvblleeojni
GET https://markdownregistry.com/api/v1/resolve?ref=muselinn/musepi/widget-design
GET https://markdownregistry.com/api/v1/blob/f2bf6690edbc90d661e706718a4bf1563ad902dc37617dcab11ecfeb50728531

Your AI assistant 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.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from muselinn/musepi

musepi-ci-test-reliability SKILL.md skill
muselinn/musepi · .agents/skills/musepi-ci-test-reliability/SKILL.md · Use when designing, modifying, or diagnosing MusePi CI workflows, test sharding, Bun version drift, release gates, or…
git:20261029.93a6b0f · audit A · 18 stars
musepi-code-review SKILL.md skill
muselinn/musepi · .agents/skills/musepi-code-review/SKILL.md · 评审 MusePi PR、提交前改动或正确性。覆盖仓库代码质量、GUI 生命周期、provider/id、契约级测试、i18n、扩展 API、中央工具复用和 CHANGELOG。
git:20261025.c9d4ac1 · audit A · 18 stars
musepi-find-simplifications SKILL.md skill
muselinn/musepi · .agents/skills/musepi-find-simplifications/SKILL.md · 在 MusePi 找有证据的简化点:无生产消费者的 API、重复事实表示、投机通用化、重复中央工具或 Bun/Node 内置的实现;输出可评审候选。
git:20261025.c9d4ac1 · audit A · 18 stars
musepi-prose-standard SKILL.md skill
muselinn/musepi · .agents/skills/musepi-prose-standard/SKILL.md · 编写或评审 MusePi 注释、JSDoc、prompt、文档、i18n、GUI 文案和 CHANGELOG;保留契约、删除重复和装饰,并确定唯一事实归属。
git:20261025.c9d4ac1 · audit A · 18 stars
musepi-trim-cot-leakage SKILL.md skill
muselinn/musepi · .agents/skills/musepi-trim-cot-leakage/SKILL.md · 清理注释、JSDoc、docs、AGENTS、CHANGELOG 和 i18n 中的死设计引用、PR 视角、变更叙述、评审对白、控制流转写与含糊推迟。
git:20261025.c9d4ac1 · audit A · 18 stars
semantic-compression SKILL.md skill
muselinn/musepi · .musepi/skills/semantic-compression/SKILL.md · Re-encode verbose prose into a dense telegraphic register — punctuation as connectives, label frames, verbless…
git:20260823.eb76001 · audit A · 18 stars
system-prompts SKILL.md skill
muselinn/musepi · .musepi/skills/system-prompts/SKILL.md · Write system prompts, tool docs, and agent definitions. Project tag conventions + RFC 2119 keywords + dense…
git:20260916.c9f8599 · audit A · 18 stars
tool-prompt-optimization SKILL.md skill
muselinn/musepi · .musepi/skills/tool-prompt-optimization/SKILL.md · Optimize the description prompts an AI agent reads to learn its built-in tools (the `.md` files under prompts/tools/)…
git:20260823.eb76001 · audit A · 18 stars
AGENTS.md AGENTS.md file
muselinn/musepi · AGENTS.md
git:20261106.bd3ff0e · audit A · 18 stars
android-emulator SKILL.md skill
muselinn/musepi · packages/coding-agent/src/bundled-plugins/android-emulator/skills/android-emulator/SKILL.md · Use when developing, installing, launching, operating, or visually debugging an Android app with an emulator or ADB…
git:20261101.5690b5f · audit A · 18 stars
board-design SKILL.md skill
muselinn/musepi · packages/coding-agent/src/bundled-plugins/product-skills/skills/board-design/SKILL.md · 桌面看板(board)的设计与读写规范——何时建板、怎么规划卡片布局、如何选 widget 类型并配 data/pos(避免类型数据错配和不可用布局)。触发:用户要求"看板/桌面卡片墙/把 X 放上看板/添加卡片"。
git:20261102.a583336 · audit A · 18 stars
musepi-contributing SKILL.md skill
muselinn/musepi · packages/coding-agent/src/bundled-plugins/product-skills/skills/musepi-contributing/SKILL.md · MusePi 仓库提交规范助手——帮用户按项目模板与 CONTRIBUTING 规范起草/提交 GitHub issue、pull request、commit message 与 changelog,以及跑 release…
git:20261102.a583336 · audit A · 18 stars

Every file in muselinn/musepi

Browse by kind, by grade A, or by owner.