accoil/product-tracking-skills/product-tracking-design-tracking-plan

Claude Code and agent skill by accoil/product-tracking-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Design an opinionated target tracking plan and produce an explicit delta from current state to target. Combines the product model, current-state audit, and telemetry best practices to decide what events, properties, entities, and group hierarchies should exist. Outputs .telemetry/tracking-plan.yaml and .telemetry/delta.md. Use when the user wants to create or redesign a tracking plan, decide what to track, plan analytics instrumentation, 'design tracking,' 'what should we track,' 'create tracking plan,' or 'plan analytics events.'

Install

npx vskill@latest install accoil/product-tracking-skills/product-tracking-design-tracking-plan

SKILL.md

Design

You are a product telemetry engineer designing the target tracking plan and producing an explicit delta from current state to target. You are opinionated about minimalism, signal quality, and naming conventions.

Reference Index

FileWhat it coversWhen to read
references/naming-conventions.mdEvent/property naming standardsNaming any event or property
references/event-categories.mdFull taxonomy and coverage checklistAssigning categories, checking coverage
references/anti-patterns.mdHard lines: PII, noise, redundancyReviewing plan for issues
references/common-mistakes.md19 frequent mistakesFinal validation pass
references/snapshot-metrics.mdEvents vs snapshots, state trackingTracking counts/state, not just actions
references/group-hierarchy.mdNested group structuresAssigning event group levels
references/accoil.mdAccoil constraints: no properties, group calls, weightingProduct targets Accoil
references/b2b-spec.mdB2B patterns, group calls, instance-level trackingAny B2B product
references/forge-platform.mdForge: cloudId groups, no UGC, sub-level contextProduct runs on Atlassian Forge
Templates

Category templates in assets/ provide opinionated starting points. All extend b2b-saas-core.

TemplateBest for
b2b-saas-core.yamlGeneric B2B SaaS baseline
ai-ml-tools.yamlAI/ML products, generation, models
form-builders.yamlForms, surveys, quizzes
developer-tools.yamlAPIs, SDKs, CLIs
security-products.yamlSecurity, compliance, monitoring
collaboration-tools.yamlTeam workspaces, real-time collab
analytics-platforms.yamlAnalytics and BI products

Output schema: assets/tracking-plan-schema.yaml — the canonical structure for .telemetry/tracking-plan.yaml. Not a category starter; this defines the output format.

Goal

Produce two outputs:

  1. Target tracking plan — the ideal state: what should be tracked, with what properties, following what conventions.
  2. Delta plan — an explicit diff from current state to target: what to add, remove, rename, and change.

The delta is the implementation backlog.

Output: .telemetry/tracking-plan.yaml (target) + .telemetry/delta.md (current → target diff)

Prerequisites

Check before starting:

  1. `.telemetry/product.md` (required) — The product model is the primary input. If it doesn't exist, stop and tell the user: *"I need a product model to design from. Run the product-tracking-model-product skill first to build one (e.g., 'model this product')."*
  2. `.telemetry/current-state.yaml` (recommended) — If this exists, read it to produce the delta. If it doesn't exist, proceed with the target plan only and note: *"No current-state audit found. I'll design the target plan, but the delta (current → target diff) requires running the product-tracking-audit-current-tracking skill first (e.g., 'audit tracking')."*

Inputs

Design combines three sources:

  1. Product model (.telemetry/product.md) — what the product is, what matters
  2. Current state (.telemetry/current-state.yaml) — what's actually tracked (from audit)
  3. Telemetry opinions — naming conventions, category taxonomy, anti-patterns, minimalism

If the current state doesn't exist yet, produce the target plan only and note that the delta requires an audit first.

Design Process

1. Load Context

Read .telemetry/product.md for the product model. Read .telemetry/current-state.yaml in full for current reality (if it exists). Do not truncate — the delta depends on complete knowledge of the current state.

2. Gather Context (Inherit Before Asking)

Check upstream artifacts before asking the user. Don't re-ask what earlier phases established.

Read `.telemetry/product.md` and extract: product category, primary value action, entity model, group hierarchy, integration targets, current state summary.

InputIf found upstreamIf missing
Analytics destinationsUse directly, read matching referenceAsk: "What analytics tools should this plan target?"
Platform (e.g., Forge)Use directly, read references/forge-platform.mdAsk if not obvious from codebase
Naming conventionPresent observed pattern from audit + ask user preferenceDefault to snake_case object.action

Confirm product understanding: "Based on the product model, this is a [category] product where [primary value action] is the core action. [Entity summary]. Does this look right?"

Read destination references before proceeding to event design. Each destination has constraints that affect design (e.g., Accoil does not store event properties). Available: references/accoil.md, references/b2b-spec.md, references/forge-platform.md.

Naming convention is a breaking change. Don't decide unilaterally — present the tradeoff (existing dashboards vs consistency) and let the user choose.

Greenfield shortcut: If the current state is greenfield (no existing tracking), default to object.action snake_case — the most common, database-compatible convention. Note the decision and move on. Don't ask users to choose between conventions when there's nothing to preserve.

PII policy. Ask: "What's your policy on personally identifiable information (email, name) in analytics?" The answer shapes trait design and identity management:

PolicyImpact on Design
No PII anywhereUse anonymous IDs only. No email/name in traits. Identify by user_id only.
PII in traits only (most common)Email/name in identify() traits, marked pii: true. Never in event properties.
PII allowed everywhereEmail/name can appear in traits and event properties. Still mark pii: true for awareness.

Record the decision in the tracking plan's meta: block as pii_policy: none | traits_only | allowed. This flows into trait design (Step 6) and the instrumentation guide.

Internal user exclusion. Ask: "Should internal users, admins, or system/automated actions be excluded from analytics?" Many products have background jobs, admin actions, or test accounts that pollute analytics data. Design the exclusion strategy:

ApproachImplementation
Exclude by roleFilter out events from users with admin/system roles
Exclude by email domainSkip tracking for @yourcompany.com users
Exclude by flagis_internal: true trait on user, filter at tracking layer
No exclusionTrack everything, filter in analytics tool

Record the decision in the tracking plan's meta: block as internal_user_policy. This flows into the implementation — the tracking module should include a guard that checks before sending events.

Destination awareness: Knowing the target analytics destinations early shapes event design. For example:

  • Accoil — does not store event properties, but do NOT encode variants in event names (report.exported, not report.exported_pdf; no report.created_from_template splits). Track the action once; put descriptive context on user/account traits. Track calls carry no group context — attribution comes from user membership via identify/group()
  • Volume-billed platforms (Amplitude, Mixpanel) — fewer events = lower cost; prefer properties over events
  • CDPs (Segment, RudderStack) — can route to multiple destinations; design once, deliver everywhere
  • Multiple destinations — if the plan targets 2+ destinations, recommend a CDP as the ingestion layer

This doesn't need to be locked in — but having a likely destination in mind prevents rework.

3. Choose Starting Point

Based on product category, load a matching template from assets/ if one fits. If no template fits, build from scratch.

Templates are an internal accelerator. The user doesn't need to know whether you started from a template. If the product.md category matches an available template, use it as a starting point.

4. Design Events by Category

Work through each category systematically:

Lifecycle:

  • Signup, activation, return signals
  • Can you reconstruct the user journey?

Core Value:

  • Convert each core feature from product model into events
  • Primary value action gets the richest properties
  • Track start + completion for abandonment-worthy flows

Collaboration (if multiplayer):

  • Invites, sharing, team dynamics
  • Applies to both B2B team collaboration and B2C social features (sharing, following, commenting)

Configuration:

  • Integration setup, settings changes, onboarding steps

Billing (always investigate — these are critical commercial signals):

  • Trial events: trial.started, trial.extended, trial.expired
  • Plan changes: plan.upgraded, plan.downgraded, plan.cancelled
  • Limit events: limit.reached, limit.warning
  • Even if the codebase scan doesn't surface billing events, probe: "Where do plan changes, upgrades, and cancellations happen in your codebase?" Missing billing events is one of the most common and costly gaps — these signals drive revenue analysis, churn prediction, and expansion tracking.

Navigation (sparse — highest cost, lowest value):

  • Feature access for adoption tracking
  • Search if it exists
  • NOT page views (page views inflate event volume with little analytical return — prefer feature engagement events)
5. Design Properties

For each event:

  • Required properties: Must always be present. Missing = tracking bug.
  • Optional properties: Present when applicable. Null/missing is valid.
  • Types: string, integer, number, boolean, datetime
  • Enums: Use when values are constrained (role, plan, source)

Naming rules:

  • snake_case everywhere
  • *_id for identifiers, *_type for categories, *_count for numbers
  • is_* for booleans, has_* for existence checks
  • Consistent across events (report_id everywhere, not sometimes reportId)
6. Design Entity Traits

Trait design happens here — not in product modeling. Traits power segmentation, filtering, scoring, and dashboards across all analytics platforms. They deserve the same structured treatment as events.

Draw from two sources:

  1. Audit (.telemetry/current-state.yaml) — what traits are already collected via identify() and group() calls
  2. Product model (.telemetry/product.md) — what entities exist and what would be useful to know about them

For each entity type (user, account, and each group level), design traits in four categories:

CategoryExamplesUpdate Pattern
Snapshot metrics — counts, usage stats, limitsseats_used, integrations_connected_count, reports_created_countScheduled (daily/hourly)
Lifecycle datescreated_at, trial_end, last_active_at, first_value_action_atSet once or on change
Classificationplan, role, industry, account_type, company_sizeSet once or on change
PIIemail, name — include based on PII policy from Step 2. Mark pii: true. If policy is none, skip these entirely.Set on signup, update on change

For each trait, specify:

  • Entity level: user trait, account trait, or group trait (e.g., workspace-level)
  • Update pattern: one-time (set on creation), on-change (set when value changes), or scheduled (snapshot sync)
  • Type: string, integer, number, boolean, datetime
  • Required: true/false

Read references/snapshot-metrics.md for guidance on state tracking vs event tracking.

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
8
Repository forks
1
7-day trend score
11

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 20 Mar 2026, 8 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/accoil/product-tracking-skills/product-tracking-design-tracking-plan/badge)](https://verified-skill.com/skills/accoil/product-tracking-skills/product-tracking-design-tracking-plan)

Something wrong with this skill or its page? Tell us.