CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

webhook-receiver-hardener

This content presents implementation patterns for webhook security and reliability, including HMAC signature verification, Redis-based deduplication, database-backed idempotency, and asynchronous retry handling. It also covers appropriate error responses, monitoring, and an incident runbook. Use it when building webhook endpoints or third-party event integrations.

Quality

85%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Scored by GLM 5.3

Content

75%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A solid, actionable skill body built around executable TypeScript patterns covering all five pillars of webhook reliability, with a useful checklist and incident runbook. The main gaps are helper functions referenced but not defined, a redundant summary section, and no explicit build-and-verify sequence for implementing the endpoint end to end.

Suggestions

Remove the 'Core Security' bullet list (it duplicates the section headers) and use the freed tokens to define the undefined helpers (isValidPayload, processWebhookAsync, performWebhookAction), making the code fully copy-paste ready.

Reconcile the naming inconsistency between verifyWebhookSignature and verifySignature, and note that crypto.timingSafeEqual throws when buffer lengths differ, so the signature should be length-checked or compared via encoded digest first.

Turn the body into an explicit ordered build workflow (verify signature → dedupe → process idempotently → ack fast → respond with correct status codes) with a final verification step such as sending a test signed payload, rather than presenting the patterns as parallel standalone sections.

DimensionReasoningScore

Conciseness

The body is code-heavy and assumes competence (no primers on HMAC, Redis, or what webhooks are), matching the score-4 anchor ('efficient; minor instances that could be trimmed'). It is not 5 because the "Core Security" bullet list merely duplicates the subsequent section headers, and the provider backoff schedule comment is loose explanatory material; it is well above 3 since nothing explains concepts Claude already knows.

4 / 5

Actionability

Concrete, executable TypeScript throughout (timingSafeEqual HMAC verification, Redis SETEX dedupe, a transaction with PostgreSQL 23505 unique-violation handling, and an explicit status-code map), matching the score-4 anchor ('mostly executable guidance with minor gaps'). It is not 5 because several helpers are referenced but never defined (verifySignature vs. verifyWebhookSignature naming inconsistency, isValidPayload, processWebhookAsync, performWebhookAction), so the whole is not copy-paste ready.

4 / 5

Workflow Clarity

The webhookHandler in "Error Responses" presents an ordered flow with explicit validation gates (payload validity, signature, duplicate check) before processing, and the checklist plus runbook supply verification and recovery, matching the score-4 anchor. It is not 5 because the sections read as parallel patterns rather than an explicit build sequence, and there is no step for verifying the implementation (e.g., testing with a signed payload).

4 / 5

Progressive Disclosure

The single-file body is cleanly sectioned with clear headers and no nested references, so navigation is easy — matching the score-4 anchor ('good structure; most content appropriately placed; minor organization gaps'). It is not 5 because at roughly 200 lines, content such as the incident runbook and the Stripe-specific example could be externalized into reference files, and the simple-skill exception (under 50 lines) does not apply.

4 / 5

Total

16

/

20

Passed

Description

88%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description that clearly states what the skill does and when to use it, with concrete trigger phrases and comprehensive capability coverage in third-person voice. The only weaknesses are a few missing natural trigger variations and the slightly over-broad "third-party integrations" trigger.

DimensionReasoningScore

Specificity

The description lists five concrete capabilities ("signature verification, retry handling, deduplication, idempotency keys, and error responses") plus three concrete deliverables ("verification code, dedupe storage strategy, runbook for incidents"), giving comprehensive coverage of the webhook-receiver domain. It matches the score-5 anchor ('multiple specific concrete actions; comprehensive coverage') rather than 4, which is reserved for coverage with minor gaps.

5 / 5

Completeness

It clearly answers 'what' ("Secures webhook receivers with signature verification, retry handling, deduplication...") and 'when' with an explicit "Use when implementing..." clause containing concrete quoted trigger phrases. This is a direct match for the score-5 anchor ('clearly and explicitly answers both what AND when with concrete trigger phrases').

5 / 5

Trigger Term Quality

The trigger list ("webhooks", "webhook security", "event receivers", "third-party integrations") contains natural phrases a user would say, matching the score-4 anchor ('good keyword coverage; a few natural terms missing'). It falls short of 5 because common variations such as "webhook endpoint" or "payload verification" are absent, though it is well above 3 since multiple natural phrasings are explicitly quoted.

4 / 5

Distinctiveness Conflict Risk

"webhook receivers" carves out a clear niche with mostly distinct triggers, matching the score-4 anchor ('mostly distinct; minor overlap risk'). It is not 5 because the "third-party integrations" trigger is broad and could fire for general API-integration work unrelated to webhooks.

4 / 5

Total

18

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

sathishssj3/Stereix-Engine

Path

.agents/skills/webhook-receiver-hardener/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.