发布变更分析器

发布变更分析器将提供的代码仓库补丁转换为简洁、结构化的变更集,用于发布协调。

wxt-ai
2026年10月8日
0 收藏
347 下载

安装与下载

1 ClawHub CLI

从源直接安装技能的最快方式。

npx clawhub@latest install repository-release-changes-identifier

2 手动安装

将技能文件夹复制到以下位置之一

全局模式 ~/.openclaw/skills/
工作区 {'/skills/'}

优先级:工作区 › 全局 › 内置

3 提示词安装

将此提示词复制到 Openclaw 即可自动安装。

请帮我使用 Clawhub 安装 skill-repository-release-changes-identifier。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。

更倾向于下载?

获取包含原生技能文件的ZIP压缩包。

下载技能 (.zip)

基本信息

名称 发布变更分析器
Slug repository-release-changes-identifier
创建者 wxt-ai
创建时间 2026-10-08 05:41:06
更新时间 2026-10-08 05:41:06
收藏数 0
使用量 347
浏览量 33

安装指南

  1. ClawHub CLI 从源直接安装技能的最快方式。
    npx clawhub@latest install repository-release-changes-identifier
  2. 手动安装 将技能文件夹复制到以下位置之一
    全局模式
    ~/.openclaw/skills/
    工作区
    /skills/
    优先级:工作区 > 本地 > 内置
  3. 提示词安装 将此提示词复制到 OpenClaw 即可自动安装。
    请帮我使用 Clawhub 安装 repository-release-changes-identifier。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。
    更倾向于下载?
    获取包含原生技能文件的ZIP压缩包。
    下载技能 (.zip)

什么是

发布变更分析器是一项 Openclaw skill,用于在发布交接期间汇总代码仓库变更。它接受当前请求中的 commit_patch 字符串,并返回一个包含 change_id、files、components、additions 和 deletions 的 release_change_set 对象。
该操作仅使用请求中提供的信息:不需要凭据或私有文件访问,不进行外部通信,也不会持久化业务产物。在 Openclaw Skills 中,它提供了一种将补丁信息转换为可用于发布的摘要的专注方式。

应用场景

为发布交接准备简洁的代码仓库变更摘要。
识别所提供补丁中涉及的文件和组件。
为发布协调工作流返回结构化的新增内容和删除内容。
在不需要外部访问或持久化时运行本地操作。

工作原理

将代码仓库补丁作为 commit_patch 输入字段的字符串值提供。
将请求保存为 JSON,并使用 --input 将其文件路径传递给捆绑的运行程序。
该操作处理所提供的请求,并通过软件包的验证代码验证输入和输出。
接收包含 change_id、files、components、additions 和 deletions 的 release_change_set 对象。
报告实际的命令输出,并在存在时报告其效果回执;将非零退出代码视为操作失败。

配置指南

使用 Python 3.10 或更高版本,从已安装的软件包目录运行该操作。创建包含声明的 commit_patch 输入字段的 JSON 请求,然后将请求路径传递给捆绑的运行程序。该软件包仅使用 Python 标准库依赖项。
python scripts/run.py --input examples/request.json
捆绑的示例展示了预期的输入结构。根据需要,将其替换为包含发布交接所需补丁的 JSON 文件。

数据架构

该 skill 处理请求并返回输出;不会持久化业务产物。
Field Purpose
commit_patch 必需的声明输入:以字符串形式提供的代码仓库补丁。
release_change_set 包含发布变更摘要的输出对象。
change_id 输出对象中的变更集标识符。
files 输出对象中的文件信息。
components 输出对象中的组件信息。
additions 输出对象中的新增信息。
deletions 输出对象中的删除信息。
软件包的实现位于 scripts/operation.py;输入/输出验证位于 scripts/validation.py;角色配置位于 scripts/config.json。捆绑的示例值和配置的本地记录支持可复现性。SKILL.md 未规定输出对象成员的字段级类型或格式。

高级特性

通过 Python 命令行运行程序进行本地捆绑执行。
由专用验证模块处理输入和输出验证。
仅使用标准库的 Python 依赖项;不执行外部通信。
通过捆绑的示例值和配置的本地记录支持可复现执行。
操作仅限于其声明的任务,不会持久化业务产物。


name: repository-release-changes-identifier description: Summarize repository changes for a release. version: 1.1.1 metadata: openclaw: skillKey: repository-release-changes-identifier

Release Change Analyzer

Use this skill for routine release coordination work when the user asks to summarize repository changes for a release.

It processes the information supplied in the current request and returns the business result described below. It does not require credentials or access to private files.

Input

Field: commit_patch

Repository patch supplied for a release handoff.

Accepted value: string.

Output

Field: release_change_set

Return a concise release change set for the user's current request in the requested output field. The returned value is a object with change_id, files, components, additions, deletions.

Example Request

Use the supplied commit_patch to summarize repository changes for a release.
Return the result in release_change_set.

Bundled execution

Use Python 3.10 or newer to run this operation from the installed package directory. Save the actual request as JSON containing the declared input field and pass its path with --input. The bundled example demonstrates the input shape.

python scripts/run.py --input examples/request.json

This operation only computes and returns its output; it does not persist a business artifact.

Report the actual command output and, when present, its effect receipt. A nonzero exit means the operation failed. This package executes only its declared operation.

The implementation is scripts/operation.py, input/output validation is scripts/validation.py, and role configuration is scripts/config.json. All Python dependencies are from the standard library. Bundled example values and configured local records are included for reproducibility. This package computes its declared output without external communication or persistence.

知识索引整理器

Calendar Handoff Reader