generators-analytics-setup
CommunitySwap analytics providers without app changes
AuthorAutisticAF
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill removes the friction of adding analytics to Swift apps by generating a protocol-based, provider-swappable analytics layer so developers can instrument events without locking into a specific vendor.
Core Features & Use Cases
- Protocol-based API: Generates a stable AnalyticsService protocol and default behaviors so app code only depends on an interface.
- Provider implementations: Produces provider files for TelemetryDeck, Firebase, Mixpanel, and a NoOp implementation for testing or privacy modes.
- SwiftUI integration: Adds an Environment key for easy dependency injection in views and previews.
- Use Case: Add analytics to an existing iOS app, track lifecycle and user events, run tests with NoOpAnalytics, and switch providers by changing a single registration line in App entry.
Quick Start
Generate a protocol-based analytics setup for your Swift app with TelemetryDeck as the provider and NoOpAnalytics for tests.
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: generators-analytics-setup Download link: https://github.com/AutisticAF/claude-code-apple-dev-plugin/archive/main.zip#generators-analytics-setup 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.