agentleFS
jtrackingaijtrackingai/analytics-tracking-automation/skills/tracking-shopify/SKILL.md

tracking-shopify

Skill142 starsChanged 8 months agoApache-2.0View on GitHub

Use when the platform is Shopify or the run needs the Shopify-specific schema, sync, install, or verification branch.

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 7 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill as the Shopify-specific branch contract after platform detection.

    line 8
  2. Distinctive:

    Use this skill when:

    line 12
  3. Very specific:

    Use tracking-discover and tracking-group for those phases.

    line 27
  4. Very specific:

    keep ecommerce funnel events primarily as triggerType: "custom"

    line 36
  5. Distinctive:

    do not expect standard automated GTM preview to be the source of truth

    line 46
  6. Distinctive:

    default to a short Shopify-specific summary before listing files

    line 62
  7. Distinctive:

    keep artifact references after the summary, not before it

    line 64
  8. Distinctive:

    Stop after the Shopify-specific artifact or manual verification plan the user asked for.

    line 68
  9. Distinctive:

    Do not force the generic preview path on a Shopify run.

    line 70

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Tracking Shopify

Use this skill as the Shopify-specific branch contract after platform detection.

When To Use

Use this skill when:

  • site-analysis.json reports platform.type: "shopify"
  • the user says the target is a Shopify storefront
  • sync or verification must produce Shopify custom pixel artifacts
  • the shared discovery / grouping flow has already established that the run is on the Shopify branch

Shared Early Stages

Shopify still uses the same early workflow as generic sites:

  • analysis
  • page grouping
  • page-group approval

Use tracking-discover and tracking-group for those phases.

Shopify-Specific Rules

Schema phase:

  • run prepare-schema
  • read shopify-schema-template.json
  • read shopify-bootstrap-review.md
  • keep ecommerce funnel events primarily as triggerType: "custom"
  • validate selector-based CTA events, but do not expect selector checking to validate Shopify ecommerce custom events

Sync phase:

  • sync also generates shopify-custom-pixel.js
  • sync also generates shopify-install.md

Verification phase:

  • do not expect standard automated GTM preview to be the source of truth
  • install the Shopify custom pixel first
  • validate with GA4 Realtime and Shopify pixel debugging tools

Required Output

Expect some or all of:

  • <artifact-dir>/shopify-schema-template.json
  • <artifact-dir>/shopify-bootstrap-review.md
  • <artifact-dir>/shopify-custom-pixel.js
  • <artifact-dir>/shopify-install.md
  • updated <artifact-dir>/workflow-state.json

Closeout Style

  • default to a short Shopify-specific summary before listing files
  • explain whether the current output is schema guidance, install guidance, or manual verification guidance
  • keep artifact references after the summary, not before it

Stop Boundary

Stop after the Shopify-specific artifact or manual verification plan the user asked for.

Do not force the generic preview path on a Shopify run.

References

  • ../../references/shopify-workflow.md
  • ../../references/event-schema-guide.md
  • ../../references/output-contract.md

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.