安装与下载
1 ClawHub CLI
从源直接安装技能的最快方式。
npx clawhub@latest install release-branch-policy-identifier
2 手动安装
将技能文件夹复制到以下位置之一
~/.openclaw/skills/
{'/skills/'}
优先级:工作区 › 全局 › 内置
3 提示词安装
将此提示词复制到 Openclaw 即可自动安装。
请帮我使用 Clawhub 安装 skill-release-branch-policy-identifier。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。
更倾向于下载?
获取包含原生技能文件的ZIP压缩包。
基本信息
release-branch-policy-identifier
安装指南
- ClawHub CLI
从源直接安装技能的最快方式。
npx clawhub@latest install release-branch-policy-identifier - 手动安装
将技能文件夹复制到以下位置之一
全局模式
~/.openclaw/skills/
工作区
/skills/
优先级:工作区 > 本地 > 内置 - 提示词安装
将此提示词复制到 OpenClaw 即可自动安装。
请帮我使用 Clawhub 安装 release-branch-policy-identifier。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。
更倾向于下载?
获取包含原生技能文件的ZIP压缩包。
下载技能 (.zip)
什么是
发布分支规划器是 Openclaw Skills 中用于日常发布治理的工具:提供发布季度和发布名称,它会以字符串形式返回对应的源分支。它帮助团队在发布请求中采用一致的分支选择步骤。
此技能仅处理当前请求中提供的信息。它不需要凭据或访问私有文件,不会进行外部通信,也不会持久化业务资料。
应用场景
在准备发布请求时选择源分支。
在日常发布治理工作流中统一分支选择方式。
根据 JSON 请求在本地运行可复现的分支规划操作。
在发布工作流中验证操作结果和退出状态。
工作原理
将 branch_request 作为包含 quarter 和 release_name 的对象提供。
操作会处理这些值,以确定简洁的源分支。
它会在 source_branch 字段中以字符串形式返回结果。
检查实际命令输出和任何效果回执。非零退出状态表示失败。
配置指南
使用 Python 3.10 或更高版本,从已安装的软件包目录运行捆绑操作。将请求保存为 JSON,并包含声明的 branch_request 输入字段,然后将文件路径传递给 --input。
python scripts/run.py --input examples/request.json
捆绑示例展示了预期的输入格式。无需外部凭据或依赖项;此软件包仅使用 Python 标准库。
数据架构
输入字段: branch_request,一个包含 quarter 和 release_name 的对象。
输出字段: source_branch,一个包含所选源分支的字符串。
执行输入: 使用 --input 传入的 JSON 文件;examples/request.json 展示了捆绑请求的格式。
实现: scripts/operation.py 执行该操作。
验证: scripts/validation.py 处理输入和输出验证。
角色配置: scripts/config.json。
持久化: 该操作会计算并返回输出,不会保存业务资料或进行外部通信。捆绑示例值和配置的本地记录有助于实现可复现性。
高级特性
在本地使用 Python 3.10 或更高版本运行,且仅依赖标准库。
使用声明的输入和输出验证,确保操作范围明确。
提供捆绑示例和配置的本地记录,以实现可复现性。
报告命令输出,并在有回执时报告效果回执;非零退出状态表示失败。
仅执行已声明的操作,不进行外部通信或业务数据持久化。
name: release-branch-policy-identifier description: Select a branch for a release. version: 1.1.1 metadata: openclaw: skillKey: release-branch-policy-identifier
Release Branch Planner
Use this skill for routine release governance work when the user asks to select a branch 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: branch_request
Release quarter and release name used to derive the source branch.
Accepted value: object with quarter, release_name.
Output
Field: source_branch
Return a concise source branch for the user's current request in the requested output field. The returned value is a string.
Example Request
Use the supplied branch_request to select a branch for a release.
Return the result in source_branch.
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.
服务容量时段规划器
配置档案设置键工作台