Logo Tracking Plan Audit

Tracking Plan Audit

Tổ chức
amplitude
tracking-plan-audit

Use when auditing Amplitude tracking plans for safe deletion candidates among stale, duplicate, orphaned, cross-app, retired, high-volume, generated-client, never-ingested, or deleted-but-still-emitted events and event properties.

Tổng quan

Nhà phát hànhamplitude
Kho mãmcp-marketplace
Tên kỹ năngtracking-plan-audit
Sao
47
Bản fork
12
Tệp đi kèm
2
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI là Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 2 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được amplitude công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Tracking Plan Audit trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/amplitude/mcp-marketplace/tree/main/plugins/amplitude/skills/tracking-plan-audit
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/amplitude/mcp-marketplace.git /tmp/mcp-marketplace
mkdir -p .claude/skills
cp -r /tmp/mcp-marketplace/plugins/amplitude/skills/tracking-plan-audit .claude/skills/tracking-plan-audit
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Tracking Plan Audit trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự tải Tracking Plan Audit ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên Tracking Plan Audit không bị giới hạn ở mô hình mà kỹ năng này được viết cho. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên kỹ năng chưa dùng không tốn chi phí.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Tracking Plan Audit

Produce a deletion-focused, evidence-backed cleanup inventory. This skill specializes in deletion audits across telemetry, source code, ownership, dependencies, and tracking-plan branches. Use taxonomy for broad taxonomy design, naming, metadata, and governance guidance.

Do not add or restore taxonomy objects, make metadata-only changes, or create, mutate, merge, or delete an Amplitude branch unless the user explicitly asks.

At the start, establish:

  • the Amplitude project and environment;
  • whether the goal is lower ingestion volume, fewer taxonomy types, or both;
  • every repository or directory that may emit the project's data;
  • the requested audit mode and lookback window.

Source-code gate

Source code is required. If the user has not identified every repository or directory that can emit into the project, ask for those locations before recommending deletion candidates. You may inventory taxonomy objects while waiting, but label the result incomplete and do not recommend or execute any deletion. Before lifting this gate, ask the user to confirm that the supplied source inventory covers every known emitter. Never report "no code reference" unless every user-identified source root was searched.

Do not assume repository names, services, languages, project IDs, event names, observability systems, or filesystem layouts. Inspect each source root's local instructions before searching it.

Route the audit

Choose a primary mode and state it before discovery. Run additional requested modes sequentially so each keeps its own criteria. Read references/modes.md for each mode's criteria.

  1. General stale events/properties
  2. Cross-app overlap
  3. Planned but never ingested
  4. Global orphan properties
  5. Dead generated-client definitions
  6. Duplicate events/properties
  7. Retired features, routes, flags, or experiments
  8. High-volume, low-query instrumentation
  9. Code still emitting deleted or blocked events

If the user requests taxonomy changes, also read references/mutations.md before any mutation.

Non-negotiable evidence rules

  • Keep telemetry, query/dependency usage, code references, source ownership, and taxonomy state as separate signals. No single signal proves deletion is safe.
  • Audit every identified source root. Include generated clients, direct SDK use, wrappers, dynamic dispatch, frontend, backend, mobile, jobs, and integrations where present.
  • A generated definition is potential usage, not a production call site. Trace its method or class through imports, wrappers, registries, aliases, tests, and production callers.
  • A literal-search miss is insufficient. Check generic trackers, constructed names or keys, dictionary spreads, serializers, constants, and service-specific clients.
  • Determine whether each enclosing code path is reachable through imports, route wiring, flags, experiments, jobs, tests, and callers. Distinguish dead code from a live feature whose analytics call alone should be removed.
  • Recent ingestion with no owner in the known roots indicates an external or unidentified source. Report it and ask for another likely source root before recommending deletion.
  • Check charts, dashboards, cohorts, metrics, experiments, transformations, derived properties, lookups, alerts, exports, and other relationships where available. A zero saved-query count does not prove there is no dependency. If a required dependency surface is unavailable, mark it unresolved and do not recommend deletion.
  • When retirement or production activity matters, ask which monitoring, feature-flag, experimentation, and deployment systems the user has connected. Prefer their read-only MCP or app capabilities over assumptions or manual screenshots.
  • Treat default/system objects and experiment, session-replay, or agent fields cautiously unless the selected mode explicitly investigates them.
  • Do not expose credentials, property values, PII, customer payloads, or other customer-sensitive data. Report aggregates, names only when necessary, and access-controlled evidence links.

Public Amplitude MCP capabilities

Inspect the connected public Amplitude MCP catalog at runtime and use only the capabilities, action values, parameters, and limits it advertises. Do not hard-code or invent tool names: public tools can be consolidated, renamed, or exposed differently during a rollout.

Use the available capabilities to:

  • discover accessible projects and ask the user to select one when its ID is missing; never infer an ID from a name;
  • read raw events and event properties, preferring the consolidated taxonomy reader when the catalog exposes one;
  • include deleted objects when comparing states or historical ownership;
  • select exactly one branch identifier when auditing a tracking-plan branch;
  • distinguish project-wide/global properties from properties attached to one event using the response's documented scope fields.

For mutation capability selection and exact confirmation behavior, read references/mutations.md.

Complete taxonomy reads

For every exhaustive paginated read:

  1. Request the largest supported page size, up to 500.
  2. Follow every returned cursor until the response says there are no more rows.
  3. Track unique rows using the response's stable identity plus property/event scope, then compare the accumulated count with the API's reported total.
  4. Retry transient timeouts and gateway/server failures from the last known cursor using bounded retries and backoff appropriate to the connected host. Never treat an error payload or failed empty page as completion.
  5. If retries are exhausted or counts disagree, report incomplete coverage and do not recommend deletions from the partial result.

Use a complete tracking-plan export when available to reconstruct event-to-property ownership and compare main with a branch. A project-wide property listing exposes global definitions but may not enumerate every event attachment. Do not infer ownership from it alone, the export Action column, or branch UI counters; compare taxonomy states explicitly.

Shared audit workflow

  1. Snapshot the relevant main or branch taxonomy and telemetry window.
  2. Fully paginate required reads and record coverage against reported totals.
  3. Build ownership from complete exports, including active and deleted scopes.
  4. Search every identified source root; classify production, dynamic, generated-only, test-only, dead, and unknown-external references.
  5. Check dependencies and resolve every code, ownership, and source signal.
  6. Classify candidates by confidence, evidence, uncertainty, and recommended deletion transition.
  7. After any event deletion, always perform a global orphan-property sweep. Present global property candidates separately and ask for separate explicit confirmation; event deletion never authorizes or implies global deletion.

Strong candidates normally have no reachable emitter, no recent ingestion, little or no query usage, no active owner or dependency, and no unresolved dynamic or external source. Existing telemetry, dependencies, generic names, required schemas, or unknown ownership require investigation, not deletion.

For properties, report at least:

text
property | scope/owners | code references by source | volume/query window | last seen | required | dependencies | confidence | recommendation

Also report source coverage, exclusions, unresolved paths, sensitive-data redactions, and a reviewable batch. Keep mutation batches within the user's requested limit; otherwise prefer a small first batch.

Tệp đi kèm

Mô hình đọc các tệp này khi cần trong lúc kỹ năng được tải. Các tệp được cung cấp ở dạng có thể đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Tracking Plan Audit làm được gì?

Use when auditing Amplitude tracking plans for safe deletion candidates among stale, duplicate, orphaned, cross-app, retired, high-volume, generated-client, never-ingested, or deleted-but-still-emitted events and event properties.

Vì sao nên dùng Tracking Plan Audit trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Tracking Plan Audit là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Tracking Plan Audit trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/amplitude/mcp-marketplace/tree/main/plugins/amplitude/skills/tracking-plan-audit. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm và cài đặt thành một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Tracking Plan Audit?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Bạn có thể dùng Tracking Plan Audit với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Tracking Plan Audit với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Tracking Plan Audit có miễn phí không?

Có. Kỹ năng này được amplitude phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp cho mô hình các công cụ mới để gọi — mã được chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và tiêu chí của đầu ra tốt. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇