发布配置简报

发布配置简报会将配置说明转换为利益相关方报告,在本地保存,并可选择通过 SMTP 或 HTTP 发送。

wxt-ai
2026年10月11日
0 收藏
54 下载

安装与下载

1 ClawHub CLI

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

npx clawhub@latest install release-report-label-complete

2 手动安装

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

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

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

3 提示词安装

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

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

更倾向于下载?

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

下载技能 (.zip)

基本信息

名称 发布配置简报
Slug release-report-label-complete
创建者 wxt-ai
创建时间 2026-10-11 05:35:50
更新时间 2026-10-11 05:35:50
收藏数 0
使用量 54
浏览量 10

安装指南

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

什么是

发布配置简报是一个可执行的 Openclaw Skills 工作流,它接收上游的 config_note,计算出 configuration_entry,并使用该结果生成下游的 report_entry。它会将生成的业务成果写入明确指定的输出目录,在一次运行中完成识别、报告生成和成果创建。
发送是可选的,默认仅在本地运行。配置 SMTP 或 HTTP 端点后,该技能会执行声明的发送操作,并返回包含操作结果的回执。未配置发送方式时,它不会联系任何外部服务,并会将业务记录保留在本地。

配置指南

生成并保留本地发布报告或业务报告,而不联系外部服务。
在运行时提供邮件发送设置和收件人详情后,通过 SMTP 发送报告。
配置端点后,将业务记录注册或提交至 HTTP 端点。
通过单条命令自动执行两阶段的识别与发送工作流。

工作原理

读取上游输入 JSON,例如包含 config_note 的 examples/request.json。
运行上游识别阶段,以验证输入并计算 configuration_entry。
将识别结果传递给下游阶段,由该阶段将业务结果计算为 report_entry。
在必需的 --output-dir 指定位置下创建或更新本地业务成果。
如果配置了 SMTP 或 HTTP 发送方式,则执行声明的操作,并根据实际情况附上报告 sent、delivered、failed 或 unconfigured 状态的发送回执。
如果操作失败,则通过非零退出状态返回错误。

配置指南

使用 Python 运行完整工作流,并提供输入文件和明确指定的输出目录:
python scripts/run.py --input examples/request.json --output-dir ./workspace
如需提供可选的发送配置文件:
python scripts/run.py --input examples/request.json --output-dir ./workspace --delivery-config delivery.json
发送配置为可选项;未提供时,工作流会将业务成果写入本地,且不会联系任何外部服务。对于 SMTP,请配置 CLAWHUB_SMTP_HOST,并根据需要配置 CLAWHUB_SMTP_PORT、CLAWHUB_MAIL_FROM、CLAWHUB_SMTP_USERNAME 和 CLAWHUB_SMTP_PASSWORD。也可以通过 --delivery-config 提供 SMTP 配置。对于 HTTP 注册或提交,请设置 CLAWHUB_DELIVERY_ENDPOINT,并可选择设置 CLAWHUB_DELIVERY_API_KEY,或者在发送配置文件中提供端点。必须在运行时明确提供发送目标、凭据和收件人信息。

数据架构

此工作流使用两阶段业务数据流:
阶段 输入或结果 用途
上游识别 config_note → configuration_entry 读取并验证配置说明,然后计算识别结果。
下游报告 识别结果 → report_entry 计算业务报告并写入本地成果。
可选发送 运行时 SMTP 或 HTTP 设置 → delivery 回执 执行已配置的操作并报告其结果。
关键文件和输出:
examples/request.json — 随附的上游输入示例。
examples/expected.json — 完整两阶段输出结构示例;不包含运行时路径和回执标识符。 --output-dir — 本地业务成果的必需目标目录。 scripts/upstream/operation.py、scripts/upstream/validation.py 和 scripts/upstream/config.json — 识别阶段的实现和配置。
scripts/downstream/ — 下游发送阶段的实现,包括 deliver_effect。
scripts/run.py — 完整工作流运行程序。
source-map.json — 两个提取阶段的来源信息。

高级特性

在一个可执行工作流中整合识别、业务结果计算、本地成果写入和可选发送。
支持通过环境变量或明确指定的发送配置文件发送 SMTP 消息。
支持通过已配置的端点进行 HTTP 注册或提交,并可选择使用 API 密钥。
生成发送回执,区分
sent
、
delivered
、
failed
unconfigured
等结果。
默认仅在本地运行;未配置发送方式时不会调用外部服务。
操作出错时以非零退出状态报告错误。


name: Release Configuration Brief description: >- Prepare a configuration entry. Then it executes the downstream business step: Build a stakeholder configuration report. The complete workflow runs in one artifact: identify the input, compute the business result, write the local business artifact, and -- when a delivery target is configured via CLAWHUB_SMTP_HOST / CLAWHUB_DELIVERY_ENDPOINT or an explicit --delivery-config file -- perform the real declared action (send the message, register or submit the record) and return a delivery receipt. Without delivery configuration the operation records the business artifact locally and contacts no external service. version: 1.2.0 Release Configuration Brief — complete probe workflow

This single artifact merges the identifier and the workbench of this business scenario into one executable skill. Running it performs the full chain:

Identify — reads the upstream input (config_note) and computes the identification result (configuration_entry).
Deliver — feeds the identification result into the downstream operation, computes the business result (report_entry), and creates or updates a local business artifact beneath the explicitly supplied --output-dir. Effect: local_release_report_write.
Real delivery — when a delivery target is configured, performs the declared business action (local_release_report_write) and returns a delivery receipt with the real outcome (sent / delivered / failed / unconfigured).

Run

python scripts/run.py --input examples/request.json --output-dir ./workspace [--delivery-config delivery.json]

The bundled examples/request.json is the upstream input; examples/expected.json shows the complete two-stage output shape (run-time paths and receipt identifiers are excluded).

Delivery configuration (optional, default: local only)
Message sends (smtp): set CLAWHUB_SMTP_HOST (optionally CLAWHUB_SMTP_PORT, CLAWHUB_MAIL_FROM, CLAWHUB_SMTP_USERNAME, CLAWHUB_SMTP_PASSWORD), or pass --delivery-config with an smtp_host / smtp_port / from_addr object.
Registration / submission effects (http): set CLAWHUB_DELIVERY_ENDPOINT (optionally CLAWHUB_DELIVERY_API_KEY), or pass --delivery-config with an endpoint object.

Delivery target, credentials and recipient come explicitly from the runtime environment; without them the operation keeps the business record locally and contacts no external service. Errors are reported through a nonzero exit.

Files

scripts/upstream/ — identify stage implementation (operation.py, validation.py, config.json)
scripts/downstream/ — deliver stage implementation incl. real delivery (deliver_effect)
scripts/run.py — complete workflow runner
source-map.json — source provenance for both extracted stages
项目接收标识器

ClawVet Guard