شعار Edit Guides Surveys

Edit Guides Surveys

مؤسسة
amplitude
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.

نظرة عامة

الناشرamplitude
المستودعmcp-marketplace
اسم المهارةedit-guides-surveys
النجوم
47
التفريعات
12
الملفات المرفقة
تعليمات فقط
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها amplitude على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Edit Guides Surveys في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/amplitude/mcp-marketplace/tree/main/plugins/amplitude/skills/edit-guides-surveys
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

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/edit-guides-surveys .claude/skills/edit-guides-surveys
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Edit Guides Surveys في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Edit Guides Surveys تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Edit Guides Surveys بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

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_context when 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"] with project. Filter with platform, created_by, created_after or created_before, and page with limit and cursor.
  • Read the draft: ["guides", "get"] with project, guide and include-unpublished-changes: "true", or ["surveys", "get"] with survey. 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 url from the response.
  • Update: ["guides", "update"] or ["surveys", "update"].
    • latest-version is required: pass latest_version from 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 variants back with every variant and step id kept. An item without an id is created as new.
  • Create: ["guides", "create"] or ["surveys", "create"] with project and title, plus optional platform and variants. 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.
  • 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}, with meta keys in camelCase.
  • Edit in place: change the block you need and send the whole content array back.
  • Keep each block's uuid. Survey responses are keyed by it. Give a new block a new v4 UUID.
typemeta
markdownvalue (Markdown; inline HTML is sanitized), optional alignment
buttonlabel, buttonType (primary, secondary, snooze), action
imagesrc, filename, size, optional altText
videotype: "url", src
survey_text, survey_text_shortprompt is the input's placeholder, not the question. Put the question in a markdown block or the step title.
survey_listoptions, listType (single, multiple), displayType (list, dropdown, grid)
survey_ratingtype (stars, numbers, emojis, nps), options, lowerLabel, upperLabel; emojis when the type is emojis
survey_hiddenlabel, 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, dismiss
  • link with value (the URL) and operation (self or blank)
  • go_to_step with value (the step id)
  • snooze
  • no_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: get with include-unpublished-changes: "true" and include-translations: "true". The response adds:
    • localization: the project's default_locale and the locales you 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>.missing and .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 like display_title, steps[123].title and steps[123].blocks[<uuid>].content.markdown.
  • Write only translations: update with latest-version and variants set to [{"id": "<variant id>", "translations": {"fr": {"<key>": "..."}, "de": {...}}}]. Send only the variants and locales you change, and no variant key or content fields. Several locales can go in one call.
  • Merge rules: keys you leave out keep their translation. null for a key clears it; null for a locale clears every key in it.
  • Values: match the source. Keep Markdown and HTML structure, links and {{...}} placeholders. content.survey_list takes an array of option labels in the source order.
  • New content: create doesn't take translations, and only existing steps and blocks can be translated. Create or edit the content first, read it again, then translate it.
  • Errors:
    • A 400 names variants.<i>.translations.<locale>.<key>. The usual causes are a locale that isn't in localization.locales (the user adds languages in project settings), the default locale, or a key that isn't in sources.
    • If localization is only {"enabled": false}, localization is turned off in the project settings: the read has no translations or status, and writes return 400. Tell the user to enable it there; don't retry.
  • Confirm: the update response includes translation_status. Report which locales still have missing or outdated keys.

Block-builder steps

A step with content_v2 was built in the block builder. The dashboard and SDK render that tree and ignore title and content. Unless help shows content_v2 as a writable field, don't edit those steps through the API. Tell the user to edit them in the app.

Confirm the result

Read the item again with include-unpublished-changes: "true", then summarize what changed and link the url.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي 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 على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Edit Guides Surveys عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Edit Guides Surveys في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/amplitude/mcp-marketplace/tree/main/plugins/amplitude/skills/edit-guides-surveys. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Edit Guides Surveys؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Edit Guides Surveys؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Edit Guides Surveys معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Edit Guides Surveys مجانية؟

نعم. نشرها amplitude على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇