Skip to content
Skill

tracking-schema

by jtrackingai

AI Summary

Use this skill for Step 3 work only. If schema context is not prepared yet: If the site has a live GTM container installed, make sure has already produced before running .

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to install the "tracking-schema" skill in my project.

Please run this command in my terminal:
# Install skill into your project
mkdir -p .claude/skills/tracking-schema && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/tracking-schema/SKILL.md "https://raw.githubusercontent.com/jtrackingai/event-tracking-skill/main/skills/tracking-schema/SKILL.md"

Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.

Description

Use when the user wants schema preparation, event design, selector validation, schema review, or event-spec generation.

Tracking Schema

Use this skill for Step 3 work only.

Inputs

One of: • confirmed <artifact-dir>/site-analysis.json • existing <artifact-dir>/event-schema.json

Workflow

If schema context is not prepared yet: `bash ./event-tracking prepare-schema <artifact-dir>/site-analysis.json ` If the site has a live GTM container installed, make sure tracking-live-gtm has already produced <artifact-dir>/live-gtm-analysis.json before running prepare-schema. Then: Run validate-schema --check-selectors outside sandboxed environments by default. Do not first attempt the Playwright selector check inside the sandbox and then retry after it is intercepted. `bash ./event-tracking validate-schema <artifact-dir>/event-schema.json --check-selectors ./event-tracking generate-spec <artifact-dir>/event-schema.json ./event-tracking confirm-schema <artifact-dir>/event-schema.json ` During review: • explain what live tracking problems the schema fixes when live-gtm-analysis.json is present • explain what benefits the new schema brings compared with the current live baseline • show the event list • show grouped parameter tables per event • stop for user approval before GTM generation

Required Output

Produce and share: • <artifact-dir>/event-schema.json • optional <artifact-dir>/event-spec.md • optional <artifact-dir>/tracking-plan-comparison.md when live-gtm-analysis.json is present • <artifact-dir>/schema-decisions.jsonl after schema confirmation • <artifact-dir>/schema-restore/ restore snapshots after schema confirmation • updated <artifact-dir>/workflow-state.json

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted Yesterday
Active
Adoption100+ stars on GitHub
115 ★ · Growing
DocsREADME + description
Well-documented

GitHub Signals

Stars115
Forks35
Issues2
UpdatedYesterday
View on GitHub
Apache-2.0 License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Cursor