openyida-cross-platform-release-guard SKILL.md skillA

openyida-cross-platform-release-guard from openyida/openyida is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add openyida/openyida/openyida-cross-platform-release-guard@git:20260908.580e115

Pins git:20260908.580e115 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
openyida/openyida
Path
.agents/skills/openyida-cross-platform-release-guard/SKILL.md
Versions recorded
2
Latest version
git:20260908.580e115, committed Sep 8, 2026
First version recorded
Jul 28, 2026
Size
4,174 bytes
Repository stars
230
License
MIT

OpenYida 跨端发布风险守卫。当改动涉及浏览器/URL 拉起(openyida login、bridge 页面唤起、resolveBrowserLauncher、openBrowser、spawn 打开浏览器),或用户明确要求检查 Windows/Linux 发布风险时使用。用于静态扫描并拦截「cmd /c start 截断 URL」「open -n 假装开新窗口」等跨端问题;普通版本 tag 发布请使用 openyida-release。.

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

# OpenYida 跨端发布风险守卫

macOS 本地测试跑通 ≠ 发布安全。浏览器/URL 拉起这类代码在 macOS 上正常,却可能在
Windows/Linux 用户侧直接炸掉——因为每个平台的浏览器拉起命令、URL 转义规则、默认浏览器
标识(bundle id / ProgId / .desktop)完全不同,而 CI 只跑纯函数单测,覆盖不到真实系统拉起。

## 触发条件

- 改动 `lib/auth/oauth-loopback.js`、`lib/bridge/bridge.js`,或任何 `resolveBrowserLauncher` /
  `openBrowser` / `spawn(...浏览器...)` 相关逻辑。
- 在 macOS 开发、发布对象包含 Windows / Linux 用户。
- 用户明确要求对浏览器拉起或 URL 传递改动做跨端发布检查。

## 第一步:跑发布风险静态扫描(必做)

```bash
npm run check:release-risks
```

- **HARD 反模式 → exit 1,阻断发布**(已纳入 `check:ci` 第 10 步):
  - `cmd-c-start-url` / `cmd-c-start-argv`:`cmd /c start <url>` 会把 URL 里的 `&` 当命令
    分隔符截断,丢失 `client_id`/`state`(登录)或 `oy_bridge_url`/`oy_bridge_token`(bridge)。
    → 改用 `rundll32 url.dll,FileProtocolHandler`,并复用 `resolveBrowserLauncher`。
  - `open-n-url-new-tab`:`open -n <url>` 在 macOS 不会开新窗口,只在默认浏览器开新标签页
    (假装开窗口)。→ 要真开新窗口须指定浏览器 App 并传其 `--new-window`/`-new-window`;
    检测不到默认浏览器时回退纯 `open <url>`。
- **SOFT 提示 → 不阻断**:列出涉及浏览器/URL 拉起的文件,提醒补人工跨端验证。

扫描逻辑见 `scripts/check-release-risks.js`(纯静态扫描 `lib/`,会跳过注释,并正确识别字符串中的
`//` / `/*` 不是注释;命令字符串仍会保留扫描,确保能抓到 `spawn('cmd', ...)` 这类真实反模式);
契约由 `tests/check-release-risks.test.js` 锁定。

## 第二步:跨端人工验证清单
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add openyida/openyida/openyida-cross-platform-release-guard@sha256:788acf32d3637a54

The line at the top of this page pins the label git:20260908.580e115, 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_44ii2vyewguc6xrh.svg)](https://markdownregistry.com/a/art_44ii2vyewguc6xrh)

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

Versions

The registry has recorded 2 versions of this file, between Jul 28, 2026 and Sep 8, 2026, about one every 42 days.

versioncommittedcommitsizeaudit
git:20260908.580e115 latest2026-09-08 580e115 4,174 BA view · diff
git:20260728.2c225172026-07-28 2c22517 4,211 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 (4174 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

openyida/openyida · 230 stars · license MIT · pushed 2026-11-02 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_44ii2vyewguc6xrh
GET https://markdownregistry.com/api/v1/resolve?ref=openyida/openyida/openyida-cross-platform-release-guard
GET https://markdownregistry.com/api/v1/blob/788acf32d3637a54a346972d079c46930f41ee11f0a372734d9804482aada6c1

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 openyida/openyida

codemap SKILL.md skill
openyida/openyida · .agents/skills/codemap/SKILL.md · Generate, update, or drift-check agent-facing CodeMaps as progressive code terrain indexes for projects, features…
v0.1.0 · audit A · 230 stars
karpathy-guidelines SKILL.md skill
openyida/openyida · .agents/skills/karpathy-guidelines/SKILL.md · Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid…
git:20260728.2c22517 · audit A · 230 stars
openyida-release SKILL.md skill
openyida/openyida · .agents/skills/openyida-release/SKILL.md · 快速发布 OpenYida npm 正式版或测试版。用户说“发布正式版”“发布测试版”“发 beta”或要求按当天日期生成版本 tag 时使用;不用于宜搭应用或自定义页面发布。
git:20260908.580e115 · audit A · 230 stars
sdd-riper-one-light SKILL.md skill
openyida/openyida · .agents/skills/sdd-riper-one-light/SKILL.md · 面向 GPT-5.5 等强模型和熟练用户的轻量 AI Agent Harness / checkpoint-driven coding skill。默认用户已经把任务切到基本可执行的最小混沌单元;模型自行分解、探索与推进,人类通过最终目标、…
v0.12.0 · audit A · 230 stars
skill-optimization-guide SKILL.md skill
openyida/openyida · .agents/skills/skill-optimization-guide/SKILL.md · 当需要优化一个已有 skill 文档时触发。读取目标 skill 全部文件,按四步流程重写,产出结构清晰、入口薄、描述直白的 skill 文档集。
git:20260805.afde623 · audit A · 230 stars
AGENTS.md AGENTS.md file
openyida/openyida · AGENTS.md
git:20261009.cc35c55 · audit B · 230 stars
CLAUDE.md CLAUDE.md file
openyida/openyida · CLAUDE.md
git:20260827.65ec899 · audit A · 230 stars
openyida SKILL.md skill
openyida/openyida · yida-skills/SKILL.md · 宜搭应用开发总入口技能。通过具备代码生成能力的智能体(千问办公/Claude/Open Code 等)+ 宜搭低代码平台,实现一句话搭建或修改完整应用。…
git:20261102.f5b0962 · audit A · 230 stars
yida-agent-center SKILL.md skill
openyida/openyida · yida-skills/skills/yida-agent-center/SKILL.md · 宜搭代理中心管理。查询、新增、编辑、撤销在职流程代理和离职代理,支持代处理流程、代提交流程、全部或部分流程范围。适用于设置流程审批的代理人。
git:20260702.ac3bada · audit A · 230 stars
yida-aggregate-table SKILL.md skill
openyida/openyida · yida-skills/skills/yida-aggregate-table/SKILL.md · 宜搭聚合表(virtualView)管理。用于列出、创建空聚合表、读取/预览设计配置、保存草稿、发布配置和查询构建状态;严格区分 stash 与 live revision,并在写入前校验固定前端已确认的六数组契约。
git:20260827.a7807b7 · audit A · 230 stars
yida-app-lifecycle SKILL.md skill
openyida/openyida · yida-skills/skills/yida-app-lifecycle/SKILL.md · 宜搭应用启用与停用。仅当用户明确要求启用、停用、上线或下线某个已有应用时使用;不用于创建应用、发布页面或发布到钉钉应用中心。
git:20260808.b50cd3d · audit A · 230 stars
yida-app-permission SKILL.md skill
openyida/openyida · yida-skills/skills/yida-app-permission/SKILL.md · 应用级管理员设置。查询和维护单个宜搭应用的应用主管理员、数据管理员、开发成员。适用于调整某个应用的管理员角色分配。
git:20260825.ad1c86c · audit A · 230 stars

Every file in openyida/openyida

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