‹ 首页

event-schema-author

@clamp-sh · 收录于 1 周前

Author and maintain an event-schema.yaml file. A portable, typed declaration of every product analytics event the codebase fires (event names, properties, types, intent). The CLI generates a TypeScript type from it so tracking calls are autocompleted and type-checked at build time. Vendor-neutral; works with any analytics SDK (Clamp, GA4, Mixpanel, Amplitude, PostHog, Segment).

适合你,如果需要在代码中统一管理分析事件并保证类型安全

/ 通过 npx 安装 校验哈希
npx oh-my-skill add clamp-sh/analytics-skills/event-schema-author
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- clamp-sh/analytics-skills/event-schema-author
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify clamp-sh/analytics-skills/event-schema-author
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
6GitHub stars
~3K上下文体积 · 单文件
索引托管

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。