Aller au contenu
Skillpedia
Analyse et tableurs41k · #6958

creating-surveys

Ce qu’il fait

Cette skill crée un sondage PostHog, du choix entre une apparition dans votre application ou un formulaire hébergé, jusqu'au choix de l'audience et des questions. Elle s'adresse aux équipes produit et recherche qui veulent recueillir des retours auprès des utilisateurs.

Quand l’utiliser

  • ✓Quand vous voulez recueillir des retours auprès des utilisateurs avec un sondage ou un formulaire.
  • ✓Quand vous voulez un sondage NPS ou de satisfaction affiché dans votre application.
  • ✓Quand vous voulez un formulaire de retour hébergé et partageable.

Lien du skill

https://github.com/PostHog/posthog/blob/master/products/surveys/skills/creating-surveys/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/PostHog/posthog/blob/master/products/surveys/skills/creating-surveys/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Crée un court sondage NPS pour les utilisateurs qui ont utilisé l'application cette semaine, et vérifie son audience avant de le lancer.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

La skill choisit le type de sondage qui correspond à votre objectif, rédige les questions et vérifie l'audience et les exigences de diffusion. Elle relit le brouillon pour que vous puissiez lancer en confiance.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

Creating surveys

Create a useful draft from the user's goal, then verify its audience and delivery before launch. The workflow can run through MCP without opening the survey editor.

Choose the delivery and questions

Infer the name, purpose, and questions from the request. Ask only for missing information that changes who receives the survey or how it is delivered.

User's goal Survey type Delivery requirement
Feedback inside an app popover A supported PostHog SDK with surveys enabled
Always-available feedback button widget SDK support and a widget configuration
A shareable hosted form external_survey A hosted survey link; no in-app targeting
A custom form built in application code api The app renders questions and captures survey events

Inspect the current tool schema for question types, scales, branching, and translations instead of guessing their JSON shapes. Minimal starting points are in examples.

Design for responses

These choices go with higher response rates in in-app surveys. Apply the question advice by default. Recommend the trigger and audience advice, and ask before adding a trigger or audience the user did not request, since both change who receives the survey. The evidence and its limits are in response rates.

  • Trigger on the moment you are asking about. Recommend showing the survey after the event that marks it, such as a completed checkout or a used feature, through conditions.events. Event-triggered surveys get about twice the responses of page-based ones. A URL condition alone does about as well as showing the survey on every page. Confirm the event exists in the project before using it.
  • Make the first question one click. Start with a single choice or a short rating. Surveys that open with an open-text question get about a fifth of the responses. Ask "why" in an optional open question after it.
  • Keep it short. About 4 in 10 people who start a two- or three-question survey stop before the end. Prefer one to three questions unless the user requests more.
  • Turn partial responses on with enable_partial_responses: true, so the first answer is kept when someone stops. It defaults to off when a survey is created through the API.
  • Recommend a targeted audience. Surveys shown to a person or cohort audience get more responses than surveys shown to everyone.
  • Keep any popup delay under 15 seconds. Longer delays go with fewer responses.

Survey names, questions, and appearance text are public content. Do not copy private customer details into them without making that visibility clear first.

Verify the audience and appearance

  • Use conditions for URL, event, device, and linked-flag-variant conditions. Resolve existing event and flag identifiers before using them. A URL condition does not define a person or cohort audience.
  • Use targeting_flag_filters.groups[].properties[] for person, group, or cohort targeting. Groups are alternative rules; properties within a group must all match. Preserve the intended audience when translating the request.
  • Cohorts containing behavioral filters cannot be used directly for survey targeting. Explain the restriction and offer a supported static snapshot or another equivalent audience definition. A snapshot does not update with the original cohort. Get agreement before making that tradeoff; never drop a rule or broaden the audience to make a failed request pass.
  • Hosted forms (external_survey) do not use in-app display conditions or targeting flags. Do not attach those fields to a hosted form.
  • Omit appearance unless customization is needed. whiteLabel: true requires the organization's white-labelling entitlement (Enterprise). Do not infer it from a request for custom colors. Verify entitlement before setting it. surveyPopupDelaySeconds must be non-negative.
  • Leave optional fields unset when unused. Do not fill them with null as a substitute for omission; question fields and nested objects have different nullability rules.

Create and review the draft

Call `posthog

Questions fréquentes

Quels types de sondages sont disponibles ?

Des fenêtres popover dans l'application, un widget de retour toujours accessible, des formulaires externes hébergés et des sondages personnalisés intégrés à votre code.

Lance-t-elle le sondage tout de suite ?

Elle prépare un brouillon et vérifie qu'il est prêt avant le lancement, afin que vous puissiez le relire d'abord.

Un sondage intégré à l'application nécessite-t-il un SDK ?

Oui. Les sondages intégrés à l'application exigent un SDK PostHog pris en charge, avec les sondages activés.

Détails

Description originale de l’auteur

Creates and launches PostHog surveys through MCP, including NPS/CSAT popovers, hosted feedback forms, and headless surveys. Guides survey type selection, audience targeting, draft review, and launch readiness. Use when asked to create a survey or form, or before calling survey-create. For investigating an existing survey's delivery or responses, use debugging-surveys instead.

repo: PostHog/posthog

Popularité

Étoiles GitHub
41k
Position au classement
#6958
Licence
—
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires