次のような場合に使用: Amplitudeのトラッキングプラン(アプリやウェブサイトの利用者行動の記録設定)について、以下のような問題のあるイベント(記録対象となる利用者の行動)やイベントプロパティ(その詳細な属性情報)の中から、安全に削除できるものを監査・確認する場合 - 古い・重複している - 孤立している(どこからも参照されていない) - 複数のアプリ間での矛盾がある - 廃止された - 記録量が非常に多い - 自動生成されたクライアント側のもの - 一度も実際に記録されたことがない - 削除済みなのに今も送信されている
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.
削除を中心とした、証拠に基づくクリーンアップ一覧を作成します。このスキルは、テレメトリ(データ送信)、ソースコード、所有権、依存関係、トラッキングプランブランチ全体の削除監査に特化しています。広範な分類設計、命名、メタデータ、ガバナンス(統治)のガイダンスについては taxonomy を使用してください。
ユーザーが明示的に指示しない限り、分類オブジェクトの追加・復元、メタデータのみの変更、またはAmplitudeブランチの作成・変更・マージ・削除は行いません。
最初に以下を確立します:
ソースコードが必須です。ユーザーがプロジェクトに送信できるすべてのリポジトリまたはディレクトリを特定していない場合は、削除候補を推奨する前に、それらの場所を尋ねます。待機中に分類オブジェクトをインベントリできますが、結果は不完全とラベル付けし、削除の推奨または実行は行いません。このゲートを解除する前に、提供されたソースインベントリが既知のすべてのデータ送信元を網羅していることを確認するよう、ユーザーに要求してください。
「コード参照なし」と報告するのは、ユーザーが指定したすべてのソースルート(起点)が検索された場合のみです。
リポジトリ名、サービス、言語、プロジェクトID、イベント名、監視システム、またはファイルシステムレイアウトを仮定しないでください。各ソースルートのローカル指示を検索前に確認してください。
主要なモードを選択し、発見前に明記します。追加リクエストされたモードを順序立てて実行し、各モードが独自の基準を保つようにします。各モードの基準については references/modes.md をお読みください。
ユーザーが分類変更をリクエストした場合は、変更前に references/mutations.md もお読みください。
実行時に接続された公開Amplitude MCPカタログを検査し、提供している機能、アクション値、パラメータ、制限のみを使用します。ツール名をハードコード化または作成しないでください。公開ツールはロールアウト時に統合、名前変更、異なる方法で公開されることがあります。
利用可能な機能を使用して:
変更機能の選択と確認動作の詳細については、references/mutations.md をお読みください。
すべての完全なページ区切り読取について:
利用可能な場合は完全なトラッキングプランエクスポートを使用してイベント・プロパティ所有権を再構成し、メインとブランチを比較します。プロジェクト全体プロパティリストはグローバル定義を公開しますが、すべてのイベント接続を列挙しない場合があります。それのみ、エクスポート「Action」列、またはブランチUI計数から所有権を推測しないでください。分類状態を明示的に比較してください。
強い候補は通常、到達可能な送信元がなく、最近の取り込みがなく、クエリ使用が少ないか全くなく、アクティブな所有者または依存関係がなく、未解決の動的または外部ソースがありません。既存テレメトリ、依存関係、汎用名、必要なスキーマ、または不明な所有権は調査が必要であり、削除ではありません。
プロパティについて、少なくとも以下を報告します:
プロパティ | スコープ・所有者 | ソース別コード参照 | ボリューム・クエリウィンドウ | 最終確認日 | 必須 | 依存関係 | 信頼度 | 推奨
またソースカバレッジ、除外、未解決パス、機密データの仮名化、確認可能なバッチも報告します。変更バッチをユーザーのリクエスト制限内に保つ。そうでなければ小さな最初のバッチを優先します。
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:
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.
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.
If the user requests taxonomy changes, also read references/mutations.md before any mutation.
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:
For mutation capability selection and exact confirmation behavior, read references/mutations.md.
For every exhaustive paginated read:
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.
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:
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.
原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。