edit-guides-surveys
БесплатноБез исполняемых скриптовНе проверенCreates, edits, translates, and archives Amplitude Guides and Surveys through `run_amp`, including step content blocks, buttons, survey questions, and…
от amplitude★ 50 звёзд на GitHubОб этом скилле
Edit Guides and Surveys
All guide and survey reads and writes go through run_amp, which calls the Amplitude Developer API with the user's MCP credentials. Call them guides and surveys, not "nudges".
Before you write
- Project: use
get_amplitude_contextwhen the project isn't known. Ask the user rather than guessing. - Parameters: check them before the first call of each command, for example
{"command": ["help", "guides", "update"]}. The help output includes the full step and content block schema. - Find the item:
["guides", "list"]or["surveys", "list"]withproject. Filter withplatform,created_by,created_afterorcreated_before, and page withlimitandcursor. - Read the draft:
["guides", "get"]withproject,guideandinclude-unpublished-changes: "true", or["surveys", "get"]withsurvey. Without that flag you get the live version, which may differ from the draft you're about to change.
Writes
- Draft only. Every write changes the draft. Publishing happens in the Amplitude app, so say so and link the item's
urlfrom the response. - Update:
["guides", "update"]or["surveys", "update"].latest-versionis required: passlatest_versionfrom the get you just did.- A 409 means someone else changed the item since you read it. Get it again, reapply your change, and retry once.
- Send only the fields you change. To edit steps, send
variantsback with every variant and stepidkept. An item without anidis created as new. - Create:
["guides", "create"]or["surveys", "create"]withprojectandtitle, plus optionalplatformandvariants. New items are drafts. - Archive:
["guides", "archive"]or["surveys", "archive"]. This only works for items that were never published.- Run it with
dry-run: "true"first. - Then run it with
allowDestructive: true, after the user confirms.
- Run it with
- Retries aren't safe. A retried create makes a duplicate. After an ambiguous failure, list or get before you try again.
- Objects and arrays as flags: pass them as JSON strings, for example
"variants": "[...]".
Step content
A step has a title, a form_factor (modal, popover, tooltip, banner, pin, card, checklist) and content, an array of blocks rendered top to bottom.
- Block shape:
{uuid, type, meta}, withmetakeys in camelCase. - Edit in place: change the block you need and send the whole
contentarray back. - Keep each block's
uuid. Survey responses are keyed by it. Give a new block a new v4 UUID.
type |
meta |
|---|---|
markdown |
value (Markdown; inline HTML is sanitized), optional alignment |
button |
label, buttonType (primary, secondary, snooze), action |
image |
src, filename, size, optional altText |
video |
type: "url", src |
survey_text, survey_text_short |
prompt is the input's placeholder, not the question. Put the question in a markdown block or the step title. |
survey_list |
options, listType (single, multiple), displayType (list, dropdown, grid) |
survey_rating |
type (stars, numbers, emojis, nps), options, lowerLabel, upperLabel; emojis when the type is emojis |
survey_hidden |
label, source ({type: "static", value} or {type: "event_property", property}) |
Question validation: questions take an optional validation.required: {value, message}. A required question needs a message.
Button actions:
step_forward,step_back,complete,dismisslinkwithvalue(the URL) andoperation(selforblank)go_to_stepwithvalue(the step id)snoozeno_action
A button's actions field is an action sequence that overrides action. If you change action on a button that has one, update actions.navigation to match, or remove actions. Leave action types you don't recognize unchanged.
Translations
Translations are stored per variant, as locale → translation key → text. The default locale is the content itself. Edit it with the step content, not with translations.
- Read first:
getwithinclude-unpublished-changes: "true"andinclude-translations: "true". The response adds:localization: the project'sdefault_localeand thelocalesyou can write.- Per variant,
translations: what is stored now. - Per variant,
translation_status.sources: every translatable key with its default-locale text. Translate these values. - Per variant,
translation_status.locales.<locale>.missingand.outdated: what is left to do. An outdated key was translated from text that has since changed.
- Copy keys from
sources. Don't build them. They look likedisplay_title,steps[123].titleandsteps[123].blocks[<uuid>].content.markdown. - Write only translations:
updatewithlatest-versionandvariantsset to `[{"id": "", "translations": {"fr": {
Установить edit-guides-surveys в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл edit-guides-surveys?
Creates, edits, translates, and archives Amplitude Guides and Surveys through `run_amp`, including step content blocks, buttons, survey questions, and translations. Use before changing a guide's or survey's copy, steps, questions, buttons, targeting, settings, or translations.
Как установить скилл edit-guides-surveys?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл edit-guides-surveys запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic