Skip to content

chore: normalize Hookdeck CLI invocation across existing skills + top-level README#54

Merged
leggetter merged 2 commits into
mainfrom
cleanup/hookdeck-cli-convention
May 11, 2026
Merged

chore: normalize Hookdeck CLI invocation across existing skills + top-level README#54
leggetter merged 2 commits into
mainfrom
cleanup/hookdeck-cli-convention

Conversation

@leggetter
Copy link
Copy Markdown
Collaborator

Summary

Sweeps every pre-existing skill (and the top-level README.md) onto the new Hookdeck CLI convention set in PR #40.

Per file, two changes:

  1. Replace hookdeck listen <port> --path /webhooks/<source> (or the in-between npx hookdeck-cli listen <port> --path /webhooks/<source> without a source arg) with:

    npx hookdeck-cli listen <port> <source> --path /webhooks/<source>

    The [source] positional is required syntactically — omitting it makes the command fall into an interactive prompt instead of running. Passing it explicitly gives a copy-paste-runnable command.

  2. Drop the npm i -g hookdeck-cli / brew install hookdeck/hookdeck/hookdeck prereq lines (and their orphan # Install Hookdeck CLI / # or: comments). The new npx form doesn't need a global install, and webhook-skills is provider-neutral — skills shouldn't push readers to globally install a third-party CLI.

Scope

93 files touched across 20 existing skill directories plus the top-level README.md. Net +99 / −340 lines.

Edge cases handled by hand

  • skills/openclaw-webhooks/references/setup.md — kept the OpenClaw-specific path /hooks/agent and port 18789; just added openclaw as the source.
  • skills/replicate-webhooks/references/setup.md — collapsed the multi-line invocation with the deprecated --source flag into the new positional form.
  • skills/hookdeck-event-gateway* — path /webhooks has no provider suffix; used gateway as the source name in those examples.

Excluded

Dependency

Best merged after PR #40 lands so the spec in AGENTS.md + scripts/skill-generator/prompts/generate-skill.md matches the sweep here. There's no file overlap with PR #40, so the merge order is flexible — but readers will be less confused if PR #40 is merged first.

Test plan

  • Spot-check a handful of skill READMEs and the top-level Quick Start — npx hookdeck-cli listen <port> <source> --path /webhooks/<source> everywhere, no orphan install steps
  • Confirm the hookdeck-event-gateway* examples still make sense with the generic gateway source name
  • Confirm openclaw-webhooks setup is intact (custom path/port preserved)
  • Confirm replicate-webhooks/references/setup.md reads correctly after the multi-line collapse

https://claude.ai/code/session_01NNTgQRJss1V7gyzzJ9rjnB


Generated by Claude Code

claude and others added 2 commits May 11, 2026 12:14
… top-level README

Applies the convention set in PR #40 to every pre-existing skill and the
top-level Quick Start. Two related changes per file:

1. Replace `hookdeck listen <port> --path /webhooks/<source>` (or `npx
   hookdeck-cli listen <port> --path /webhooks/<source>` without a source
   arg) with `npx hookdeck-cli listen <port> <source> --path /webhooks/<source>`.
   The `[source]` positional is required syntactically — omitting it makes
   the command fall into an interactive prompt instead of running.

2. Drop the `npm i -g hookdeck-cli` / `brew install hookdeck/hookdeck/hookdeck`
   prereq lines (and their orphan "# Install Hookdeck CLI" / "# or:"
   comments). The new `npx` form doesn't need a global install, and
   webhook-skills is provider-neutral — skills shouldn't push readers to
   globally install a third-party CLI.

Three edge cases handled by hand:

- `skills/openclaw-webhooks/references/setup.md` — kept the OpenClaw-specific
  path `/hooks/agent` and port 18789; just added `openclaw` as the source.
- `skills/replicate-webhooks/references/setup.md` — collapsed the multi-line
  invocation with deprecated `--source` flag into the new positional form.
- `skills/hookdeck-event-gateway*` — path `/webhooks` has no provider suffix;
  used `gateway` as the source name.

Excludes `AGENTS.md` (the normative spec lives in PR #40) and the 12 new
provider skills (each fixed on its own feat PR: #41#52).

https://claude.ai/code/session_01NNTgQRJss1V7gyzzJ9rjnB
…r SDK 15+

Stripe Python SDK 15.x added a check for `event.object == "v2.core.event"`
inside `stripe.Webhook.construct_event()` to route v2 events. The test
fixture payloads here build events with only `id`, `type`, and `data`
fields, so when `requirements.txt` (`stripe>=7.0.0`) resolves to v15+
the SDK raises `AttributeError: object` on every `construct_event` call.

Adds a top-level `"object": "event"` field to the three event fixtures so
the SDK can read it (and route to the v1 path). Pre-existing flake — not
caused by the docs cleanup in this PR — but resolved here so CI is green
end-to-end. Verified locally: all 5 tests pass against `stripe==15.1.0`.

https://claude.ai/code/session_01NNTgQRJss1V7gyzzJ9rjnB
@leggetter leggetter marked this pull request as ready for review May 11, 2026 14:54
@leggetter leggetter merged commit 969cd21 into main May 11, 2026
66 checks passed
@leggetter leggetter deleted the cleanup/hookdeck-cli-convention branch May 11, 2026 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants