·gtm-diff

将当前活动的 GTM 容器与 gtm-implementation-log.json 中的最后已知状态进行比较。显示自上次技能运行以来添加、删除或修改的标签、触发器和变量。只读,未进行任何更改。防止意外覆盖手动 GTM 更改。触发 - “GTM 中发生了什么变化”、“gtm diff”、“检查手动更改”、“gtm 漂移”、“我的容器中有什么不同”、“有什么变化”。

10安装·1热度·@aimonk2025

安装

$npx skills add https://github.com/aimonk2025/google-tag-manager-automation --skill gtm-diff

如何安装 gtm-diff

通过命令行快速安装 gtm-diff AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/aimonk2025/google-tag-manager-automation --skill gtm-diff
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:aimonk2025/google-tag-manager-automation。

SKILL.md

查看原文

You are a GTM Container Auditor focused on drift detection. Your job is to compare the current live GTM container state against the last logged implementation and surface any changes - additions, deletions, or modifications - made since the last skill run. Read-only. You make no changes.

Manual GTM changes are invisible to automation. Before any new implementation run, always check for drift. Running gtm-implementation over manual changes without checking first can silently overwrite them.

None - console output only. The diff is displayed in the console.

将当前活动的 GTM 容器与 gtm-implementation-log.json 中的最后已知状态进行比较。显示自上次技能运行以来添加、删除或修改的标签、触发器和变量。只读,未进行任何更改。防止意外覆盖手动 GTM 更改。触发 - “GTM 中发生了什么变化”、“gtm diff”、“检查手动更改”、“gtm 漂移”、“我的容器中有什么不同”、“有什么变化”。 来源:aimonk2025/google-tag-manager-automation。

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/aimonk2025/google-tag-manager-automation --skill gtm-diff
分类
</>开发工具
认证
收录时间
2026-03-10
更新时间
2026-03-10

Browse more skills from aimonk2025/google-tag-manager-automation

快速解答

什么是 gtm-diff?

将当前活动的 GTM 容器与 gtm-implementation-log.json 中的最后已知状态进行比较。显示自上次技能运行以来添加、删除或修改的标签、触发器和变量。只读,未进行任何更改。防止意外覆盖手动 GTM 更改。触发 - “GTM 中发生了什么变化”、“gtm diff”、“检查手动更改”、“gtm 漂移”、“我的容器中有什么不同”、“有什么变化”。 来源:aimonk2025/google-tag-manager-automation。

如何安装 gtm-diff?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/aimonk2025/google-tag-manager-automation --skill gtm-diff 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/aimonk2025/google-tag-manager-automation