update-docs-pr SKILL.md skillA
update-docs-pr from opentiny/genui-sdk is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add opentiny/genui-sdk/update-docs-pr@git:20260830.f01cbffPins git:20260830.f01cbff in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- opentiny/genui-sdk
- Path
.agents/skills/update-docs-pr/SKILL.md- Versions recorded
- 5
- Latest version
- git:20260830.f01cbff, committed Aug 30, 2026
- First version recorded
- Jul 30, 2026
- Size
- 4,384 bytes
- Repository stars
- 185
- License
- MIT
After publishing a new @opentiny/genui-sdk package, update opentiny/docs (submodule, genui package versions, VitePress sidebar) and opentiny/opentiny.design (submodule commit only), then open PRs on branch deploy/update-genui-{version}. Use when the user asks to 更新文档工程 or 更新官网工程 or sync docs, update opentiny/docs or opentiny.design, or create deploy PRs after a genui-sdk 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
# Update docs & opentiny.design PRs
发布 genui-sdk 新版本后,更新以下仓库并自动提 PR:
- [opentiny/docs](https://github.com/opentiny/docs):submodule + 版本 + 侧栏 → 详见 [docs.md](docs.md)
- [opentiny/opentiny.design](https://github.com/opentiny/opentiny.design):仅 submodule → 详见 [design.md](design.md)
- 提 PR 后触发 Pages 部署并打开预览 → 详见 [deploy.md](deploy.md)
**不要 clone 整仓。** 一律用 `gh api`。**禁止 force-push**;后续修改在分支上追加 commit。
## 前置检查
1. **依赖**:需要 `gh`(GitHub CLI)、`jq`(解析 API 输出)、`npm`(docs 查 npm 最新版本用)。先检查:
```bash
command -v gh >/dev/null || { echo "gh 未安装,请先安装:brew install gh" >&2; exit 1; }
command -v jq >/dev/null || { echo "jq 未安装,请先安装:brew install jq" >&2; exit 1; }
command -v npm >/dev/null || { echo "npm 未安装,请先安装 Node.js(含 npm)" >&2; exit 1; }
```
缺失时给安装指引(macOS:`brew install gh jq`;npm 随 Node.js 一起安装),**不要**当作未登录去提示 `gh auth login`。
2. **版本号**:用户提供(如 `1.3.0` / `v1.3.0`),去前导 `v`;须为非空 semver(含预发布/构建号),非法值直接退出。`opentiny.design` 不写版本,只共用 `COMMIT`。
3. **鉴权**:`gh auth status`;未登录则提示 `gh auth login` 或提供对两仓有写权限的 token。
```text
COMMIT = 用户指定,否则 opentiny/genui-sdk 远程 main tip
BRANCH = deploy/update-genui-{version}
基线分支(两仓)= dev
```
## 工作流
```text
进度:
- [ ] 1. 确定 version 与 COMMIT
…Read the whole file at its exact version.
How to install
mdr add opentiny/genui-sdk/update-docs-pr@sha256:b51c10ad802ba54cThe line at the top of this page pins the label git:20260830.f01cbff, 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_iggnz3o7pb7hfkjn)
0 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Jul 30, 2026 and Aug 30, 2026, about one every 8 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260830.f01cbff latest | 2026-08-30 | f01cbff | 4,384 B | A | view · diff |
| git:20260829.c2bcbe2 | 2026-08-29 | c2bcbe2 | 4,015 B | A | view · diff |
| git:20260804.3f4e09b | 2026-08-04 | 3f4e09b | 3,277 B | A | view · diff |
| git:20260731.4030ba2 | 2026-07-31 | 4030ba2 | 3,034 B | A | view · diff |
| git:20260730.5c7e1a5 | 2026-07-30 | 5c7e1a5 | 2,961 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 (4384 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
opentiny/genui-sdk · 185 stars · license MIT · pushed 2026-11-04 · branch dev
API
GET https://markdownregistry.com/api/v1/artifacts/art_iggnz3o7pb7hfkjn GET https://markdownregistry.com/api/v1/resolve?ref=opentiny/genui-sdk/update-docs-pr GET https://markdownregistry.com/api/v1/blob/b51c10ad802ba54c125d6029a71b50614090d99a1118ad49c281c2c452e0fbc5
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.