본문으로 건너뛰기
Skillpedia
데이터베이스41k · #6972

reviewing-warehouse-suggestions

하는 일

이 스킬은 에이전트가 PostHog가 웨어하우스 뷰와 테이블에 대해 매일 하는 제안을 검토하도록 합니다. 어떤 뷰를 저장하고, 중단하고, 신뢰할 수 있는 것으로 표시할지 정하려는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓PostHog가 데이터 웨어하우스에 대해 무엇을 제안하는지 알고 싶을 때.
  • ✓뷰를 저장하거나 중단해야 하는 이유를 이해하고 싶을 때.
  • ✓웨어하우스 제안을 수락, 무시 또는 배정하고 싶을 때.

스킬 링크

https://github.com/PostHog/posthog/blob/master/products/warehouse_suggestions/skills/reviewing-warehouse-suggestions/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/PostHog/posthog/blob/master/products/warehouse_suggestions/skills/reviewing-warehouse-suggestions/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“오늘 PostHog가 내 데이터 웨어하우스에 대해 무엇을 제안하나요? 상위 제안을 설명하고, 수락할 가치가 있는지 알려 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 우선순위 순서로 제안을 나열하고, 각 제안의 바탕이 된 수치를 사용해 설명합니다. 요청하면 새로 고침 설정을 바꿀 수 있으며, 그다음 제안을 수락, 무시 또는 배정합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Reviewing warehouse suggestions

PostHog computes warehouse suggestions every day from how the project reads its views and tables. Each suggestion is about one view or table. Its payload holds everything that accepting it would create or change.

1. Find the suggestions

Call warehouse-suggestions-list with status=proposed. The results come in priority order, so start at the top. If the list is empty, call warehouse-suggestions-status: it says whether suggestions are turned off, still collecting read history, or not eligible.

Call warehouse-suggestions-get for a suggestion the user wants to discuss. Its evidence has the read counts behind it.

2. Explain it with its own numbers

Tell the user what accepting does and what it costs, using the payload fields. Do not invent a score or a confidence level.

  • materialize: the view is computed often enough that storing its result saves compute.
    • A view that is not stored is computed on every read, and again on every refresh of each materialized view that reads it. recomputed_by_views counts those materialized views. When it is above 0, the saving comes mostly from their refreshes, not from people's reads.
    • saves_seconds_per_month and saves_bytes_per_month are what those computations stop costing.
    • Materializing adds a recurring refresh cost, which these numbers already subtract.
    • freshness_today_seconds and freshness_after_seconds say how old the data can be now and after.
    • refresh_interval_seconds is the proposed interval. refresh_interval_basis says what kept it from being shorter: source_sync (the sources sync no faster), fastest_schedule (PostHog refreshes views no more often), read_rate (people read the view no more often), consumer_refresh (the materialized views that read it refresh no more often) or savings (a shorter interval costs more than it saves).
    • refresh_mode is incremental when each refresh can read only new rows, by incremental_key, and update rows by unique_key. Otherwise it is full, and each refresh rebuilds the whole table.
  • unmaterialize: this materialized view is read so rarely that refreshing it costs more than computing it on each read.
    • refresh_seconds_per_month and refresh_bytes_per_month are what its refreshes cost now.
    • live_seconds_per_month and live_bytes_per_month estimate what its reads would cost if each one computed the view. The estimate uses a full refresh per read, so it leans high.
    • read_seconds is how long one read would take afterwards. Nine in ten of its refreshes finished within this time. Tell the user that reads get slower by about this much, and that each read sees current data instead of the last refresh.
    • Accepting stops the refreshes and deletes the stored table. The view definition stays, so it can be materialized again later.
    • A 409 on accept means the view changed since the suggestion was made, for example another view now reads from it. Explain the reason to the user and do not retry.
  • certify: many people read this view or table, from several places. Use the read counts in evidence.
  • deprecate: nobody reads this materialized view, but it still refreshes. refresh_seconds_per_month and refresh_bytes_per_month are that cost. Accepting marks it deprecated in the data catalog, stops its refreshes and deletes its stored table. The view definition stays, so it can be materialized again later. To keep it refreshing, pass keep_materialized: true. After accepting, created_asset.stopped_materialization says whether the refreshes stopped: they keep running when other views read from it or its refreshes feed person properties, a destination or a workflow.

3. Change a materialize suggestion before accepting

The payload is a starting point. To change it, pass the payload field with the same name to the accept tool. An omitted field keeps the suggested value.

  • Another interval: pass refresh_interval_seconds.
  • Full instead of incremental, or the reverse: pass refresh_mode.
  • Other keys:
    1. Read the view's query with view-get.
    2. Call view-check-incremental with that query, plus the incremental_key and unique_key the user wants. Without keys it lists key_candidates and unique_key_candidates.
    3. Accept with those keys only when the check returns eligible: true. Otherwise explain the blockers to the user.
  • Late rows: pass lookback_seconds so each refresh read
자주 묻는 질문

에이전트가 점수를 지어내나요?

아니요. PostHog가 제공한 수치만 사용해 각 제안을 설명합니다.

뷰를 저장하면 무엇이 되나요?

뷰의 결과를 매번 다시 계산하지 않도록 보관합니다. 계산 자원은 줄지만, 반복되는 새로 고침 비용이 생깁니다.

제안 목록이 비어 있으면 어떻게 하나요?

에이전트는 제안이 꺼져 있는지, 아니면 아직 읽기 기록을 모으는 중인지 확인합니다.

상세 정보

작성자의 원본 설명

Reviews PostHog's warehouse suggestions with a person and acts on them. Explains why a view should be materialized, unmaterialized, certified or deprecated using the numbers in the suggestion, changes a materialize suggestion's refresh mode, keys or interval when the person wants something else, then accepts, dismisses or assigns it. Use when the user asks what PostHog suggests for their data warehouse, whether to materialize a view, why a view should refresh incrementally or every few hours, or wants to accept, change, dismiss or assign a warehouse suggestion.

repo: PostHog/posthog

인기도

GitHub 스타
41k
순위
#6972
라이선스
—
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬