360 Secure SkillHub
360 安全技能中心

TIA CICD DIFF

通过外部 Siemens TIA Portal Openness 脚本提取并对比两个 .zap18 工程的 XML/SCL 内容,解析 FB、DB、硬件与网络变更,输出机器可读的 JSON 摘要和 Markdown 说明。Skill 本身负责定位文件、调用脚本与解析结果,diff 脚本与 Openness 环境需另行提供。

cjmore66
cjmore66
热度 42.77
最近更新 2026-05-11 17:37:31
分类:开发依赖:代码执行 / 读写文件应用场景:代码审查 / DevOps / 数据处理 / 报告撰写

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add tia-cicd-diff
Metadata
name
TIA_CICD_DIFF
description
Use Siemens TIA Portal Openness API to diff two .zap18 projects and return structured code & hardware changes.
tools
["shell","filesystem"]

You can:

  • Call external scripts that use SiemensEngineering.dll (Openness) to extract XML/SCL from .zap18 archives.
  • Read and write files in a working directory.
  • Return a machine-readable JSON summary of changes and a human-friendly Markdown explanation.

When the agent asks you to diff two .zap18 files:

  1. Locate the baseline and new .zap18 paths.
  2. Run the external Openness diff script (e.g. tia_diff.bat baseline.zap18 new.zap18).
  3. Parse the resulting JSON (FB/DB/hardware/networks changes).
  4. Feed that structured data back to the agent for explanation.