← Back to Skills Marketplace
azimao

Cmdb Test

by azimao · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
142
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install cmdb-test
Description
自动化 IMyFone CMDB 版本发布到测试环境 - 一键发布应用
README (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 应用
Usage Guidance
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).
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install cmdb-test
  3. After installation, invoke the skill by name or use /cmdb-test
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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 应用进行测试发布".
Metadata
Slug cmdb-test
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Cmdb Test?

自动化 IMyFone CMDB 版本发布到测试环境 - 一键发布应用. It is an AI Agent Skill for Claude Code / OpenClaw, with 142 downloads so far.

How do I install Cmdb Test?

Run "/install cmdb-test" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Cmdb Test free?

Yes, Cmdb Test is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Cmdb Test support?

Cmdb Test is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Cmdb Test?

It is built and maintained by azimao (@azimao); the current version is v1.0.0.

💬 Comments