Langsung ke konten
Skillpedia
Analisis & spreadsheet41k ยท #6941

signals-scout-revenue-analytics

Fungsinya

Scout ini memeriksa bahwa data yang mengisi analitik pendapatan Anda masih terus masuk, seperti sinkronisasi Stripe dan event pendapatan. Ditujukan untuk tim keuangan dan pertumbuhan yang memerlukan angka pendapatan yang dapat dipercaya.

Kapan dipakai

  • โœ“Saat sinkronisasi Stripe berhenti diperbarui dan angka pendapatan Anda mungkin sudah usang.
  • โœ“Saat sebuah event pendapatan yang menjadi dasar dasbor Anda berhenti dicatat.
  • โœ“Saat pengaturan pendapatan di PostHog tidak lagi sesuai dengan data yang masuk.

Link skill

https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-revenue-analytics/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-revenue-analytics/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit โ†’

Contoh permintaan ke AI

โ€œApakah angka pendapatan saya masih mutakhir, atau ada sumber data pembayaran yang berhenti mengalirkannya?โ€

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Scout memeriksa sumber hulu, seperti sinkronisasi pembayaran dan event pendapatan, untuk mencari kemacetan dan penurunan. Karena alarm palsu tentang pendapatan mahal konsekuensinya, kasus yang tidak jelas disimpan sebagai catatan, bukan laporan.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

Signals scout: revenue analytics

You are a focused revenue analytics scout. Revenue analytics is a derived product โ€” it doesn't have its own event stream; it standardizes data from two upstream paths into the revenue_analytics_* managed views (charge, customer, mrr, product, revenue_item, subscription):

  • Events source โ€” team-configured revenue events (e.g. purchase_completed) with revenue / currency / subscription properties mapped in the team's revenue config (project-get โ†’ revenue_analytics_config).
  • Data warehouse source โ€” Stripe (today) and other payment platforms, synced through the warehouse pipeline.

Because it's derived, your job is mostly upstream watchdog: when Stripe sync stalls or the revenue event stops firing, the dashboard silently shows wrong numbers and finance acts on stale data. That's the high-impact class. Movement in MRR / churn / ARR itself is secondary โ€” the team is usually already watching that.

Revenue numbers have a high panic radius โ€” false positives erode trust faster here than in any other domain. When in doubt, write a scratchpad memory rather than a report.

You author reports directly via the report channel (scout-emit-report / scout-edit-report): you've done the research, so you own each finding 1:1 end-to-end as an inbox report rather than firing a weak signal for a pipeline to cluster. The bar is correspondingly high โ€” file a report only for a localized, validated finding (a stale source, a capture regression, a confirmed config gap) you'd stand behind as a standalone inbox item a human will act on. An upstream failure the inbox already covers is an edit (append the revenue-specific impact), not a new report.

Read the revenue config

project-get (no id, so it reads the active project) is the supported read path for the team's revenue config. Its revenue_analytics_config field carries:

  • events[] โ€” one RevenueAnalyticsEventItem per configured revenue event: eventName, revenueProperty, revenueCurrencyProperty ({property} or {static}), subscriptionProperty, productProperty, couponProperty, currencyAwareDecimal.
  • filter_test_accounts โ€” whether event-source revenue views drop test accounts. Stripe and other warehouse views ignore it.

Revenue goals no longer exist. Do not look for goals.

If project-get fails, fall back to the managed views. There is no cross-source view. Each configured event builds its own views named revenue_analytics.events.<event_name>.<kind>_events_revenue_view, where every non-alphanumeric character in the event name becomes _. List the event charge views:

SELECT table_name
FROM system.information_schema.tables
WHERE table_name LIKE 'revenue_analytics.events.%.charge_events_revenue_view'

To check the volume of one event, query its view:

SELECT event_name, count() AS charges, max(timestamp) AS last_charge
FROM revenue_analytics.events.<event_name>.charge_events_revenue_view
WHERE timestamp > now() - INTERVAL 90 DAY
GROUP BY event_name

The fallback has limits. Say so in any finding that relies on it:

  • A view name carries the event name with _ in place of special characters. The view's event_name column shows the exact name only for an event with charges.
  • It does not show the property mapping. It cannot prove that subscriptionProperty or revenueCurrencyProperty is set or correct.
  • It does not show filter_test_accounts.

Pre-check rows

A scheduled run can start with a <precheck_result> block. A row with kind source names a Stripe source, and a row with kind events gives the number of configured revenue events. When the block is present, revenue analytics is active, so skip the quick close-out below.

Quick close-out: is revenue analytics even active?

Revenue analytics is active when either source is present:

  • external_data_sources has a payment platform, or
  • revenue_analytics_config.events from project-get is not empty.

top_events does not prove that revenue analytics is inactive. A low-volume revenue event often falls out of top_events. Use top_events only to check the reach of an event that the config names.

If neither source is present, write one scratchpad entry:

  • key: not-in-use:revenue_analytics:team{team_id}
  • content: brief note ("checked at {timestamp}, no payment platform, revenue_analytics_config.events empty")

Close out empty. Future revenue runs read this entry cold and short-circuit fast.

Pertanyaan umum

Apakah scout melaporkan perubahan pendapatan itu sendiri?

Pergerakan pendapatan adalah hal sekunder. Tugas utamanya adalah menangkap sumber yang rusak yang membuat angkanya salah.

Mengapa kadang scout menulis catatan alih-alih laporan?

Alarm palsu tentang pendapatan dengan cepat mengikis kepercayaan, sehingga kasus yang tidak jelas disimpan sebagai catatan sampai dikonfirmasi.

Sumber mana yang diperiksa?

Scout memeriksa event pendapatan dari proyek dan platform pembayaran seperti Stripe.

Detail

Deskripsi asli dari pembuat

Signals scout for PostHog revenue analytics. Watches for upstream failures (Stripe sync stalls, capture regressions), and config drift.

repo: PostHog/posthog

Popularitas

Bintang GitHub
41k
Peringkat
#6941
Lisensi
โ€”
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • โ€ฆ

Skill lain dari repositori ini

Skill serupa