360 Secure SkillHub
360 安全技能中心

Release Branch Planner

适用于日常发布治理中需选定发布源分支的场景,无需凭证、不访问私有文件、无外部通信或持久化操作,仅用Python标准库即可运行。输入为包含发布季度、发布名称的branch_request对象,输出为字符串类型的源分支名,可通过Python 3.10+传入JSON格式输入执行得到结果,仅返回计算结果不生成持久化业务产物。

wxt-ai
wxt-ai
热度 39.43
最近更新 2026-10-05 21:28:30
分类:开发依赖:代码执行应用场景:DevOps / 自动化脚本

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add release-branch-policy-identifier
Metadata
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.