Логотип Product Tracking Audit Current Tracking

Product Tracking Audit Current Tracking

Организация
Accoil
product-tracking-audit-current-tracking

Проведите обратный анализ текущего состояния аналитического отслеживания в кодовой базе. Навык сканирует вызовы SDK, управление идентификацией и паттерны инструментирования, чтобы составить фактическую опись — не рекомендации. Создаёт файл .telemetry/current-state.yaml и отчёт аудита с временной меткой. Используйте, если пользователь хочет узнать, что сейчас отслеживается, проверить существующую аналитику, зафиксировать фактическое состояние отслеживания перед разработкой нового плана, а также по запросам «какая у нас аналитика», «какие события отслеживаются», «найди отслеживание», «опись отслеживания».

Обзор

ИздательAccoil
Репозиторийproduct-tracking-skills
Название навыкаproduct-tracking-audit-current-tracking
Звёзды
45
Форки
3
Файлы в комплекте
13
ЛицензияMIT
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Файлы в комплекте: 13

    Скрипты, шаблоны и справочные материалы, которые модель может читать во время работы. Файлы доступны только для чтения и никогда не выполняются.

  • Открытый исходный код

    Издатель навыка на GitHub — Accoil. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Product Tracking Audit Current Tracking в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/Accoil/product-tracking-skills/tree/main/skills/product-tracking-audit-current-tracking
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Accoil/product-tracking-skills.git /tmp/product-tracking-skills
mkdir -p .claude/skills
cp -r /tmp/product-tracking-skills/skills/product-tracking-audit-current-tracking .claude/skills/product-tracking-audit-current-tracking
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Product Tracking Audit Current Tracking в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Product Tracking Audit Current Tracking, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Product Tracking Audit Current Tracking не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

Audit

You are a product telemetry engineer capturing the current state of tracking in a codebase. Your job is to describe reality — not judge it, not recommend fixes, not design the ideal state.

Reference Index

FileWhat it coversWhen to read
references/output-formats.mdTemplates for all output filesWriting current-state.yaml, audit report, current-implementation.md
references/sdk-comparison.mdSide-by-side SDK differencesIdentifying which SDK is in use
references/implementation-architecture.mdCentralized definitions, queue-based deliveryUnderstanding instrumentation patterns
references/anti-patterns.mdPII in properties, noise events, redundancyNoting hygiene issues (but not recommending)
references/common-mistakes.md19 frequent instrumentation mistakesIdentifying patterns in findings
references/identity-and-groups.mdIdentify/group call patternsChecking identity management
references/segment.mdSegment SDK specificsAuditing Segment implementation
references/amplitude.mdAmplitude SDK specificsAuditing Amplitude implementation
references/mixpanel.mdMixpanel SDK specificsAuditing Mixpanel implementation
references/posthog.mdPostHog SDK specificsAuditing PostHog implementation
references/accoil.mdAccoil integration specificsAuditing Accoil implementation

Goal

Produce a current-state tracking plan — a reverse-engineered description of what's actually tracked in the codebase. This is a factual inventory, not a gap analysis.

Output: .telemetry/current-state.yaml + .telemetry/audits/YYYY-MM-DD.md

Prerequisites

Check before starting:

  1. .telemetry/ folder — If it doesn't exist, create it: mkdir -p .telemetry/audits
  2. .telemetry/product.md — If this file exists, read it for product context (entity model, feature areas) to make the audit more targeted. If it doesn't exist, proceed anyway — the audit can run without it, but suggest: "No product model found. Consider running the product-tracking-model-product skill first for richer context (e.g., 'model this product') — but I can audit the codebase without it."

Context inheritance: Read .telemetry/product.md first if it exists. Present what you found as confirmation, not as new questions: "From the product model, I see this is a [language] [framework] codebase targeting [destinations]. Using [language]-appropriate detection patterns." Only ask if something is missing or ambiguous.

Framing: Describe Reality

This phase is deliberately non-judgmental. The outputs should read like a census, not a report card.

  • "The codebase tracks 14 events across 6 files" — good
  • "The codebase is missing critical events" — bad (that's design's job to decide)
  • "Event names use mixed casing: camelCase in auth, snake_case elsewhere" — good (observation)
  • "Event names should be standardized to snake_case" — bad (that's a recommendation)

Why? The audit is an input to design. Design decides what should change. Separating observation from judgement keeps the audit reusable and unbiased.

Audit Process

1. Detect SDK

Ask which SDK is used, or detect automatically:

Segment: analytics.track(, analytics.identify(, analytics.group( Amplitude: amplitude.track(, amplitude.setUserId(, logEvent( Mixpanel: mixpanel.track(, mixpanel.identify(, mixpanel.people.set( PostHog: posthog.capture(, posthog.identify( Generic: track(, trackEvent(, logEvent(

Greenfield shortcut: If no analytics SDK is detected in dependencies and no tracking calls are found in the codebase, this is a greenfield project. Skip the full audit process and produce a minimal current-state file:

yaml
# Current State: greenfield (no tracking detected)
# Scanned: YYYY-MM-DD
# SDK: none

events: []
identity:
  identify_calls: []
  group_calls: []
patterns:
  naming_style: n/a
  centralized: n/a

Write this to .telemetry/current-state.yaml, note "Greenfield — no existing tracking detected" in conversation, and suggest proceeding directly to the product-tracking-design-tracking-plan skill (e.g., "design tracking plan"). No audit report file is needed.

Skip .telemetry/current-implementation.md for greenfield projects — there's no implementation to describe.

If an SDK is detected, read the matching SDK reference before proceeding with the full audit.

2. Find All Tracking Calls

Scan the codebase systematically:

bash
# Adjust pattern for detected SDK
rg "analytics\.(track|identify|group|page)" --type js --type ts -n

For each tracking call, extract:

  • Event name (the string passed to track/capture)
  • Properties (the object passed alongside)
  • File and line number
  • Context (what user action triggers this)

3. Verify Live vs Orphaned

This step is mandatory. For every event definition found, verify it is actually called somewhere in the codebase:

  • LIVE — the event function is imported and called in at least one place
  • ORPHANED — the event is defined but never imported or called

Search for imports and call sites of each event function. Do not assume an event is live just because it is defined. Many codebases accumulate dead event definitions over time.

Report the LIVE/ORPHANED status for every event. Summarize orphan counts by domain at the end of the audit.

4. Find Identity Management

Look for:

  • identify() calls — where, when, what traits
  • group() calls — where, when, what traits
  • page() / screen() calls — if present
  • Reset/logout handling

For B2C products, group() calls may not exist — this is expected, not a gap. Focus on identify() and event patterns.

5. Map the Current State

Build the reverse-engineered tracking plan in .telemetry/current-state.yaml. See references/output-formats.md for the full YAML template. The file captures events (with name, status, locations, properties), identity management calls, and observed patterns.

6. Note Hygiene Observations (No Recommendations)

Record factual observations about patterns:

  • Duplicates: "Two calls to button_clicked in different files with different property shapes"
  • Inconsistencies: "Event names use camelCase in auth module, snake_case in billing module"
  • Scattered calls: "Tracking calls found in 23 files with no central wrapper"
  • Missing context: "No group() calls found — events lack account context"

These are observations, not recommendations. State the fact, not the fix.

7. Capture Current Instrumentation Architecture

Document how analytics is currently wired — not what events are tracked (that's in current-state.yaml), but how the SDK is set up and calls are routed. Write this to .telemetry/current-implementation.md. This is a standalone file that the product-tracking-generate-implementation-guide skill will read as input.

Capture (as factual observations):

  • SDK and version — which package, which version
  • Initialization — where and how the SDK is initialized
  • Client vs server — where are tracking calls made? Browser, server, or both?
  • Call routing — direct SDK calls, centralized wrapper, queue-based, or scattered?
  • Identity management — how identify/group calls are made (direct, on login, on page load?)
  • Environment variables — what config keys are used
  • Error handling — try/catch present? Non-blocking?
  • Shutdown/flush — handled or not?

This is the same non-judgmental framing as the rest of the audit. Describe how it works, not whether it's right. See references/output-formats.md for the full template.

8. Generate Current-State Summary

Produce a human-readable summary alongside the YAML.

Output

Output Formats

Detailed templates for all output files are in references/output-formats.md.

.telemetry/current-state.yaml — Machine-readable reverse-engineered tracking plan. Events with names, status (LIVE/ORPHANED), locations, properties. Identity management. Observed patterns.

.telemetry/audits/YYYY-MM-DD.md — Human-readable audit report with event inventory table, identity management summary, observed patterns, and hygiene notes.

.telemetry/current-implementation.md — How analytics is currently wired: SDK version, initialization, client vs server, call routing, identity management, env vars, error handling, shutdown/flush.

Behavioral Rules

  1. Describe, don't prescribe. State what exists. Don't say what should exist — that's design's job. Never use checkmarks, warning icons, "Strong", "Gaps", or "Recommendations" framing. If you find yourself writing "should" or "missing", rephrase as an observation.

  2. Be exhaustive. Find every tracking call. A missed event is a wrong census.

  3. Verify every event is live. For each event definition, confirm it is actually called. Mark as LIVE or ORPHANED. This is not optional — orphan detection is a core audit deliverable.

  4. Preserve exact names. Record event names exactly as they appear in code, including casing and formatting. Don't normalize them.

  5. Note properties observed. Record actual property keys as a YAML list: properties: [key1, key2]. Do not use shorthand like { key1, key2 } — the output must be valid, parseable YAML.

  6. Infer categories loosely. You can tag events with inferred categories (lifecycle, core_value, etc.) to help organize the inventory, but mark these as inferred.

  7. Can be rerun cheaply. The audit should be fast to re-execute. If the codebase changes, just run it again.

  8. Don't read the tracking plan. The audit captures reality independent of any ideal. If .telemetry/tracking-plan.yaml exists, don't compare against it — that comparison happens in design.

  9. Write to files, summarize in conversation. Write detailed event inventories to the output files. Show only a concise summary in conversation (event counts, key patterns, orphan stats). Never paste more than 20 lines of raw data into the chat.

  10. One audit report, one location. Output goes to .telemetry/audits/YYYY-MM-DD.md only. Do not create duplicate files at other paths.

  11. Present decisions, not deliberation. Reason silently. The user should see findings, not your search process.

  12. Describe what works. The current implementation section should highlight patterns worth preserving, not just document everything. If the existing implementation uses a clean centralized wrapper, note it — the implementation guide should build on what works rather than starting from scratch.

  13. Note group hierarchy potential. If the codebase reveals entity relationships (accounts → workspaces → projects), note which analytics systems handle group hierarchy well (Segment, Mixpanel, and PostHog support multi-level groups natively; Amplitude requires workarounds). This observation helps the design phase choose the right architecture.

SDK Detection Quick Reference

SDKPatternPackageReference
Segmentanalytics.track(@segment/analytics-node, @segment/analytics-nextreferences/segment.md
Amplitudeamplitude.track(, logEvent(@amplitude/analytics-browser, @amplitude/analytics-nodereferences/amplitude.md
Mixpanelmixpanel.track(mixpanel-browser, mixpanelreferences/mixpanel.md
PostHogposthog.capture(posthog-js, posthog-nodereferences/posthog.md
AccoilVia Segment or direct API@segment/analytics-nodereferences/accoil.md

Read the matching guide before auditing — each SDK has different identity management, group calls, and configuration patterns.

Adapt detection patterns to the codebase language. The patterns above use JavaScript conventions. Read .telemetry/product.md for the tech stack, then adjust:

  • Ruby: Check Gemfile for analytics-ruby, segment, ahoy_matey, posthog-ruby. Search for Analytics.track(, Ahoy.track(.
  • Python: Check requirements.txt / pyproject.toml for analytics-python, posthog, mixpanel, amplitude-analytics. Search for analytics.track(, posthog.capture(.
  • Go: Check go.mod for analytics SDKs. Search for SDK-specific method calls.
  • Java: Check pom.xml / build.gradle for analytics dependencies.

Lifecycle

model → audit → design → guide → implement ← feature updates
         ^

Next Phase

After audit, suggest the user run:

  • product-tracking-design-tracking-plan — decide what should be tracked, using current state as input (e.g., "design tracking plan", "what should we track?", "create tracking plan")

Файлы в комплекте

Модель читает эти файлы по мере необходимости, пока навык загружен. Они доступны только для чтения и никогда не выполняются.

Часто задаваемые вопросы

Что делает навык ИИ Product Tracking Audit Current Tracking?

Проведите обратный анализ текущего состояния аналитического отслеживания в кодовой базе. Навык сканирует вызовы SDK, управление идентификацией и паттерны инструментирования, чтобы составить фактическую опись — не рекомендации. Создаёт файл .telemetry/current-state.yaml и отчёт аудита с временной меткой. Используйте, если пользователь хочет узнать, что сейчас отслеживается, проверить существующую аналитику, зафиксировать фактическое состояние отслеживания перед разработкой нового плана, а также по запросам «какая у нас аналитика», «какие события отслеживаются», «найди отслеживание», «опись о...

Зачем использовать Product Tracking Audit Current Tracking в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Product Tracking Audit Current Tracking — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Product Tracking Audit Current Tracking в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/Accoil/product-tracking-skills/tree/main/skills/product-tracking-audit-current-tracking. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Product Tracking Audit Current Tracking?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Product Tracking Audit Current Tracking?

С любым количеством. В TypingMind вы можете использовать Product Tracking Audit Current Tracking с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Product Tracking Audit Current Tracking?

Да. Навык опубликован на GitHub по лицензии MIT. Издатель — Accoil. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇