Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

copy-tracking-plan-to-projects

БесплатноБез исполняемых скриптовНе проверен

Copies selected tracking-plan events, or every event in the plan, from one Amplitude project's main or branch, or from a tracking-plan CSV file, to other…

amplitudeот amplitude★ 50 звёзд на GitHub

Об этом скилле

Copy tracking plan to projects

This skill covers only taxonomy data from tracking-plan CSV (events, event properties, and referenced property-group rows present in that CSV). It does not cover instrumentation, data sources, destination setup, governance rollout, or branch reviews and approvals. It merges an import branch only when the user explicitly asks in step 8.

Required inputs

  • A source, one of:
    • a source project (id or name) and optional source branch name, or
    • CSV mode: a tracking-plan CSV file in the format Amplitude exports, as a file path or pasted text.
  • One or more target projects (ids or names).
  • For a source project: event names to sync, or all events (the whole events tracking plan of the source main or branch). If the user names a source branch but no events, step 2 derives them from that branch. CSV mode copies every event in the file.
  • Optional branch-name prefix for target imports.

Important run_amp constraints:

  • Inline CSV cap is 256 KiB (262,144 characters) for import and export output.
  • dry-run is not supported for tracking-plan export/import in run_amp.
  • Import must create a new branch; never use main or master.
  • Never set or change the CSV Action column; a value there can make import delete objects. Exports leave it empty except for IGNORE on events and properties that are unexpected (seen but not planned), deleted or blocked on the source; step 3 drops those rows.
  • For an event the target already has, import makes its sources, tags and property-group links match the CSV: ones the target has but the CSV lacks are removed. Sources are matched by name; a source name the target does not have is skipped, so if none of an event's CSV sources exist on the target, it ends up with no sources. Properties the target's event has but the CSV lacks are not unlinked. A blank cell does not clear a value the target has (seen for Object Description).

Workflow

  1. Pre-flight

    • Use one Amplitude MCP server (one region and environment) for every call in this run. If several are connected (for example US and EU), use the one whose get_amplitude_context lists every project the user named; ask only if more than one does, or none does.
    • Call run_amp with command: ["help", "tracking-plan", "export"] and command: ["help", "tracking-plan", "import"].
    • If either command is unavailable (availableThroughRunAmp: false) or the help call fails, stop and tell the user run_amp tracking-plan CSV is not enabled in the current MCP environment.
    • Help does not show whether this MCP connection can write: import needs the write scope listed in its requiredScopes, and a read-only connection only fails at the first import. Step 4 says so.
    • If a read fails with a transient error (a timeout or connection reset), retry it once. Never retry an import.
  2. Resolve and validate inputs

    • Call get_amplitude_context with no projectId. Use its projects list for every check below, and keep user.orgRole for step 4 (4 or 5 means org admin).
    • Resolve every project given by name to an id by exact appName match. If there is no exact match, or several projects match exactly, list the candidates with ids and ask which one is meant. If one project matches exactly but others have near-identical names (for example a [TEMP] copy or a (Dev) variant), use the exact match and list the look-alikes with ids in the step 4 preview so the user can correct it at the gate. Do not list a project the user named as the source or a target as a look-alike.
    • The source and every target must be in projects; stop and name any that is not (no access, or a different org). The source must not also be a target, and target ids must be unique.
    • CSV mode has no source project or source branch: skip the source checks and the event-list bullets below, and use the file name without its extension (or csv for pasted text), slugified like a project name, as <source-project> in the branch name. If the user names events, say CSV mode copies the whole file and ask them to trim the file or confirm.
    • If no events were given but a source branch was, call get_amp_taxonomy with action: "branch_changes" on the source branch, list the events it adds or updates, and ask the user to confirm the event list.
    • All-events mode applies only when the user asks for the whole tracking plan or all events (for example "copy the tracking plan from A to B"). If they gave neither events nor a source branch and did not say all, ask whether they mean all events or specific ones; never assume all. In all-events mode the event list comes from the step 3 export.
    • Otherwise, ensure every event name is non-empty. If source branch is empty, export from main by omitting branch-name
Полный SKILL.md на GitHub

Установить copy-tracking-plan-to-projects в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл copy-tracking-plan-to-projects?

Copies selected tracking-plan events, or every event in the plan, from one Amplitude project's main or branch, or from a tracking-plan CSV file, to other projects through run_amp tracking-plan CSV export/import, reviews each import branch, then merges, deletes, or leaves it as the user chooses. Use when asked to copy a tracking plan, tracking-plan changes or events to other projects, to apply a tracking-plan CSV to several projects, or to keep the same tracking-plan edits in sync across projects.

Как установить скилл copy-tracking-plan-to-projects?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл copy-tracking-plan-to-projects запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить copy-tracking-plan-to-projects с