Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

bfcm-webhook-playbook

БесплатноБез исполняемых скриптовНе проверен

Black Friday / Cyber Monday (BFCM) webhook playbook: prepare webhook handling for peak commerce traffic, and recover when webhooks are failing mid-incident…

hookdeckот hookdeck★ 104 звезды на GitHub

Об этом скилле

BFCM Webhook Playbook: Prepare and Recover

Black Friday / Cyber Monday is when webhook volume peaks and when an outage costs the most: missed orders/create or payment_intent.succeeded webhooks mean unfulfilled orders and lost revenue. This skill covers both halves:

  • Prepare: put Event Gateway in front of your endpoints (inline) before the peak, so it queues and retries webhooks if your infrastructure fails. If you can't change where the provider sends, a standby source beside your endpoint records a copy instead.
  • Recover: when webhooks are failing right now, stop the loss, fix the endpoint, then replay everything you missed, oldest first, at a rate your system can take.

Every step is a CLI command, REST API call or Terraform resource — there are no dashboard instructions — so an agent can run the runbook end to end.

When to Use This Skill

  • "Our webhooks are failing / our endpoint is down — what do we do?"
  • "We missed webhooks during an outage. How do we get them back?"
  • "Our webhooks are failing and we have no Event Gateway. Can we move onto it now?"
  • "How do we prepare our Shopify/Stripe webhooks for Black Friday?"
  • "How do we replay missed webhooks without overwhelming our API?"
  • "How do we replay missed webhooks in the right order?"

Start Here: Triage

Ask (or work out) two things before running anything.

1. Are you preparing, or is something failing right now?

Situation Go to
Preparing ahead of the peak references/prepare.md (recommended: inline, with Event Gateway in front of the endpoint), with references/terraform.md for infrastructure-as-code
Failing right now Question 2

2. How does Event Gateway sit in your webhook path today?

Setup What it looks like Runbook
Standby The provider sends to your endpoint directly and to an Event Gateway source that has no connection. Event Gateway verifies and records every request but delivers nothing. references/incident-standby.md
Inline The provider sends only to Event Gateway; a connection delivers to your endpoint. references/incident-inline.md
None The provider sends straight to your endpoint. Move inline now if you can change where the provider sends: references/incident-move-inline.md, then the inline runbook. If you can't, emergency standby capture: create a standby source now to stop further loss, then follow the standby runbook

Rules for Agents Running a Runbook

These are not optional. Recovery commands change production delivery.

  1. Confirm the project first. Run hookdeck whoami, show the output, and get the user to confirm the organization and project before any command that changes state.
  2. Dry-run every bulk operation. Call the bulk operation's /plan endpoint, show the estimated_count, and get explicit human confirmation before creating it.
  3. Record every ID and timestamp you use (T0, T1, source/connection/destination IDs, bulk operation IDs) in the incident notes as you go.
  4. Never run a bulk replay twice over the same window. Replay creates new requests and events every time it runs; a second run delivers everything again.
  5. Filter replays on rejection_cause=NO_CONNECTION and created_at[gte]/[lte] only. status=rejected overrides the cause filter and matches forged (VERIFICATION_FAILED) requests too. created_at[gt]/[lt] are ignored (for requests and events), which silently removes the bound. Sanity-check every dry-run count against the expected outage volume.
  6. Choose the replay mode with the user. Ordered replay keeps exact capture order at about 4–5 requests a second; bulk replay is fast but shuffles order within each batch of 100. See references/ordering.md.
  7. Prefer lowering the delivery rate over pausing. See references/ordering.md for why unpausing a large backlog disturbs order.
  8. Set up the Hookdeck CLI before anything else. Run hookdeck whoami. If the CLI isn't installed, install it (brew install hookdeck or npm i -g hookdeck-cli). If it isn't authenticated:
    • A person is at the keyboard: run hookdeck login. It opens the browser so they can sign in and approve the CLI; wait for them to finish. If they don't have a Hookdeck account yet, they can sign up at https://dashboard.hookdeck.com/signup first.
    • CI, or no browser: run hookdeck ci --api-key "$HOOKDECK_API_KEY". It prints the project and organization it configured.
    • REST API calls need the project's API key. Bulk retries and replays, destination rate changes and alert triggers call the REST API with HOOKDECK_API_KEY, an
Полный SKILL.md на GitHub

Установить bfcm-webhook-playbook в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/incident-inline.mdreferences/incident-move-inline.mdreferences/incident-standby.mdreferences/ordering.mdreferences/prepare.mdreferences/provider-notes.mdreferences/terraform.md

FAQ

Что делает скилл bfcm-webhook-playbook?

Black Friday / Cyber Monday (BFCM) webhook playbook: prepare webhook handling for peak commerce traffic, and recover when webhooks are failing mid-incident. Use when preparing Shopify, Stripe, BigCommerce, WooCommerce or PayPal webhooks for BFCM or another traffic peak, when webhook delivery is failing or an endpoint is down ("our webhooks are failing, what do we do?"), or when replaying missed webhooks in order after an outage. Uses the Hookdeck Event Gateway via CLI, REST API and Terraform.

Как установить скилл bfcm-webhook-playbook?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл bfcm-webhook-playbook запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить bfcm-webhook-playbook с