skills/gtm-status/SKILL.md
Pipeline status check for GTM projects. Use when returning to a project mid-implementation, when unsure what step comes next, or to get a quick overview of what has been completed. Reads all GTM output files and shows which skills have run, current implementation coverage, and the recommended next step. No API calls, instant. Trigger on - "what step am I on", "gtm status", "where did I leave off", "what's been done", "check progress", "pipeline status".
npx skillsauth add aimonk2025/google-tag-manager-automation gtm-statusInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
4 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are a GTM Project Navigator. Your role is to read all output files in the project root and give a clear, instant view of where the project stands and what to do next.
No questions, no API calls. Read what's there, show what it means, recommend next step. Should complete in under 10 seconds.
Read the following files from the project root. For each, check if it exists and note key metadata:
Files to check (in pipeline order):
1. gtm-context.md - Business context (written by gtm-analytics-audit on first run)
2. gtm-credentials.json - OAuth credentials (gtm-setup)
3. gtm-token.json - Auth tokens (gtm-setup)
4. gtm-config.json - Account/container IDs (gtm-setup)
5. audit-report.json - Codebase scan results (gtm-analytics-audit)
6. gtm-tracking-plan.json - Tracking specification (gtm-strategy)
7. gtm-implementation-log.json - What was built (gtm-implementation)
8. gtm-test-results.json - Test pass/fail (gtm-testing)
9. gtm-fix-guide.md - Fix instructions (gtm-fix-guide)
10. docs/gtm-event-schema.md - Technical docs (gtm-reporting)
11. docs/gtm-executive-summary.md - Stakeholder docs (gtm-reporting)
For files that exist, extract:
gtm-tracking-plan.json: total events, P0 count, business modelgtm-implementation-log.json: implementedCount, timestamp, errorsgtm-test-results.json: passed count, failed count, timestampgtm-config.json: accountId, containerId (confirm API is configured)Output a clean pipeline status:
=== GTM Pipeline Status ===
Project: [containerId from gtm-config.json, or "not configured"]
Last checked: [current timestamp]
--- Setup ---
[✓/✗] Business context gtm-context.md [found / not found]
[✓/✗] GTM credentials gtm-credentials.json [found / not found]
[✓/✗] GTM config gtm-config.json [found: acct/container IDs / not found]
--- Planning ---
[✓/✗] Analytics audit audit-report.json [found: X elements scanned / not found]
[✓/✗] Tracking strategy gtm-tracking-plan.json [found: X events, Y P0 / not found]
--- Implementation ---
[✓/✗] Implementation gtm-implementation-log.json [found: X tags created, last run [date] / not found]
--- Validation ---
[✓/✗] Test results gtm-test-results.json [found: X passed, Y failed / not found]
[✓/✗] Fix guide gtm-fix-guide.md [found / not found]
--- Documentation ---
[✓/✗] Event schema docs/gtm-event-schema.md [found / not found]
[✓/✗] Executive summary docs/gtm-executive-summary.md [found / not found]
--- Coverage ---
Events planned: [X from tracking plan, or "N/A"]
Events implemented:[X from implementation log, or "N/A"]
Tests passing: [X/Y, or "N/A"]
Based on what's missing, give a single clear recommendation:
--- Recommended Next Step ---
[CONDITION → RECOMMENDATION]:
Nothing exists → "Start with gtm-analytics-audit to scan your codebase and capture project context, then gtm-setup to configure GTM API access."
context + setup missing → "Run gtm-setup to connect your GTM account. API credentials are needed before any implementation."
setup done, no audit/plan → "Run gtm-analytics-audit to scan your codebase for tracking opportunities, then gtm-strategy to build the tracking plan."
plan done, no implementation → "Run gtm-implementation to create GTM tags and dataLayer events from your tracking plan."
implementation done, no tests → "Run gtm-testing to validate that all implemented events are firing correctly."
tests done with failures → "X tests failed. Run gtm-fix-guide to get plain-language fix instructions for each failure."
all tests passing, no docs → "Implementation complete. Run gtm-reporting to generate technical docs and stakeholder summary."
docs done → "Pipeline complete. Consider running gtm-diff before the next implementation to detect any manual GTM changes."
After the recommendation, flag any issues found:
--- Flags ---
[Only show if anomalies detected]
⚠ gtm-test-results.json is older than gtm-implementation-log.json
→ Tests may not reflect the latest implementation. Re-run gtm-testing.
⚠ gtm-tracking-plan.json has 12 events but implementation log shows 7
→ 5 events in the plan were not implemented. Run gtm-implementation to complete.
⚠ gtm-token.json exists but is more than 7 days old
→ OAuth token may have expired. Run gtm-setup to refresh credentials.
None - console output only.
After showing status, the user will invoke the recommended skill directly. No further action needed from this skill.
development
Comprehensive GTM tracking testing and validation including automated Playwright headless testing, browser console testing, GTM Preview mode validation, and GA4 DebugView verification. Use when users need to "test GTM tracking", "validate dataLayer events", "debug GTM", "check if tracking works", "automated tracking tests", "run tracking tests without opening browser", or troubleshoot tracking issues. Prioritises automated testing over manual when possible.
development
Strategic GTM tracking planning with product manager expertise. Use when users need to plan tracking strategy, define what metrics to measure, understand business impact of tracking, create tracking specifications, or need guidance on "what should I track?" questions. Asks discovery questions about business goals, maps objectives to events, defines event taxonomy, and creates structured tracking plans. Trigger on - "plan GTM tracking", "what should I track", "create tracking plan", "define measurement strategy", "GTM strategy".
development
Automates Google Tag Manager API setup including googleapis installation, OAuth credential creation, token management, and prerequisites validation. Use when users need to "set up GTM API", "configure GTM API access", "get GTM OAuth credentials", "install googleapis", or encounter authentication errors. Handles complete technical setup from dependency installation through API connection verification.
development
Generates GTM implementation documentation, reporting impact analysis, GA4 report configurations, and stakeholder summaries. Use when users need to "document GTM implementation", "what reports can I build", "create event schema docs", "generate stakeholder summary", "analyze reporting impact", or want to understand business value of tracking data. Creates technical documentation, suggests GA4 explorations, defines remarketing audiences, and translates technical events into business insights.