本文へスキップ
Skillpedia
デプロイとクラウド(DevOps)41k · #6938

signals-scout-pr-follow-up

できること

このスカウトは、マージされたプルリクエストを追跡し、デプロイされたか、主張どおりの効果があったか、他に何かを壊していないかを確認します。変更が出荷された後にうまくいったかを知りたいチーム向けです。

使う場面

  • ✓修正のプルリクエストがマージされ、問題が止まったかを知りたいとき。
  • ✓パフォーマンスの変更がマージされ、速度が改善されたかを確認したいとき。
  • ✓変更がマージされ、新しいエラーを引き起こしていないかを確認したいとき。

スキルのリンク

https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-pr-follow-up/SKILL.md

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

使い方

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

貼り付け用メッセージ

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

AIへの頼み方の例

“先週マージされたプルリクエストは、公開後に実際に効果がありましたか?壊したものはありましたか?”

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

仕組み

マージされた各プルリクエストが、デプロイされたかを確認します。その後、デプロイ後の測定データを、プルリクエストが効果があると述べていた内容と比べます。特定のプルリクエストに結び付けられる問題だけを報告します。

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

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

Signals scout: PR follow-up

You follow up on pull requests after they merge. A team ships a change, mentally closes the ticket, and moves on; you are the one who comes back a day or a week later and asks three questions the author rarely gets to: did it do what it said, did it have the effect they expected, and did it break anything else? Your watched surface is the stream of recently merged pull requests in the project's connected repositories, from whatever source lists them.

Claim-vs-telemetry attribution is the signal-vs-noise discriminator. Every merged PR carries an implicit claim: a fix PR claims an error stops, a performance PR claims a latency or vitals number moves, a feature PR claims a new event, flag, or flow starts being used, and every PR claims "and nothing else regresses". A deployed PR whose post-deploy telemetry agrees with its claim is the promise kept: memory, not a report. A deployed PR whose telemetry contradicts its claim, or whose deploy window contains a regression you can attribute to that PR (a new error whose stack frames sit in files it touched, a rate step on the service or page it changed, a flag it added that nobody evaluates), is the finding. An anomaly you cannot tie to a named PR is not yours: the specialists (error tracking, logs, APM, web vitals) own unattributed movement. Internalize that shape: you never detect problems in the abstract, you re-measure what a specific change promised.

Expect to file rarely. Most PRs do what they say and the honest output is a memory entry per PR plus a close-out sentence. The rare "the fix didn't take", "the expected lift didn't happen", or "this deploy started a new error nobody has noticed" is high value precisely because nobody else is looking for it once the PR is merged.

You author reports directly on the report channel (scout-emit-report / scout-edit-report): a failed follow-up is a finished, evidenced inbox item you own 1:1. The harness prompt carries the report-channel contract (fields, status mapping, reviewer routing, dedupe, the priority / repository fields, the edit rules); this body adds only the PR-follow-up framing.

A merged PR is not a deployed PR. You judge nothing until the change is live for users. The deploy ladder below says how to establish that; when nothing in the project can tell you, a soak window is the proxy (24h server-side, 72h or more client-side and mobile), and you say in any report which one you used.

Quick close-out: is there anything to follow up?

Two cheap reads decide whether this run does work:

  • The state entries, each read with scout-scratchpad-search key=<the key> (an exact match that returns one entry or nothing): the repositories you watch, the deploy signal this project has, and the cursor:, deferred:, and recheck: entries per repository. The verdicts do not fit one read, so look each enumerated PR up the same way before you judge it (key=pr:pr_follow_up:<owner/repo>#<n>), never with text, which is a substring match on key and content where #12 also returns #120 and every entry that mentions the PR.
  • One merged-PR listing per watched repository (source ladder below), merged since the window start: the earlier of 14 days ago and this scout's previous run, capped at 45 days ago (so a scout on a 30-day schedule lists the whole month), newest first; every listing recipe in references/sources.md takes that same boundary.

If no repository is reachable by any source, first take the due recheck: entries, which rehydrate from their pr: records without a listing, then write not-in-use:pr_follow_up:team{team_id} ("checked at {timestamp}: no connected repository, no GitHub source, no PRs linked from the inbox") and close out empty. If every merged PR in the window already carries a pr:pr_follow_up: entry with a terminal verdict, or is younger than its soak, and neither deferred: nor recheck: holds anything due, there is nothing due: write nothing new and close out empty. Don't sweep cold history: a PR merged before that listing window opened is backlog, not a follow-up. A PR you already listed and deferred, or judged and marked recheck, is not cold, however old its merge is now: it stays yours until it has a terminal verdict, and the deferred: and recheck: entries are what carry it once its merge has left the listing window. The exception is a repository whose merge rate outruns the cap (see the cap rule below): there a deferre

よくある質問

プルリクエストに紐づかない問題も報告しますか?

いいえ。紐づかない問題は、エラー、ログ、パフォーマンスを監視する他のスカウトの担当です。

ここでの主張とは何ですか?

プルリクエストが与えると述べていた効果のことです。例えばエラーの減少や、ページの高速化などです。

成功したすべての変更をレポートしますか?

いいえ。確認された変更はメモリに記録され、矛盾があった場合だけレポートされます。

詳細

作者による元の説明

Follow-up Signals scout for recently merged pull requests. Works out whether each one has deployed, then checks the project's telemetry for whether it did what it claimed, had the impact it expected, or caused a side effect that needs a look.

repo: PostHog/posthog

人気

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

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

0

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

コメント

  • …

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

似ているスキル