creating-surveys
यह क्या करती है
यह स्किल PostHog सर्वे बनाती है, इस तय करने से लेकर कि वह आपके ऐप में दिखे या होस्ट किए गए फ़ॉर्म के रूप में, दर्शक और सवाल चुनने तक। यह उन प्रोडक्ट और रिसर्च टीमों के लिए है जो उपयोगकर्ताओं से फ़ीडबैक लेना चाहती हैं।
कब इस्तेमाल करें
- ✓जब आप सर्वे या फ़ॉर्म से उपयोगकर्ताओं का फ़ीडबैक लेना चाहें।
- ✓जब आप चाहें कि NPS या संतुष्टि सर्वे आपके ऐप के अंदर दिखे।
- ✓जब आपको साझा करने योग्य होस्ट किया हुआ फ़ीडबैक फ़ॉर्म चाहिए।
Skill का लिंक
https://github.com/PostHog/posthog/blob/master/products/surveys/skills/creating-surveys/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“इस हफ़्ते ऐप इस्तेमाल करने वाले उपयोगकर्ताओं के लिए एक छोटा NPS सर्वे बनाइए, और लॉन्च से पहले उसका दर्शक जाँचिए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह आपके लक्ष्य के अनुकूल सर्वे प्रकार चुनती है, सवालों का मसौदा बनाती है, और दर्शक और डिलीवरी की आवश्यकताएँ जाँचती है। यह मसौदे की समीक्षा करती है ताकि आप भरोसे के साथ लॉन्च कर सकें।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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
conditionsfor 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
appearanceunless customization is needed.whiteLabel: truerequires the organization's white-labelling entitlement (Enterprise). Do not infer it from a request for custom colors. Verify entitlement before setting it.surveyPopupDelaySecondsmust be non-negative. - Leave optional fields unset when unused. Do not fill them with
nullas a substitute for omission; question fields and nested objects have different nullability rules.
Create and review the draft
Call `posthog
अक्सर पूछे जाने वाले सवाल
कौन से सर्वे प्रकार उपलब्ध हैं?
ऐप के अंदर पॉपओवर, हमेशा उपलब्ध फ़ीडबैक विजेट, होस्ट किए गए बाहरी फ़ॉर्म, और आपके कोड में बनाए गए कस्टम सर्वे।
क्या यह सर्वे तुरंत लॉन्च कर देती है?
यह पहले एक मसौदा तैयार करती है और लॉन्च से पहले तैयारी जाँचती है, ताकि आप पहले उसे देख सकें।
क्या ऐप के अंदर का सर्वे SDK माँगता है?
हाँ। ऐप के अंदर के सर्वे के लिए सर्वे चालू वाला समर्थित PostHog SDK चाहिए।
जानकारी
लेखक का मूल विवरण
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
लोकप्रियता
- GitHub स्टार
- 41k
- रैंकिंग में स्थान
- #6958
- लाइसेंस
- —
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
depot-ci
41kयह आपके एजेंट को Depot CI वर्कफ़्लो सेट अप करने, चलाने और माइग्रेट करने में मदद करती है, साथ ही रन के लॉग पढ़ने में।
depot-container-builds
41kयह आपके एजेंट को Depot के रिमोट बिल्डर पर Docker इमेज बनाने में मदद करती है, जिसमें मल्टी-प्लेटफ़ॉर्म इमेज और बिल्ड सुधार शामिल हैं।
depot-github-runners
41kयह आपके एजेंट को GitHub Actions जॉब Depot के मैनेज्ड रनर पर ले जाने, रनर का साइज़ और लेबल चुनने, और रनर सेटअप की समस्याएँ ठीक करने में मदद करती है।
editing-agents-md
41kयह आपके एजेंट को तय करने में मदद करती है कि कोई नियम AGENTS.md या CLAUDE.md में जाए या नहीं, और उसे ऐसे लिखे कि फ़ाइल भारी न हो।
मिलती-जुलती skills
gitcrawl
394kयह आपके एजेंट को GitHub issues और pull requests के सेव आर्काइव में खोजने, मिलते-जुलते मामलों को समूह में रखने और लाइव स्थिति जांचने देती है।
slacrawl
394kयह आपके एजेंट को स्थानीय Slack आर्काइव में संदेश खोजने और गिनने, उसकी ताज़गी जांचने और ज़रूरत पड़ने पर उसे ताज़ा करने देती है।
goplaces
394kयह आपके एजेंट को Google Places से जगहें खोजने, उनका विवरण और समीक्षाएं पाने, और जगह के नाम हल करने में मदद करती है, स्क्रिप्ट के लिए JSON आउटपुट के साथ।