agent-render SKILL.md skillA

agent-render from ayueryi/wpf-offscreen-render is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add ayueryi/wpf-offscreen-render/agent-render@git:20261102.8e5e9de

Pins git:20261102.8e5e9de in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
ayueryi/wpf-offscreen-render
Path
skills/agent-render/SKILL.md
Versions recorded
1
Latest version
git:20261102.8e5e9de, committed Nov 2, 2026
Size
6,290 bytes
Repository stars
14
License
none declared

在独立临时进程中把真实 WPF UserControl、Page、Window 或松散 XAML 离屏渲染成 PNG,同时返回绑定错误、布局问题、实际尺寸与 DPI 摘要,用于界面预览、布局 / 主题 / 数据绑定检查和视觉回归。用户要渲染、截图、预览 WPF / Avalonia / XAML / AXAML 界面,或对比改动前后效果时使用(render, screenshot, preview, WPF visual regression)。不适用于 WinUI、UWP、MAUI、WinForms。.

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

# Agent 多技术栈离屏渲染

**给 AI 一双看 WPF / Avalonia 的眼睛。**

在独立临时进程中创建 WPF 或 Avalonia Visual,输出 PNG;使用真实控件、真实样式和确定的样例数据,不启动业务程序。渲染需要 Windows;WPF 的 `windowHost` 还需要交互式桌面会话。

## 仓库根

「仓库根」是 **agent-render 工具仓库根目录(仓库地址仍为 ayueryi/wpf-offscreen-render)**,必须同时存在:

- `scripts/render.ps1`
- `mcp/start.ps1`
- `references/cli.md`、`references/integration.md`、`references/steps.md`、`references/verification.md`

按顺序取第一个通过全部校验的路径:

1. 环境变量 `AGENT_RENDER_ROOT`。
2. 若本 `SKILL.md` 位于工具仓库的 `skills/agent-render/` 下,沿其祖先目录向上查找。

Skill 被单独复制到其他目录时必须设置 `AGENT_RENDER_ROOT`;不要按固定层数、当前工作区名称或模糊搜索猜路径。找不到时停止并告诉用户,不要调用脚本。MCP 启动器会通过 `--root` 把同一仓库根传给服务器。

脚本、文档和 MCP 参数一律使用仓库根的绝对路径;`preset` 还需要业务项目根目录的绝对 `config`。

## 工具路由

| 需求 | MCP 工具 | 脚本 / 限制 |
| --- | --- | --- |
| 读取业务预设 | `list_views` | 需要业务根的绝对 `config` |
| 按预设或单次渲染 | `render_view` | 支持 `config`、`preset`、`factoryFile`、`steps`;不传视图参数会按默认技术栈渲染内置样例 |
| 直接程序集的多主题 / 尺寸 / DPI | `render_matrix` | 不支持 `config`、`preset`、`factoryFile`、`steps`;预设多组合使用 `render_view` 或 `render.ps1` |
| 前后对比 | `compare_snapshots` | 脚本为 `compare-snapshots.ps1` |
| 查询布局树 | `get_layout` | 读取某次渲染的 `layout.json` |
| 环境自检 | `self_test` | 或运行 `{仓库根}\tests\run-tests.ps1 -Quick` |

## 决策
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add ayueryi/wpf-offscreen-render/agent-render@sha256:e038b473985dc239

The line at the top of this page pins the label git:20261102.8e5e9de, 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_qliw6o7iopchxymq.svg)](https://markdownregistry.com/a/art_qliw6o7iopchxymq)

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

Versions

The registry has recorded 1 version of this file, committed on Nov 2, 2026.

versioncommittedcommitsizeaudit
git:20261102.8e5e9de latest2026-11-02 8e5e9de 6,290 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 (6290 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

ayueryi/wpf-offscreen-render · 14 stars · license none declared · pushed 2026-11-02 · branch master

API

GET https://markdownregistry.com/api/v1/artifacts/art_qliw6o7iopchxymq
GET https://markdownregistry.com/api/v1/resolve?ref=ayueryi/wpf-offscreen-render/agent-render
GET https://markdownregistry.com/api/v1/blob/e038b473985dc23962b9dffd72c1d944c24b207ca3c01f8d05204ef242c114af

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 ayueryi/wpf-offscreen-render

wpf-offscreen-render SKILL.md skill
ayueryi/wpf-offscreen-render · skills/wpf-offscreen-render/SKILL.md · 兼容入口:请使用 agent-render skill;它支持 WPF 与 Avalonia 离屏渲染。
git:20261102.8e5e9de · audit A · 14 stars

Every file in ayueryi/wpf-offscreen-render

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