chore(gtm): deprecate dintel-gtm-toolkit, point to DTM Agent

The `dintel-gtm-toolkit` Python scripts (analyze_container.py,
diff_versions.py, validate_tags.py, find_unused.py) have been
replaced by the DTM Agent skill set, which operates on live
containers via the GTM API instead of exported JSON.

- .claude/commands/gtm-guardian.md: rewrite as a deprecation
  pointer with old→new mapping for every script/phase
  (Phase 6 → /dtm-audit + /dtm-debug, Phase 7 → /dtm-taxonomy +
  /dtm-lookup, etc.).
- custom-skills/62-gtm-validator/code/references/phase6-audit.md:
  replace "D.intelligence GTM Toolkit Integration" section with
  DTM Agent skill map, live-container workflow, and dtm CLI
  examples; update objective #4.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-24 22:33:30 +09:00
parent 8189473008
commit a46364e22a
2 changed files with 80 additions and 68 deletions

View File

@@ -7,7 +7,7 @@
1. GTM 컨테이너 건강 상태 점검
2. 태그 발화 및 데이터 정합성 검증
3. 최신 요구사항 반영 업데이트
4. D.intelligence GTM Toolkit 연계 자동화
4. DTM Agent 연계 자동화
## Audit Schedule
@@ -44,56 +44,73 @@
- [ ] Meta Events Manager 상태
- [ ] Kakao Pixel 상태
## D.intelligence GTM Toolkit Integration
## DTM Agent Integration
### Repository
```
https://github.com/ourdigital/dintel-gtm-toolkit
```
> The legacy `dintel-gtm-toolkit` (Python scripts operating on exported container JSON) is deprecated. All container operations now go through the **DTM Agent** — a set of Claude Code skills backed by the `dtm` CLI and the Google Tag Manager API, operating on **live containers** instead of exported JSON.
### Capabilities
### DTM Agent Skills
| Feature | Description | Use Case |
|---------|-------------|----------|
| Container Analysis | JSON 파싱, 구조 분석 | 컨테이너 리뷰 |
| Dependency Mapping | 태그↔트리거↔변수 관계 | 영향도 분석 |
| Version Diff | 버전 간 변경사항 비교 | 변경 추적 |
| Tag Validation | 발화 상태 자동 검증 | 정기 감사 |
| Capability | Skill | Replaces |
|------------|-------|----------|
| Tag CRUD | `dtm-tags` | `analyze_container.py` (tags section) |
| Trigger CRUD | `dtm-triggers` | `analyze_container.py` (triggers section) |
| Variable CRUD | `dtm-variables` | `analyze_container.py` (variables section) |
| Dependency graph & unused detection | `dtm-lookup` | `find_unused.py` |
| Version management & diff | `dtm-version` | `diff_versions.py` |
| Container diagnostics (AD grading) | `dtm-debug` | Container health check |
| Page audit (tracking coverage) | `dtm-audit` | Tag firing gap analysis |
| Live tag-firing QA | `gtm-validator` (this skill) | `validate_tags.py` |
| Event taxonomy classification | `dtm-taxonomy` | Naming-convention review |
| Schema.org JSON-LD | `dtm-schema` | n/a (new capability) |
| Active account/container switch | `dtm-set` | n/a |
| Status check | `dtm-status` | n/a |
### Integration Workflow
```
1. GTM Container Export
└── JSON 파일 다운로드
1. Active container selection
└── /dtm-set (or dtm set account/container)
2. D.intel Toolkit Analysis
├── python analyze_container.py container.json
├── Dependency graph 생성
└── Issue detection
2. Live container analysis
├── /dtm-tags, /dtm-triggers, /dtm-variables (list / inspect)
├── /dtm-lookup (dependency graph, unused resources)
└── /dtm-debug (configuration + performance grading)
3. Report Generation
└── Markdown/HTML 리포트
3. Page-level audit
└── /dtm-audit (Chrome DevTools MCP — fired tags vs. configured)
4. GTM Guardian Update
└── Notion에 리포트 저장
4. Validation (this skill)
└── /gtm-validator (live page QA, trigger conditions, naming, cross-platform)
5. Versioning & rollout
└── /dtm-version (create version, compare, publish)
6. Report distribution
└── Notion via notion-writer skill (see CLAUDE.md routing rules)
```
### Sample Toolkit Commands
### Sample DTM Agent Commands
```bash
# Container 분석
python analyze_container.py GTM-XXXXXX.json --output report.md
# Container status & active context
dtm status
dtm list accounts
dtm list containers
# 버전 비교
python diff_versions.py v1.json v2.json --output diff.md
# Tags / triggers / variables
dtm list tags
dtm get tag <TAG_ID>
dtm list triggers
dtm list variables
# 태그 검증
python validate_tags.py container.json --events events.csv
# 미사용 요소 탐지
python find_unused.py container.json --type all
# Version management
dtm list versions
dtm version live
dtm create version --notes "Audit checkpoint"
```
Most workflows should invoke the skill (e.g. `/dtm-audit`, `/dtm-lookup`, `/gtm-validator`) rather than raw CLI calls — the skills bundle the right tool sequence, output formatting, and Notion reporting.
## Audit Report Template
```markdown