1k-analytics
CommunityDecorator-driven analytics for reliable event tracking.
Authorwanghaisheng
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Analytics event logging across a large codebase can become inconsistent when direct analytics calls are sprinkled throughout. This Skill standardizes instrumentation by leveraging a decorator-based logger that routes events through a single analytics pipeline.
Core Features & Use Cases
- Decorator-driven event logging with @LogToServer() to send events to the analytics server (Mixpanel).
- Scopes and scenes structure for organized, low-friction instrumentation across modules.
- Guidance on avoiding pitfalls like deduplication of high-frequency events and returning synchronous params, plus patterns for secure data handling.
Quick Start
Define a new event method in a scene with @LogToServer(), and invoke it via defaultLogger.{scope}.{scene}.{event} to log the event to Mixpanel.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: 1k-analytics Download link: https://github.com/wanghaisheng/web3-scaffold-app-monorepo/archive/main.zip#1k-analytics Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.