Перейти к содержанию
Skillpedia
Деплой и облако (DevOps)41k · #6938

signals-scout-pr-follow-up

Что он делает

Этот скаут отслеживает слитые pull request, чтобы понять, были ли они развёрнуты, сделали ли то, что обещали, и не сломали ли что-то ещё. Он предназначен для команд, которые хотят знать, что изменение сработало после выхода.

Когда использовать

  • ✓Когда слилось исправление в pull request и вы хотите знать, прекратилась ли проблема.
  • ✓Когда слилось изменение производительности и вы хотите подтвердить, что скорость выросла.
  • ✓Когда слилось изменение и вы хотите проверить, что оно не вызвало новой ошибки.

Ссылка на скилл

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

Скопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.

Как использовать

Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.

Готовое сообщение для вставки

Используй этот скилл, чтобы помочь мне: https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-pr-follow-up/SKILL.md Прочитай файл SKILL.md по этой ссылке и следуй его инструкциям в моей задаче.
Хотите, чтобы ваш ИИ сам находил такие скиллы?Установите бесплатный MCP Skillpedia: одна строка, и перед каждой задачей он ищет среди 15 000+ скиллов.Установить за 1 минуту →

Пример запроса к вашему ИИ

“Работали ли слитые на прошлой неделе pull request, когда попали в продакшен, и сломал ли какой-то из них что-то?”

5 новых скиллов в неделю. 1 минута чтения.

Как это работает

Скаут проверяет, развёрнут ли каждый слитый pull request, затем сравнивает телеметрию после развёртывания с тем, что обещал pull request. Он сообщает только о проблемах, которые может связать с конкретным pull request.

Технический текст (оригинальный 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

Частые вопросы

Сообщает ли он о проблемах, не связанных с pull request?

Нет. Несвязанные проблемы относятся к другим скаутам, которые следят за ошибками, логами или производительностью.

Что здесь означает утверждение?

Это эффект, который pull request обещал, например меньше ошибок или более быстрая страница.

Сообщает ли он о каждом удачном изменении?

Нет. Подтверждённые изменения записываются в памяти, а сообщаются только противоречия.

Подробности

Оригинальное описание автора

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
Лицензия
—
Обновлён
02.11.2026

Полезен ли этот скилл?

0

Войдите , чтобы голосовать.

Комментарии

  • …

Другие скиллы из этого репозитория

Похожие скиллы