yida-rechart SKILL.md skillA
yida-rechart from openyida/openyida is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add openyida/openyida/yida-rechart@git:20261029.b50bd18Pins git:20261029.b50bd18 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- openyida/openyida
- Path
yida-skills/skills/yida-rechart/SKILL.md- Versions recorded
- 5
- Latest version
- git:20261029.b50bd18, committed Oct 29, 2026
- First version recorded
- Jul 28, 2026
- Size
- 6,340 bytes
- Repository stars
- 231
- License
- MIT
自定义页面 Recharts 高级图表技能。使用 `YidaCodeCanvas` 组件和 Recharts 实现可视化、看板图表、趋势图、组合图等现代 React 图表页面;聚合数据必须来自宜搭原生报表或已聚合接口,不在前端拉全量明细自行聚合。明确要求 ECharts、维护旧 ECharts 页面或 Recharts 无法覆盖的复杂 option 时改用 yida-chart。.
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
# 自定义页面 Recharts 图表 ## 核心定位 本技能是“高级图表 / 可视化 / 看板图表”的默认实现链路: - 页面使用 `.canvas.jsx` / `.canvas.tsx`。 - 入口使用 `YidaComp` React 函数组件。 - 状态、筛选和生命周期使用 React hooks。 - 图表使用白名单依赖 `recharts`,页面组件优先使用 `antd`。 - 数据读取与错误态遵循 `yida-canvas-data-binding`。 本技能负责图表展示和交互,不替代服务端聚合能力。KPI、分组、求和、平均、趋势、占比等统计口径仍由 `yida-report` 或已验证的聚合接口产生。 ## 路由边界 | 用户意图 | 选择 | | --- | --- | | 高级图表、可视化、看板图表、趋势组合图,没有指定技术栈 | `yida-rechart` | | 标准统计报表、原生筛选器、指标卡和表格报表 | `yida-report` | | 明确指定 ECharts | `yida-chart` | | 维护已有 ECharts / 普通自定义页面 | `yida-chart` | | 地图、graph、custom series、复杂 option 等 Recharts 无法覆盖 | `yida-chart` | | 自定义页面图表接真实数据、CSRF、同源 fetch、错误态 | 同时遵循 `yida-canvas-data-binding` | 不要仅因为用户说“高级”“好看”“大屏”就切到 ECharts。默认先用本技能;只有明确技术要求、维护平台 JSX 组件页面或能力缺口才使用 `yida-chart`。 ## 致命规则(FATAL) 1. **禁止前端全量聚合**:不得拉取全量表单明细后在浏览器中 `reduce` / `groupBy` 计算 KPI、趋势、占比或排名。 2. **聚合口径有来源**:统计数据必须来自 `yida-report` 原生报表接口,或经过验证、已完成权限与聚合的后端/连接器接口。 3. **YidaCodeCanvas 组件契约正确**:源码使用 `.canvas.jsx` / `.canvas.tsx`,主入口是 `YidaComp` 函数组件,使用 hooks,不使用 `renderJsx`、`didMount` 或 `this.utils.yida.*`。 4. **依赖只用可用资源清单**:从 `recharts`、`react`、`antd` 等 `YidaCodeCanvas` 可用资源清单内的包导入;不通过脚本标签加载 Recharts。 …
Read the whole file at its exact version.
How to install
mdr add openyida/openyida/yida-rechart@sha256:94e38ce02f88a920The line at the top of this page pins the label git:20261029.b50bd18, 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.
[](https://markdownregistry.com/a/art_joiqrdl3ncgsg77b)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Jul 28, 2026 and Oct 29, 2026, about one every 23 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261029.b50bd18 latest | 2026-10-29 | b50bd18 | 6,340 B | A | view · diff |
| git:20260912.9fcd341 | 2026-09-12 | 9fcd341 | 6,345 B | A | view · diff |
| git:20260814.4e9c640 | 2026-08-14 | 4e9c640 | 6,509 B | A | view · diff |
| git:20260804.d4cca3a | 2026-08-04 | d4cca3a | 6,427 B | A | view · diff |
| git:20260728.ca83c23 | 2026-07-28 | ca83c23 | 6,558 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 (6340 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
openyida/openyida · 231 stars · license MIT · pushed 2026-11-06 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_joiqrdl3ncgsg77b GET https://markdownregistry.com/api/v1/resolve?ref=openyida/openyida/yida-rechart GET https://markdownregistry.com/api/v1/blob/94e38ce02f88a920ea7bd036815d679a9f78d29ff5e37ca39c99b0b714d9e137
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.