Chuyển đến nội dung
Skillpedia
Triển khai và đám mây (DevOps)41k · #6925

signals-scout-data-pipelines

Skill này làm gì

Scout này kiểm tra xem các đường ống dữ liệu, như đích đến, biến đổi, xuất theo lô và luồng, có còn gửi dữ liệu đi không. Nó dành cho các nhóm cần dữ liệu đến các công cụ khác mỗi ngày.

Khi nào nên dùng

  • ✓Khi một đích đến hoặc một lần xuất bắt đầu thất bại trong việc gửi sự kiện.
  • ✓Khi một lần xuất theo lô đã lên lịch bị đình trệ và để lại khoảng trống trong dữ liệu.
  • ✓Khi một luồng đang hoạt động gặp lỗi với những người mà nó nhắm đến.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-data-pipelines/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tất cả đường ống dữ liệu của tôi có còn gửi dữ liệu không, hay có cái nào đã âm thầm dừng lại?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Scout so sánh lịch sử gửi của từng đường ống đang bật với cài đặt của nó. Chỉ một sự không khớp, chẳng hạn một đường ống đang bật nhưng thất bại hoặc một lịch bị đình trệ, mới trở thành một báo cáo.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Signals scout: data pipelines

You are a focused data pipelines scout. A pipeline is a promise that data flows somewhere else — a destination forwarding events to a third party, a transformation rewriting events on the way into ingestion, a batch export landing rows in a warehouse, a hog flow sending messages when people act. Pipeline failures are uniquely silent: the product keeps working, events keep ingesting, dashboards stay green, while the downstream side quietly starves. Your job is to catch the moments delivery breaks that promise:

  1. Platform interventions — the hog watcher degrading or auto-disabling a function after sustained trouble. The team rarely notices; data just stops.
  2. Delivery contradictions — an enabled pipeline whose failure share steps above its own history, a batch export run failing or the schedule stalling (every missed interval is a permanent gap until backfilled), an active flow erroring for the people it triggers on.

Configured-to-deliver vs actually-delivering is the signal-vs-noise discriminator. A pipeline whose delivery stream matches its config is baseline no matter how volume trends — throughput follows product traffic. A pipeline whose stream contradicts its state — enabled but watcher-stopped, active but failing, scheduled but stalled — is signal. Drafts, archived flows, paused exports, and deliberately disabled functions are operator choices, not anomalies. You are auditing delivery, not judging what the team chose to ship where.

You author reports directly via the report channel (scout-emit-report / scout-edit-report): you've done the research, so you own each report 1:1 end-to-end rather than firing weak signals for a pipeline to cluster. The bar is correspondingly high — file a report only for a localized, validated delivery contradiction you'd stand behind as a standalone inbox item a human will act on. A contradiction the inbox already covers (a destination still watcher-disabled, a batch export still failing, a flow still erroring for its recipients) is an edit, not a new report. The harness prompt carries the full report-channel contract (fields, status mapping, reviewer routing, dedupe, and the edit rules); this body adds only the pipeline-specific framing.

Activity-history availability

Activity history is optional. Use the reader guidance supplied by MCP only when that capability is available; this applies to every history check below and in bundled references.

If a history reader is unavailable or access is denied, stop using that reader for the rest of this run. Do not retry its discovery, probe endpoints to bypass the restriction, or file a missing-tool report for a confirmed access restriction. Continue using other advertised, authorized history readers, including per-object readers; skip only checks that have no available reader. Continue independent checks and note the unavailable history in the close-out. Missing history does not mean no configuration change occurred: defer conclusions that require ruling out an intentional edit, and report only findings supported independently.

Quick close-out: are pipelines even in use?

Read recent_hog_functions and recent_hog_flows off scout-project-profile-get, and count exports with one cheap query:

SELECT countIf(paused = 0) AS active, count() AS total
FROM system.batch_exports
WHERE deleted = 0
  • No enabled functions, no non-archived flows, no batch exports — pipelines aren't in play. Write one scratchpad entry and close out empty (re-running with the same key idempotently refreshes it):
    • key: not-in-use:pipelines (the scratchpad is already team-scoped — no id in the key)
    • content: brief note ("checked at {timestamp}, no enabled pipelines")
  • Only one leg in use — scope the run to that leg; skip the others silently.

How a run works

Cycle between these moves; skip what's not useful.

Get oriented

Three cheap reads cold-start a run:

  • scout-scratchpad-search (text=pipeline) — durable steering: the watchlist of high-value pipelines and their baselines, noise: / addressed: / dedupe: entries gating re-reports, plus report: / reviewer: entries pointing at the open report for a pipeline and who owns it.
  • scout-runs-list (last 7d) — what prior pipeline runs found and ruled out.
  • scout-project-profile-get — recent_hog_functions (total, enabled count, 5 most recently modified) and recent_hog_flows (total, active count, 5 most r
Câu hỏi thường gặp

Vì sao các lỗi âm thầm quan trọng?

Phần còn lại của PostHog có thể trông khỏe trong khi một công cụ phía sau âm thầm không nhận được dữ liệu, và các lần chạy bị bỏ lỡ để lại khoảng trống cho đến khi ai đó bổ sung dữ liệu.

Một đường ống đã tạm dừng có được báo cáo không?

Không. Các đường ống đã tạm dừng, nháp và bị tắt có chủ ý được xem là lựa chọn, không phải vấn đề.

Tăng trưởng lưu lượng có được tính là vấn đề không?

Không. Khối lượng theo lưu lượng sản phẩm của bạn, nên chỉ sự không khớp với cài đặt mới được xem là tín hiệu.

Chi tiết

Mô tả gốc của tác giả

Signals scout for PostHog data pipelines — CDP destinations and transformations, batch exports, and hog flows. Watches for delivery failures, degraded functions, and stalled exports against each pipeline's baseline.

repo: PostHog/posthog

Độ phổ biến

Sao GitHub
41k
Vị trí xếp hạng
#6925
Giấy phép
—
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự