本文へスキップ
Skillpedia
データベース41k · #6966

auditing-warehouse-source-health

できること

このスキルは、PostHogのデータウェアハウスにデータを送っているデータソースすべてを、エージェントに点検させます。個々の問題を深く調べる前に、壊れているものを一覧で確認したい人向けです。

使う場面

  • ✓データの取り込みが失敗している、または古くなっている理由を知りたいとき。
  • ✓ウェアハウスのデータが古く見えるが、どのソースが原因か分からないとき。
  • ✓すべてのデータソースの状態を定期的に確認したいとき。

スキルのリンク

https://github.com/PostHog/posthog/blob/master/products/warehouse_sources/skills/auditing-warehouse-source-health/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/PostHog/posthog/blob/master/products/warehouse_sources/skills/auditing-warehouse-source-health/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“ウェアハウスのデータが古くなっているのはなぜですか?すべてのデータソースを確認して、壊れているものを教えてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、ソース、同期テーブル、Webhookチャネルについて、プロジェクト全体の状態確認を実行します。問題をグループ分けし、最も緊急なものを先頭に置くので、次に確認すべき場所が分かります。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Auditing data warehouse source health

This skill produces a project-wide audit of the source and sync side of the data warehouse pipeline — source connections, sync schemas, and webhook push channels. Use it when the user wants a summary of what's broken with their imports, not a deep-dive on one sync. The deep-dive on individual failures is diagnosing-failed-warehouse-syncs; this skill is the scan that tells them where to look first.

The same underlying endpoint (data-warehouse-data-health-issues-retrieve) also reports materialized-view, batch-export-destination, and transformation issues. Materialized views are covered by auditing-warehouse-view-health. Destinations (batch exports) and transformations are owned by other products — surface them if they appear, but route them to the relevant team rather than diagnosing here.

When to use this skill

  • "Why are my imports failing?" / "What's broken with my sources?"
  • "Why is my warehouse data stale?"
  • The user is new to a project and wants to know which sources they've inherited and whether they're healthy
  • Weekly or monthly review of source/sync health
  • Dashboards are stale and the user isn't sure which source is at fault

Available tools

Tool Purpose
data-warehouse-data-health-issues-retrieve One-shot: all failed/degraded items across the whole pipeline
external-data-sources-list All sources with status and latest error
external-data-schemas-list All schemas with status, last_synced_at, latest_error
external-data-sources-webhook-info-retrieve Check per-source webhook state (not covered by data-health-issues)

The data-health-issues endpoint aggregates across the whole pipeline — it's the fastest path to a summary. Filter its results to the source and external_data_sync types for this audit. Use the list endpoints when you need more context than the summary provides (row counts, non-failing items, schema-level detail).

What counts as a source/sync "issue"

From the data-health endpoint, this audit cares about two of the five categories:

type Trigger Typical urgency
source ExternalDataSource.status = Error — whole source connection broken High
external_data_sync schema in Failed or BillingLimitReached state (the data-health endpoint returns status: "failed" or status: "billing_limit" respectively) Medium–High

Each entry includes id, name, type, status, error, failed_at, url, and source_type.

The other categories the endpoint returns are out of scope for this skill:

  • materialized_view → auditing-warehouse-view-health
  • destination (batch export) → owned by the batch exports / data pipelines product
  • transformation (HogFunction) → owned by the CDP / ingestion side

Note the data-health endpoint only reports active failures. For source/sync health it doesn't flag:

  • Schemas paused by the user (should_sync = false)
  • Schemas that are slow or stale but technically Completed
  • Webhook problems on sync_type: "webhook" schemas. The bulk-sync safety net can succeed while the webhook push channel is silently broken (deregistered, disabled on the remote side, failing signature verification). These don't surface in data-health-issues — check per-source with webhook-info-retrieve.

If the user asks about staleness or unused items, reach beyond this endpoint — see Step 4.

Workflow

Step 1 — One-shot pull

Call data-warehouse-data-health-issues-retrieve and keep the source and external_data_sync entries.

If there are no source/sync issues, tell the user their sources are healthy and stop. Don't invent problems.

Step 2 — Group and prioritize

  1. Sources in Error first. A source fa
よくある質問

このスキルは壊れた取り込みを修正しますか?

いいえ。問題を見つけて順位をつけるまでで、個々の障害は別のスキルで詳しく調べます。

マテリアライズドビューも確認しますか?

それらは別の監査スキルで扱いますが、このチェックでも表示されることがあります。

デスティネーションや変換はどうですか?

それらは別のチームの担当なので、エージェントはその存在を指摘し、担当先に案内します。ここでは診断しません。

詳細

作者による元の説明

Audit the health of a PostHog project's data warehouse sources and syncs — find every broken or degraded source connection, sync schema, and webhook channel. Use when the user asks "why are my imports failing?", "what's broken with my sources?", "why is my warehouse data stale?", or wants a one-shot triage of source/sync health before deciding where to dig in. Produces a prioritized report grouped by severity, with recommended next steps. For materialized-view health use `auditing-warehouse-view-health`; for a single failing sync use `diagnosing-failed-warehouse-syncs`.

repo: PostHog/posthog

人気

GitHubのスター
41k
ランキング
#6966
ライセンス
—
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル