Teach the agent once
Every time a coding agent adds a feature, it decides how to track it. Without rules it decides differently each time. A template in your project instructions fixes that: the agent reads it at the start of every session and follows the same conventions for event names, identify and conversions.
These templates are plain Markdown. Paste them into your repo, adjust the event list to your product, and commit them so everyone working on the project, people and agents, follows the same rules.
Templates
- CLAUDE.md analytics template: a ready block for
CLAUDE.md,AGENTS.mdor a Cursor rules file that makes the agent track events correctly with Orwel.
Related
- Vibe coding prompts: ten one-off prompts for installing, instrumenting and verifying.
- Vibe coding: why the measure step belongs in the loop.