什么是 gtm-diff?
将当前活动的 GTM 容器与 gtm-implementation-log.json 中的最后已知状态进行比较。显示自上次技能运行以来添加、删除或修改的标签、触发器和变量。只读,未进行任何更改。防止意外覆盖手动 GTM 更改。触发 - “GTM 中发生了什么变化”、“gtm diff”、“检查手动更改”、“gtm 漂移”、“我的容器中有什么不同”、“有什么变化”。 来源:aimonk2025/google-tag-manager-automation。
将当前活动的 GTM 容器与 gtm-implementation-log.json 中的最后已知状态进行比较。显示自上次技能运行以来添加、删除或修改的标签、触发器和变量。只读,未进行任何更改。防止意外覆盖手动 GTM 更改。触发 - “GTM 中发生了什么变化”、“gtm diff”、“检查手动更改”、“gtm 漂移”、“我的容器中有什么不同”、“有什么变化”。
通过命令行快速安装 gtm-diff AI 技能到你的开发环境
来源:aimonk2025/google-tag-manager-automation。
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-diffBrowse more skills from aimonk2025/google-tag-manager-automation
将当前活动的 GTM 容器与 gtm-implementation-log.json 中的最后已知状态进行比较。显示自上次技能运行以来添加、删除或修改的标签、触发器和变量。只读,未进行任何更改。防止意外覆盖手动 GTM 更改。触发 - “GTM 中发生了什么变化”、“gtm diff”、“检查手动更改”、“gtm 漂移”、“我的容器中有什么不同”、“有什么变化”。 来源:aimonk2025/google-tag-manager-automation。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/aimonk2025/google-tag-manager-automation --skill gtm-diff 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/aimonk2025/google-tag-manager-automation