मुख्य सामग्री पर जाएँ
Skillpedia
एनालिसिस और स्प्रेडशीट41k · #6846

building-a-dashboard

यह क्या करती है

यह स्किल सही इनसाइट चुनकर, मौजूदा इनसाइट दोबारा इस्तेमाल करके और ज़रूरी चार्ट जोड़कर डैशबोर्ड बनाती या अपडेट करती है। यह उन लोगों के लिए है जो रिटेंशन या राजस्व जैसे विषय पर साफ़ डैशबोर्ड चाहते हैं, बिना हर चार्ट हाथ से बनाए।

कब इस्तेमाल करें

  • ✓जब आपको एक्टिवेशन, रिटेंशन या राजस्व जैसे विषय पर नया डैशबोर्ड चाहिए।
  • ✓जब आप पहले से मौजूद डैशबोर्ड में इनसाइट जोड़ना, हटाना या बदलना चाहें।
  • ✓जब आप अपनी टीम के लिए एक पेज पर कई मेट्रिक चाहें।

Skill का लिंक

https://github.com/PostHog/posthog/blob/master/products/dashboards/skills/building-a-dashboard/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/PostHog/posthog/blob/master/products/dashboards/skills/building-a-dashboard/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“हमारे एक्टिवेशन फ़नल के लिए मुख्य मेट्रिक और रिटेंशन चार्ट वाला डैशबोर्ड बनाइए।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

AI पहले मौजूदा डैशबोर्ड, टेम्पलेट और इनसाइट खोजता है जो फिट बैठें, फिर जो चार्ट गायब हों उन्हें बनाता है। वह उन्हें पढ़ने लायक लेआउट में सजाता है, और मौजूदा डैशबोर्ड बदलने से पहले उसकी सामग्री जाँचता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Building a dashboard

A dashboard is a collection of insight tiles on one page. Your job is to figure out which insights belong on it, reuse what already exists, create what's missing, and lay them out sensibly — not to blindly generate charts.

When the dashboard needs explanatory text, keep user copy and agent context separate. Use the writing-user-facing-copy skill for text that people read. Use agent_context for information that an agent needs to maintain the dashboard.

PostHog's Data Catalog is the semantic layer. Store canonical metric definitions there. Never use agent_context as a substitute for a Data Catalog metric.

Create vs update

First work out whether you're creating a new dashboard or changing an existing one.

  • Search existing dashboards with dashboards-get-all (its search param does fuzzy name/description matching). If the user is clearly describing something that already exists, they probably want an update.
  • Read a candidate with dashboard-get to see its current tiles before you change anything.
  • If the request is ambiguous — "get my financial metrics together" could mean build new or add to an existing one — ask a short clarifying question rather than guessing.

Use templates as reference

PostHog ships vetted dashboard templates for common topics, and orgs can share their own. Consult them before you build — they're a strong signal of which insights pair well on a topic.

  1. dashboard-templates-list — browse templates (use search for a topic, scope to narrow to global / team / organization). This returns names, descriptions, and tags only.
  2. dashboard-templates-retrieve — open the closest template to see its tiles: which insights it groups together and how each is queried.

Treat templates as examples, not a spec. Take inspiration from the insights and their groupings, but tailor every insight to the user's own events, properties, and intent. Don't copy a template verbatim, and don't force a template onto a request it doesn't fit — a good bespoke dashboard beats a mismatched template every time.

Select the insights

Prefer reusing existing insights over recreating them.

  • Search with insights-list and read promising ones with insight-get to check they match the user's intent and actually have data. Full-text search misses things named differently, so list broadly before concluding an insight doesn't exist.
  • For anything missing, read querying-posthog-data before choosing its query method. After Data Catalog routing, default to typed runners for each supported product-analytics tile: trends (including simple counts, unique users, sums, and breakdowns), funnels, retention, stickiness, paths, and lifecycle. Run the query to verify it, then save its native query node with insight-create. Use SQL-backed insights for explicit SQL requests or calculations the typed schemas cannot express, such as custom joins. SQL used to discover events or existing insights does not determine the query type of new tiles. Keep valid existing insights rather than rebuilding them.
  • Follow querying-posthog-data for presenting verified query results: some harnesses show charts inline, while others need a separate top-level render-ui call with the same query tool and input. Rendering support does not determine the saved insight's query type.
  • Keep the set minimal — only the insights the request needs. A focused dashboard is more useful than an exhaustive one.

Use Data Catalog for reusable metrics

Use PostHog's Data Catalog as the source of truth for reusable business and telemetry metrics. Do this before you derive a metric from raw data or copy a definition from an existing dashboard:

  1. Call posthog:metric-list and follow pagination until you have checked the complete catalog.
  2. Call posthog:metric-describe for each possible match. Use only an approved, non-drifted exact match as a canonical definition.
  3. Call posthog:data-catalog-metric-run to verify an approved match. Use its definition when you build or update the related dashboard insight.
  4. If the dashboard introduces a reusable metric with no governed match, follow the setting-up-data-catalog skill and create a proposed metric with posthog:data-catalog-metric-create. Use source_insight_short_id when the definition comes from an insight. A proposed metric is not canonical until a human approves it.

Do not copy the metric definition into dashboar

अक्सर पूछे जाने वाले सवाल

क्या यह बिना पूछे डैशबोर्ड बना देगा?

अगर अनुरोध साफ़ नहीं है, तो यह पहले एक छोटा सवाल पूछता है, जैसे नया बनाना है या मौजूदा अपडेट करना है।

क्या यह मेरे मौजूदा चार्ट दोबारा इस्तेमाल करता है?

हाँ। यह मौजूदा इनसाइट खोजता है और नए तभी बनाता है जब ज़रूरत हो।

आधिकारिक मेट्रिक की परिभाषाएँ कहाँ जाएँ?

वे PostHog के डेटा कैटलॉग में जानी चाहिए, डैशबोर्ड के नोट्स में नहीं।

जानकारी

लेखक का मूल विवरण

Build a new dashboard, or update an existing one, from a set of insights — the same job the in-app assistant does with its upsert-dashboard tool, but over MCP. Use when a user asks to create a dashboard, put several metrics/charts together on one page, assemble a dashboard for a topic (product analytics, retention, revenue, activation, etc.), or add/remove/replace insights on a dashboard they already have. Covers deciding create vs update, reusing existing insights vs creating new ones, and using PostHog's vetted dashboard templates as reference for what a strong dashboard on a topic looks lik

repo: PostHog/posthog

लोकप्रियता

GitHub स्टार
41k
रैंकिंग में स्थान
#6846
लाइसेंस
—
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

depot-ci

41k

यह आपके एजेंट को Depot CI वर्कफ़्लो सेट अप करने, चलाने और माइग्रेट करने में मदद करती है, साथ ही रन के लॉग पढ़ने में।

कोडिंगडिप्लॉय और क्लाउड (DevOps)

depot-container-builds

41k

यह आपके एजेंट को Depot के रिमोट बिल्डर पर Docker इमेज बनाने में मदद करती है, जिसमें मल्टी-प्लेटफ़ॉर्म इमेज और बिल्ड सुधार शामिल हैं।

कोडिंगडिप्लॉय और क्लाउड (DevOps)

depot-github-runners

41k

यह आपके एजेंट को GitHub Actions जॉब Depot के मैनेज्ड रनर पर ले जाने, रनर का साइज़ और लेबल चुनने, और रनर सेटअप की समस्याएँ ठीक करने में मदद करती है।

कोडिंगडिप्लॉय और क्लाउड (DevOps)

editing-agents-md

41k

यह आपके एजेंट को तय करने में मदद करती है कि कोई नियम AGENTS.md या CLAUDE.md में जाए या नहीं, और उसे ऐसे लिखे कि फ़ाइल भारी न हो।

AI और एजेंटएजेंट

मिलती-जुलती skills