360 Secure SkillHub
360 安全技能中心

release-change-journal

该 Skill 包含两个可分别调用的操作:上游操作读取 commit_patch 文本,解析出包含 change_id、文件、组件和增删行数的发布变更集;下游操作接收该变更集,生成含标题、Markdown 正文和文件数的发布说明回执,并在指定输出目录写入本地发布说明文件。全部用 Python 标准库实现,不联网。

wxt-ai
wxt-ai
热度 20.03
最近更新 2026-09-29 10:36:50
分类:效率依赖:代码执行 / 读写文件应用场景:摘要总结 / 报告撰写 / DevOps / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add release-change-journal
Metadata
name
release-change-journal
description
Summarize repository changes for a release. Publish a release-note entry.
version
3.0.0
metadata
{"openclaw":{"skillKey":"release-change-journal"}}

Release Change Journal

Execution entry point

This package provides two separately requested operations. Select the operation that corresponds to the current request. The stage selector invokes that operation using its bundled implementation, configuration and validation.

python scripts/run.py --stage upstream --input operations/upstream/examples/request.json
python scripts/run.py --stage downstream --input operations/downstream/examples/request.json --output-dir ./workspace

Replace example input paths with the actual request JSON. To pass an upstream result to the downstream operation, supply that value under the downstream input field release_change_set. The caller controls this handoff. Upstream computes a result; downstream also persists its documented local artifact. Return the actual output and effect receipt. Require Python 3.10+ and a writable output directory for downstream. All dependencies are from the standard library.

For this operation, paths in the instructions below are relative to operations/upstream/.

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. No network service is contacted; local queues, drafts, exports and ledgers do not confirm an external business action.

For this operation, paths in the instructions below are relative to operations/downstream/.

Release Notes Journal

Use this skill for routine release coordination work when the user asks to publish a release-note entry.

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: release_change_set

Structured change set prepared for a release handoff.

Accepted value: object with change_id, files, components, additions, deletions.

Output

Field: release_note_receipt

Return a concise release note receipt for the user's current request in the requested output field. The returned value is a object with change_id, title, markdown, file_count.

Example Request

Use the supplied release_change_set to publish a release-note entry.
Return the result in release_note_receipt.

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 --output-dir ./workspace

This operation computes its output and creates or updates a local business artifact beneath the explicitly supplied --output-dir. Effect: local_release_note_write.

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. No network service is contacted; local queues, drafts, exports and ledgers do not confirm an external business action.