svg-redraw-comparison SKILL.md skillA
svg-redraw-comparison from shenrui-ma/video-regen-recipes is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add shenrui-ma/video-regen-recipes/svg-redraw-comparison@v0.1.0Pins v0.1.0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- shenrui-ma/video-regen-recipes
- Path
templates/drawing-process/svg-redraw-comparison/SKILL.md- Versions recorded
- 4
- Latest version
- v0.1.0, committed Sep 16, 2026
- First version recorded
- Sep 11, 2026
- Size
- 3,914 bytes
- Repository stars
- 9
- License
- MIT
用参考图制作高精度 SVG 临摹绘制过程视频,交付纯 SVG 网页、独立 SVG 和原图对照 MP4。禁止 Canvas、位图嵌入与外链,按构图、线稿、固有色、阴影、高光、细节重放;横图上下、竖图左右合成。.
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
# 基于大模型的SVG临摹重绘 **完成条件:用户拿到对比视频、可播放 Demo 和完整 SVG。只完成 SVG 或网页不算任务完成。** ## 1. 固定输入与方式 实际读取用户本次参考图。只有用户未提供图片时,才使用本模板示例。先保存原件,再无损重编码并去元数据;核对解码像素和比例。使用用户指定的大模型;不可用时说明缺项,不冒称模型来源。 阅读[完整作者提示词](prompts/author-original.prompt.txt)和[工作步骤](references/workflow.md)。作者要求完整构图、比例、轮廓、色彩、线条、细节与图层;不能擅自改成简化风格稿。 ## 2. 先完成静态重绘,再制作过程 优先让大模型以参考图为唯一视觉依据,编写原生 SVG 与自包含 HTML。SVG图层/元素使用语义化名称,保持viewBox比例。页面不含Canvas、image/img、Base64图片、外链、外部字体/框架/脚本;JS/CSS须内联。 仓库示例采用轻量 HTML + 本地 SVG 数据的分文件版本,保留完整矢量与阶段。按页面提示选择两个配套文件,或由本地 HTTP 服务加载;需要严格单文件交付时,构建器加 `--inline`,单独保存完整交付版。 逐项比较人物五官、姿态比例、服装细节、物件、背景、光影与遮挡。粗稿应继续修正,不把“视频能导出”当成临摹通过。不能用完成图整张淡入、隐藏原图、背景贴图或逐像素矩形网格绕过要求。 本次高精度示例使用轮廓矢量化辅助路径。沿用此方法时,按工作步骤提供该图专属区域标注,明确记录“连续色域轮廓矢量化”,不冒称大模型手工逐笔绘制。不要把示例区域坐标套用其他图片。量化色差不为零时不能称“完全1:1”。 ## 3. 构建绘制流程 组织构图定位 → 线稿 → 固有色 → 阴影 → 高光 → 细节,并在末尾保留完整画面。各阶段按人物、服装、场景等实际区域推进,避免整图一次性出现。过程为绘制步骤重放,不是模型内部思考录屏。 Demo必须能播放、暂停、重置和拖动;提供 `window.replay.duration` 与 `window.replay.renderAt(seconds)`,同一时间点结果必须一致。若模型生成了SMIL或CSS动画,为它添加内联适配函数控制动画时间,不依赖实际播放速度。 本包辅助生成工具用于具备相应区域结构的轮廓SVG;其他SVG或完整HTML应按其真实结构适配,不能硬塞进示例构建器。 ## 4. 导出真正的视频 按[导出步骤](references/workflow.md)运行 `export_video.cjs`:浏览器只截取原生SVG;FFmpeg另外读取干净参考PNG,横图上下、竖图左右合成。原图可以出现在对比视频中,不能嵌入纯SVG网页冒充重绘。 …
Read the whole file at its exact version.
How to install
mdr add shenrui-ma/video-regen-recipes/svg-redraw-comparison@sha256:68fe2fa098038081The line at the top of this page pins the label v0.1.0, 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_lunozeovjeeg5hp2)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 4 versions of this file, between Sep 11, 2026 and Sep 16, 2026, about one every 2 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v0.1.0 latest | 2026-09-16 | 1d6c844 | 3,914 B | A | view · diff |
| git:20260911.87f3ec2 | 2026-09-11 | 87f3ec2 | 3,786 B | A | view · diff |
| git:20260911.6a6fc04 | 2026-09-11 | 6a6fc04 | 3,520 B | A | view · diff |
| git:20260911.c57f35a | 2026-09-11 | c57f35a | 3,614 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 (3914 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
shenrui-ma/video-regen-recipes · 9 stars · license MIT · pushed 2026-09-18 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_lunozeovjeeg5hp2 GET https://markdownregistry.com/api/v1/resolve?ref=shenrui-ma/video-regen-recipes/svg-redraw-comparison GET https://markdownregistry.com/api/v1/blob/68fe2fa098038081c4d447dbced6abf7c516b24f8e5a2499202ab555eba29a21
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.