webhook: Skill for Cursor

.cursor/skills/systematic-debugging/SKILL.md

systematic-debugging is a skill for Cursor from webhook-co/webhook. It costs 56 tokens per session (724 once invoked), scanned A, original, Apache-2.0.

A four-stage process for finding the underlying cause of a bug: investigate, look for patterns, test one explanation, and then implement a fix. It is designed for webhook.co systems, which receive and deliver events between services.

In plain words
What is it for?
Use it to reproduce webhook failures, trace events through the system, inspect duplicate handling and retries, test a specific hypothesis, and review the design after repeated failed fixes.
Why use it?
It replaces guess-and-check edits with evidence-based debugging and helps distinguish real bugs from expected retries or downstream failures.

Skill for Cursor

Written for Cursor: installed under .cursor/.

This is webhook-co/webhook's own configuration. It tells Cursor how to work on webhook itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything webhook configures →

Reuse

Borrowing it

Nothing to install: this file belongs to webhook-co/webhook. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/webhook-co/webhook/main/.cursor/skills/systematic-debugging/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/webhook-co/webhook

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for systematic-debugging

README.md
[![agentmods](https://agentmods.dev/badge/skills/webhook-co/webhook/systematic-debugging/github.svg)](https://agentmods.dev/skills/webhook-co/webhook/systematic-debugging)
Your own site
<a href="https://agentmods.dev/skills/webhook-co/webhook/systematic-debugging"><img src="https://agentmods.dev/badge/skills/webhook-co/webhook/systematic-debugging/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for systematic-debugging

Your own site · 80×15
<a href="https://agentmods.dev/skills/webhook-co/webhook/systematic-debugging"><img src="https://agentmods.dev/badge/skills/webhook-co/webhook/systematic-debugging.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 724 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00056 $0.00724
Opus 5.5 $0.00022 $0.00290
Sonnet 5.5 $0.00011 $0.00145
Haiku 4.5 $0.00006 $0.00072

Measured 1mo ago against content hash 1fa90ef026c5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

systematic-debugging scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/skills/systematic-debugging/SKILL.md · 60 lines

How it starts

The opening of the file, as written. The whole thing — 60 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Systematic debugging

Find the root cause before changing code. Guess-and-check edits hide bugs instead of fixing them and are especially dangerous on the correctness-critical paths (signing/verification, dedup, retries, ordering, replay, metering). Work the four phases in order.

Phase 1 — root-cause investigation

  • Reproduce with the smallest case: endpoint setup, a redacted sample event, the exact request/command. Note environment and version.
  • Follow the event id through ingest → DO → delivery using OpenTelemetry traces and logs. Inspect dedup/idempotency state, retry/backoff state, and signature verification.
  • State what you observe vs what you expect. Don't theorize past the evidence yet.

Phase 2 — pattern analysis

  • Is this a one-off or a class of bug? Search for the same shape elsewhere (other surfaces, other endpoints) — parity means a bug in one surface often exists in the others.
  • Check recent changes and the blast radius. Distinguish retryable from terminal failure: a "bug" is sometimes correct retry behavior reacting to a real downstream failure.

Phase 3 — hypothesis testing

  • Form one concrete, falsifiable hypothesis and design the cheapest test that would disprove it (a failing unit test, a targeted log/trace, a minimal repro).
  • Change one variable at a time. Capture the result before forming the next hypothesis. Reproduce the bug reliably before attempting a fix — if you can't reproduce it, you can't confirm a fix.

Phase 4 — implementation

  • Once the root cause is confirmed, fix it under TDD: write the regression test that fails without the fix first (see test-driven-development), then implement the minimal correct fix.
  • Verify the original repro is gone and nothing adjacent regressed.

The 3-attempt stop rule

If three genuine fix attempts have failed, stop thrashing. Repeated failed fixes mean the mental model is wrong, not that the next tweak will work. Step back and do an architectural review: write down what you know, what each attempt assumed, and which assumption keeps being wrong; reconsider the design or boundary involved; and bring in a second perspective (e.g. the code-reviewer agent) before trying again. More attempts on a broken model just dig the hole deeper.

Read the full file on GitHub · 60 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 60 lines · 56 tokens per session scan A 1fa90ef026c5

Subscribe to this mod's changes

systematic-debugging is a skill published in the GitHub repository webhook-co/webhook (0 stars, last pushed 18d ago), licensed Apache-2.0. It adds 56 tokens to every session and 724 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.