← 返回 Skills 市场
azimao

Cmdb Test

作者 azimao · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
142
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install cmdb-test
功能描述
自动化 IMyFone CMDB 版本发布到测试环境 - 一键发布应用
使用说明 (SKILL.md)

CMDB 测试环境发布 Skill

在 IMyFone CMDB 平台上自动完成指定应用到测试环境的版本发布流程。

功能

  • 自动打开 CMDB 版本发布页面
  • 自动登录(如未登录)
  • 查找并点击目标应用的「发布」按钮
  • 自动选择 release2 分支
  • 自动选择测试环境(香港-通用-测试)
  • 填写版本描述并提交发布申请

使用场景

用户说「发布 icart-api 到测试」或「对 xxx 应用进行测试发布」时触发。

输入参数

参数 类型 必填 说明
appName string 应用名称,如 icart-api
description string 版本描述,默认为空

关键信息

⚠️ 注意:首次使用需要在 CMDB 平台登录一次,之后会自动保存登录状态。

执行步骤

第一步:打开页面并检查登录状态

  1. 使用 browser 工具打开 https://cmdb.imyfone.club/#/cicd/release
  2. 截图/snapshot 检查是否出现登录表单
  3. 如果出现登录表单,请使用你的 CMDB 账号登录
  4. 如果已登录,直接进入发布页面

第二步:查找并点击发布按钮

  1. 在应用列表中找到目标应用行(应用名称列匹配 appName
  2. 点击该行的「发布」按钮

第三步:填写发布表单

  1. 等待发布对话框出现
  2. 确认「应用名称」字段(通常预填充)
  3. 自动选择「分支或标签」为 release2
  4. 自动选择「环境」为 香港-通用-测试
  5. 如果传入了 description,填写版本描述字段

第四步:提交发布

  1. 点击「确认」按钮
  2. 等待提交成功提示(通常显示「版本发布申请已经提交」)
  3. 汇报结果

注意事项

  • 此 Skill 仅用于测试环境发布
  • 分支和环境已固定,无需手动选择
  • 确认前仔细核对应用名称是否正确
  • 发布成功后提示用户可在「版本发布记录」中查看进度

错误处理

  • 页面加载超时:等待 5 秒后重试
  • 应用未找到:提示用户检查应用名称是否正确
  • 提交失败:截图错误信息并告知用户

支持的应用

  • icart-api
  • icart-ma
  • icart-task
  • 其他 CMDB 应用
安全使用建议
This skill appears coherent for automating test-environment releases, but before installing: (1) confirm the skill will always ask you to confirm the target app and final submit (avoid silent automated releases); (2) understand it will use your browser session or prompt you to log in—ensure credentials or session cookies are only stored/used in a place you trust and that 2FA is enabled on your CMDB account; (3) run it first in a safe/test account or for a non-critical app to observe behavior; (4) verify the CMDB URL matches your organization’s official site; and (5) restrict who can invoke the skill (keep it user-invocable and avoid granting it broad autonomous triggers).
功能分析
Type: OpenClaw Skill Name: cmdb-test Version: 1.0.0 The skill bundle is a legitimate automation tool designed to streamline application deployment on the IMyFone CMDB platform (cmdb.imyfone.club). The instructions in SKILL.md guide the AI agent through standard browser-based tasks such as logging in, selecting the 'release2' branch, and submitting deployment forms for a test environment. No evidence of data exfiltration, malicious command execution, or harmful prompt injection was found.
能力评估
Purpose & Capability
The name/description (automate CMDB test-environment release) aligns with the runtime instructions: open the CMDB URL, locate an app, pick the fixed branch/environment, fill description, and submit. Nothing in the skill asks for unrelated cloud credentials, system files, or tools.
Instruction Scope
Instructions ask the agent to use a browser tool to open the CMDB URL and, if necessary, perform a user login and interact with UI elements to submit a release. This is within the skill's purpose, but it implies the agent may act using the user's saved web-session or perform UI-driven changes in the user's real CMDB account — so callers should ensure the agent only acts with explicit user authorization and verifies the target app before submitting.
Install Mechanism
No install spec and no code files are present (instruction-only). There is no download or package installation, which keeps disk-write/execute risk minimal.
Credentials
The skill declares no required environment variables, credentials, or config paths. It expects a browser session and the user’s CMDB account for login; these are proportional to a web-UI automation release task.
Persistence & Privilege
always is false and the skill does not request persistent system-wide changes. Autonomous invocation is allowed (platform default); combined with the ability to act in the user's CMDB account this means the agent could perform releases autonomously if invoked, so users should control invocation scope and confirmations.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install cmdb-test
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /cmdb-test 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of automated CMDB test environment deployment skill. - One-click automated deployment for specified IMyFone CMDB applications to the test environment. - Supports automatic login, branch selection (release2), and environment selection (香港-通用-测试). - Handles user input for application name and optional version description. - Provides feedback on success and handles common errors such as login issues or application not found. - Triggered by phrases like "发布 icart-api 到测试" or "对 xxx 应用进行测试发布".
元数据
Slug cmdb-test
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Cmdb Test 是什么?

自动化 IMyFone CMDB 版本发布到测试环境 - 一键发布应用. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 142 次。

如何安装 Cmdb Test?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install cmdb-test」即可一键安装,无需额外配置。

Cmdb Test 是免费的吗?

是的,Cmdb Test 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Cmdb Test 支持哪些平台?

Cmdb Test 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Cmdb Test?

由 azimao(@azimao)开发并维护,当前版本 v1.0.0。

💬 留言讨论