release-workflow skillA
release-workflow is agent-read markdown (skill) from minleev5/devkeel: DevKeel CLI 与 Templates 独立版本发布完整流程.
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# 发布流程
## 何时使用
准备发布 `devkeel` CLI 或 `devkeel-templates` 模板包时。
## 前置条件
- master 分支代码已合并完毕
- `pnpm lint` + `pnpm test` 全部通过
- 已明确本次只发布 CLI 或 Templates 其中一个包
- 对应版本流的 changelog JSON 已准备
## Step 1: 选择发布分支
两个包版本独立,禁止用同一个版本号或暂存清单同时发布:
| 发布分支 | 包名 | 权威版本 | Changelog 流 | Git tag |
|---|---|---|---|---|
| CLI | `devkeel` | `package.json` | `cli` | `vX.Y.Z` |
| Templates | `devkeel-templates` | `templates/package.json` | `templates` | `templates-vX.Y.Z` |
根据变更类型选择 semver 升级段:
| 变更 | 升级 | 示例 |
|------|------|------|
| 破坏性变更 | major | 0.2.7 → 1.0.0 |
| 新功能 | minor | 0.2.7 → 0.3.0 |
| Bug fix / 修正 | patch | 0.2.7 → 0.2.8 |
选定分支后只执行对应章节。
### CLI 发布
1. 以根 `package.json` 为权威版本,升级并读取实际版本:
```bash
BUMP=patch
pnpm version "$BUMP" --no-git-tag-version
CLI_VERSION=$(pnpm pkg get version | tr -d '"')
```
2. 按 `.harness/skills/changelog/` 规范只创建 CLI JSON:
```bash
CHANGELOG_JSON="web/public/versions/cli/${CLI_VERSION}.json"
test -f "$CHANGELOG_JSON"
```
文件名必须等于 `versions` 最后一项。不得编辑 Templates JSON、旧静态 Changelog HTML、Changelog TSX 或 `web/dist/`。
3. 运行公共质量门禁,然后只暂存 CLI 发布单元:
```bash
pnpm --dir web exec vitest run tests/version-catalog.test.ts tests/changelog-data.test.ts
pnpm --dir web build
…Read the whole file at its exact version.
How to install
mdr add minleev5/devkeel/release-workflow@v1.2.2mdr add minleev5/devkeel/release-workflow@sha256:16b55ee7b433e71cPin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_szgcdkanjtuv3pnk)
1 badge views in 30 days
Versions
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 (4591 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
minleev5/devkeel · 3 stars · license MIT · pushed 2026-09-24 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_szgcdkanjtuv3pnk GET https://markdownregistry.com/api/v1/resolve?ref=minleev5/devkeel/release-workflow GET https://markdownregistry.com/api/v1/blob/16b55ee7b433e71c973139c576c0079009a6aa17837aa2ae576e7b5beaa34c80
Your agent 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.
More from minleev5/devkeel
Every file in minleev5/devkeel