yida-canvas-upgrade SKILL.md skillA
yida-canvas-upgrade 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-canvas-upgrade@git:20261029.142ac00Pins git:20261029.142ac00 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-canvas-upgrade/SKILL.md- Versions recorded
- 7
- Latest version
- git:20261029.142ac00, committed Oct 29, 2026
- First version recorded
- Jul 9, 2026
- Size
- 8,695 bytes
- Repository stars
- 231
- License
- MIT
将基于 JSX 组件 的自定义页面升级/迁移为使用 `YidaCodeCanvas` 组件实现的宜搭自定义页面。适用于用户要求“.oyd.jsx / .oyb.jsx / Jsx 页面转 YidaCodeCanvas”“renderJsx 页面迁移到 YidaCodeCanvas”“把发布产物改为 runtimeCode + importedModules”。不要用于从零编写自定义页面。.
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
# 平台 JSX 组件页面迁移到 YidaCodeCanvas 组件实现 完成总结遵循[用户可见总结](../../references/user-facing-summary.md):仅概述本轮业务变化和真实结果,简单修改一句即可;内部记录保留源码、命令和校验细节。 ## 核心定位 本技能用于迁移存量页面:把已有的 JSX 组件页面转换为使用 `YidaCodeCanvas` 组件实现的页面,产出等价的 React18 函数组件源码并承载到 `YidaCodeCanvas`。 - 迁移前页面:OpenYida 平台 JSX 组件页面,通常是 `project/pages/src/*.oyd.jsx`、`export function renderJsx()`、`_customState`、`this.utils.yida.*`,`openyida publish` 发布为 `Jsx` 组件;用户称 `.oyb.jsx` 时先按平台 JSX 组件页面需求识别,再确认实际源码后缀。 - 目标实现:页面 Schema 中承载 `YidaCodeCanvas` 组件,组件属性包含 `code`、`runtimeCode`、`importedModules`,运行时执行 `YidaComp`。 ## 从老应用主题升级进入 从 `yida-upgrade-app-theme` 进入时,复用已备份的 Schema、源码和已确认的目标页面清单,逐页进行等价迁移。保持原业务逻辑、主要区块结构、字段 ID、请求参数、权限和跳转行为,不借迁移重做页面或更换业务模板。平台数据能力按当前 Canvas 数据桥规范适配,无法证明等价时停止发布,在应用升级清单记录未完成项。源码注入历史表单详情主题时,按已确认范围清理样式及专属监听,保留业务事件。 ## 迁移前必须确认 | 检查项 | 命令 / 做法 | | --- | --- | | 登录态只读验证 | `openyida env --json` + `openyida login --check-only --json` | | 原页面源码 | 找到 `.oyd.jsx` / `.jsx` 源文件;不要只看 dist 编译产物 | | 目标页面 Schema | 先执行 `openyida get-schema <appType> <formUuid>`,再用 create_file / Write / file edit tool 按需保存到 `<projectRoot>/.cache/openyida/canvas-upgrade/<name>-schema.json`;不要用 shell 重定向 | …
Read the whole file at its exact version.
How to install
mdr add openyida/openyida/yida-canvas-upgrade@sha256:c55ef5614b780828The line at the top of this page pins the label git:20261029.142ac00, 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_binxeia5sgly6dvy)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 7 versions of this file, between Jul 9, 2026 and Oct 29, 2026, about one every 19 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261029.142ac00 latest | 2026-10-29 | 142ac00 | 8,695 B | A | view · diff |
| git:20261009.c0479ec | 2026-10-09 | c0479ec | 8,290 B | A | view · diff |
| git:20260814.d502c0b | 2026-08-14 | d502c0b | 7,723 B | A | view · diff |
| git:20260814.4e9c640 | 2026-08-14 | 4e9c640 | 7,786 B | A | view · diff |
| git:20260804.d4cca3a | 2026-08-04 | d4cca3a | 7,588 B | A | view · diff |
| git:20260717.d0ccc71 | 2026-07-17 | d0ccc71 | 7,582 B | A | view · diff |
| git:20260709.6386eb3 | 2026-07-09 | 6386eb3 | 7,698 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 (8695 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_binxeia5sgly6dvy GET https://markdownregistry.com/api/v1/resolve?ref=openyida/openyida/yida-canvas-upgrade GET https://markdownregistry.com/api/v1/blob/c55ef5614b780828f79c74dc9141cea9f63b12d7bf211bc9b05b600ad4e66768
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.