skills/council/strategist/analytics-design/SKILL.md
Use when planning measurement strategy for a feature or product area. Covers metrics hierarchy design, event taxonomy, funnel instrumentation, A/B test framework, and data pipeline planning. Do not use for feature prioritization scoring (use impact-estimation) or MVP scope definition (use mvp-scoping).
npx skillsauth add dtsong/my-claude-setup analytics-designInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Design a comprehensive measurement strategy including metrics hierarchy, event taxonomy, funnel instrumentation, and A/B test framework to ensure features can be evaluated with data.
Produces measurement plans, event schemas, and experimentation frameworks as documentation artifacts. Does not implement tracking code, configure analytics platforms, or access production data. All outputs are design specifications for engineering implementation.
No user-provided values are used in commands or file paths. All inputs are treated as read-only analysis targets.
Build a three-tier metrics structure:
For each metric, define:
Establish a consistent naming convention:
editor, dashboard, onboarding)clicked, viewed, completed, errored)save_button, sidebar_nav, dark_mode)Naming rules:
category.action.label (e.g., editor.clicked.save_button)v2.editor.clicked.save_button)For each trackable interaction, define:
| Event Name | Properties | Type | Required | Description |
|------------|-----------|------|----------|-------------|
| feature.action.label | user_id | string | yes | Anonymous user identifier |
| | session_id | string | yes | Current session |
| | timestamp | ISO 8601 | yes | Event time |
| | [custom props] | ... | ... | Feature-specific data |
Include:
For each key user flow:
[Stage 1: View] → [Stage 2: Engage] → [Stage 3: Convert] → [Stage 4: Retain]
100% 65% 30% 20%
↓ 35% drop ↓ 35% drop ↓ 10% drop
[Exit survey?] [Tooltip help?] [Follow-up email?]
For each planned experiment:
onboarding_v2_simplified_flow)For each experiment:
Compaction resilience: If context was lost during a long session, re-read the Inputs section to reconstruct the feature area and measurement goals, check the Progress Checklist for completed steps, then resume from the earliest incomplete step.
North Star: [Metric Name]
├── Leading: [Indicator 1]
├── Leading: [Indicator 2]
├── Leading: [Indicator 3]
├── Guardrail: [Metric A] (must not decrease)
└── Guardrail: [Metric B] (must stay below threshold)
| Event Name | Description | Properties | Trigger |
|------------|-------------|-----------|---------|
| category.action.label | ... | {prop1, prop2, ...} | User clicks X |
| ... | ... | ... | ... |
[Stage 1] ──→ [Stage 2] ──→ [Stage 3] ──→ [Stage 4]
100% ___% ___% ___%
| Experiment | Hypothesis | Variants | Sample Size | Duration | Primary Metric | |------------|-----------|----------|-------------|----------|----------------| | ... | If..., then... | A/B | ... | ... weeks | ... |
testing
Use to convert a Word .docx file to PDF and/or verify its page count. Triggers on: converting docx to pdf, rendering a document, checking how many pages a docx produces, or asserting a page-count constraint (e.g. a resume must stay 2 pages). Wraps LibreOffice headless conversion.
development
Security audit checklist for web applications. Use when reviewing, auditing, or hardening a web app's security posture. Covers rate limiting, auth headers, IP blocking, CORS, security middleware, input validation, file upload limits, ORM usage, and password hashing. Triggers on requests like "review security", "harden this app", "security audit", "check for vulnerabilities", or when building/reviewing API endpoints.
development
Interactive wizard to craft effective prompts using Claude Code best practices
tools
Use when batch labeling, prioritizing, and assigning GitHub issues during triage sessions.