Yida Dashboard logo

Yida Dashboard

Organization
openyida
yida-dashboard

经营分析看板/驾驶舱/数据大屏产品化交付;用于指标判断、趋势分析或投屏监控,不用于普通待办工作台和办事门户。含真实数据、筛选联动、卡片截图、组织内短链和钉钉待办闭环。常规图表使用 yida-rechart;明确 ECharts、复杂 ECharts option 或维护旧图表时使用 yida-chart。普通统计优先 yida-report。

Overview

Publisheropenyida
Repositoryopenyida
Skill nameyida-dashboard
Stars
228
Forks
50
Bundled files
4
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 4 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by openyida on GitHub. Read the source before you install it.

Installation

Install the Yida Dashboard AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/openyida/openyida/tree/main/yida-skills/skills/yida-dashboard
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/openyida/openyida.git /tmp/openyida
mkdir -p .claude/skills
cp -r /tmp/openyida/yida-skills/skills/yida-dashboard .claude/skills/yida-dashboard
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Yida Dashboard in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Yida Dashboard on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Yida Dashboard is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

宜搭 Dashboard 经营看板技能

核心定位

本技能负责完整 Dashboard 产品化交付:业务指标、真实数据、交互筛选、洞察、派单、截图和分享闭环。它决定“看什么、怎么组织、怎么验收”:

  • 页面容器、状态、筛选、响应式、副作用:yida-canvas-custom-page。
  • Canvas 真实数据:yida-canvas-data-binding。
  • 常规图表:yida-rechart。
  • 只有用户明确要求 ECharts、需要复杂 ECharts option/扩展系列,或维护已有图表时,才使用 yida-chart。

何时触发

  • 已确认的经营分析、指标比较、趋势判断或投屏监控需求。
  • 现有经营看板的指标卡截图、分析分享或派单闭环。

按页面主任务判断,不按名称触发:综合工作台由 yida-canvas-custom-page 实现,可包含业务分析、洞察与快捷操作;这些区块按 PRD 组织,常规图表使用 yida-rechart。含图表、管理者身份或隐藏导航不足以触发整页 Dashboard 流程;经营分析本身为页面主任务时使用本技能。首页选择遵循 首页按任务选择。

单个普通统计报表优先 yida-report;只解决单张图的实现问题时按“图表路由边界”选择 yida-rechart 或 yida-chart。

默认交付物

  1. 单屏控制塔结构,见 references/structure-and-layout.md。
  2. 真实数据绑定:聚合指标走报表/聚合结果,明细走分页查询;禁止前端拉全量后聚合。
  3. 视觉主题和信息层级,见 references/theme-presets.md。按共享主题选择规则先拒绝第一直觉,再比较新候选;平台预置主题使用应用 --theme,自定义色盘使用应用级主题 CSS 文件,页面只消费运行时变量。
  4. 筛选与图表联动;控件必须受控并真实改变下方数据。
  5. 每元素可派单:saveFormData → 集成自动化 → 待办2.0 ConnectorCall。
  6. 卡片截图分享:真实可点击,截图时排除截图按钮本身。
  7. PC / 平板 / 手机响应式。
  8. 隐藏导航时的组织内分享 URL;需要页面内导航壳时调用 yida-nav-shell。
  9. loading / empty / error / freshness 状态与 1–3 条业务洞察。

实现边界

信号处理
表单/报表/连接器数据进入 Canvasyida-canvas-data-binding,用同源 HTTP 数据桥
用户明确要求 ECharts 或提供 ECharts optionyida-chart
地图、桑基、graph、custom series 等 Recharts 不覆盖的复杂图明确说明原因后使用 yida-chart
单个原生统计报表yida-report

维护平台 JSX 组件页面时看到的 .oyd.jsx、renderJsx、didMount 片段属于平台实例桥写法,只能作为对应运行时参考。

交付流程

text
[Step 1] 澄清业务范围 → 5–8 个经营维度、指标、角色与刷新频率
   ↓
[Step 2] 数据契约 → appType/formUuid/fieldId/report/connector endpoint
   ↓
[Step 3] 需要派单时创建“看板派单触发表”并配置集成自动化
   ↓
[Step 4] 用 yida-design 决定 dashboard/screen、主题、Shell、Archetype
   ↓
[Step 5] 生成或编写 dashboard-overview.canvas.jsx / data-screen.canvas.jsx
   ↓
[Step 6] 用 hooks 实现筛选、轮询、截图、hash/导航与 cleanup
   ↓
[Step 7] 常规图表交 yida-rechart;仅命中 ECharts 条件才交 yida-chart
   ↓
[Step 8] compileCanvasLocal 快检;获用户确认后发布并回读 Schema
   ↓
[Step 9] 隐藏导航、验证组织内 URL、截图、数据刷新和派单闭环

自定义页面入口:

  • prd.md 决定页面目标、指标、区块和交互,design.md 决定主题、布局和视觉状态;page-spec.json 只作为生成器需要时的派生输入。
  • 主题与配色统一由 yida-design 确定,沿用已确认的项目设计;不得按业务关键词套固定看板色盘。
  • 用户强调“大屏 / 指挥舱 / 实时监控”时使用 screen 场景;普通经营看板使用 dashboard 场景。
  • .canvas.jsx 编译与发布细节以 yida-canvas-custom-page 为准;不要把 openyida check-page、.oyd.jsx 或 renderJsx 写成默认步骤。

数据与派单边界

真实数据

  • KPI / 趋势 / 占比必须来自服务端聚合、报表结果或明确的聚合接口。
  • 明细查询必须分页;不得拉全量后 reduce 冒充生产聚合。
  • 使用 YidaCodeCanvas 组件实现的页面使用 dataBinding + DataBridge + 外层 yida JS-API 桥;只有桥不可用时才降级同源 fetch,并保留错误态与 cleanup。
  • 不得在 YidaCodeCanvas 组件内使用 this.dataSourceMap;连接器代理转 yida-canvas-data-binding。
  • demo/seed 只能用于离线预览,并明确标记;真实交付无数据时展示真实空态。

派单

需要派单时固定使用:

  1. yida-create-form-page 创建“看板派单触发表”,至少包含 subject / executor / description / dueTime / priority / priorityNum。
  2. openyida integration create ... --events create 配置待办2.0 ConnectorCall。
  3. 前端只写触发表;连接器鉴权和调用留在后端集成自动化。

priority 连接器入参必须来自 NumberField priorityNum(10/20/30/40),不能直接透传 SelectField/RadioField。不得把工作通知包装成真实待办。

自定义页面实现纪律

  1. 使用 YidaComp React 函数组件和 hooks;不使用 _customState / forceUpdate。
  2. useEffect 注册的轮询、键盘、resize、hash、截图资源或图表副作用必须 cleanup。
  3. 筛选、周期切换、Tabs、刷新按钮均为受控状态,并真实驱动列表/KPI/图表派生数据。
  4. 所有数据请求都有 loading / error / retry;静默刷新保留旧数据。
  5. 所有可见按钮必须有真实 handler 或显式 disabled。
  6. 截图按钮必须可用,并在截图时用 class/属性排除自身。
  7. 移动端 KPI 改 2 列或横向滚动,图表纵向堆叠。
  8. 隐藏应用导航后需要跨模块切换时,交 yida-nav-shell,默认用 React useState / hash。

图表路由边界

默认:yida-rechart

以下图表默认调用:

text
use_skill("yida-rechart", "在自定义页面看板中实现常规业务图表")
  • 折线、面积、柱、条、饼/环、组合图。
  • 常规 tooltip、legend、响应式容器、主题色和数据格式化。
  • KPI 趋势、区域营收、渠道贡献、客群分布、排行与同比环比。

例外:yida-chart

只有出现以下任一信号时调用:

text
use_skill("yida-chart", "实现明确要求的 ECharts 或维护旧 native 图表")
  • 用户明确说 ECharts。
  • 用户提供或要求维护复杂 ECharts option。
  • 地图、桑基、graph、custom series、复杂 visualMap 等 Recharts 不覆盖能力。
  • 维护已有普通自定义页 / native ECharts 页面。

不要仅因“看板里有图”就调用 yida-chart。

平台 JSX 组件维护注意事项

.oyd.jsx / .oyb.jsx / renderJsx / 平台 Jsx 组件页面,若现有页面依赖 this.utils.yida.*、this.dataSourceMap、renderJsx、didMount 等实例桥,维护时注意:

  • 页面规范按平台 JSX 组件页面规则执行。
  • 旧 ECharts 图表交 yida-chart。
  • 本地使用 .oyd.jsx、openyida check-page、openyida compile。
  • references 中的 renderJsx / didMount 片段仅供维护平台 JSX 组件页面。

严格禁止

  1. 禁止生成与目标运行时不匹配的页面源码。
  2. 禁止前端拉全量明细聚合 KPI。
  3. 禁止 Canvas 使用 this.dataSourceMap、this.utils.yida.* 或平台 JSX 组件生命周期。
  4. 禁止在前端直连钉钉 OpenAPI、硬编码 accessToken/Cookie/密钥。
  5. 禁止把工作通知声称为真实待办。
  6. 禁止 mock/seed 数据冒充真实交付。
  7. 禁止无 handler 的按钮。
  8. 禁止常规图表无条件路由 yida-chart。

参考文档

文档何时读
references/structure-and-layout.md设计 Dashboard 层次、Canvas 组件树和响应式
references/theme-presets.md选择主题、色板和图表视觉强度
references/interaction-patterns.md派单、搜人、截图、marquee、短链;旧普通页代码仅作维护参考
references/pitfalls.md发布前检查数据、连接器、截图与平台 JSX 组件页面兼容问题

验收

  • Canvas 本地编译通过,依赖只包含白名单模块。
  • 发布后回读到 YidaCodeCanvas 与非空 runtimeCode。
  • 至少一个 KPI/列表/图表来自真实数据契约;否则标记 draft。
  • 筛选、刷新、移动端、截图、空/载/错态实际可用。
  • 常规图表已使用 yida-rechart;使用 yida-chart 时交付说明明确命中了哪条 ECharts 例外。
  • 需要派单时,真实待办 ConnectorCall 和字段映射验证通过。
  • 隐藏导航时,最终组织内 URL 保留 isRenderNav=false。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Yida Dashboard AI skill do?

经营分析看板/驾驶舱/数据大屏产品化交付;用于指标判断、趋势分析或投屏监控,不用于普通待办工作台和办事门户。含真实数据、筛选联动、卡片截图、组织内短链和钉钉待办闭环。常规图表使用 yida-rechart;明确 ECharts、复杂 ECharts option 或维护旧图表时使用 yida-chart。普通统计优先 yida-report。

Why use Yida Dashboard on TypingMind?

Because you install it once and use it with any model. Yida Dashboard is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Yida Dashboard in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/openyida/openyida/tree/main/yida-skills/skills/yida-dashboard. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Yida Dashboard?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Yida Dashboard?

As many as you like. As long as a model supports skills, you can use Yida Dashboard with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Yida Dashboard AI skill free?

Yes. It is published on GitHub by openyida under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇