doncheli/don-cheli-sdd / .agent/skills/doncheli-webhook
doncheli-webhook
VerifiedConfigure and test webhooks and automation triggers for the project. Activate when user mentions "webhook", "trigger", "automation", "event hook", "notify on", "callback URL".
Don Cheli: Webhook & Automation
Instructions
- Accept the desired webhook configuration: event, target URL, payload format, secret
- Detect the platform (GitHub Actions, custom server, Zapier, etc.) from context
- Generate the webhook configuration code/YAML for the detected platform
- Validate the target URL is reachable if possible (HTTP HEAD check)
- Generate a test payload that matches the event schema
- Provide a
curlcommand to manually test the webhook - Check for security best practices:
- HTTPS endpoint required (flag plain HTTP as a blocker)
- Webhook secret / HMAC signature validation
- Idempotency key handling for retries
- Document the webhook in
.dc/webhooks.mdwith: event, URL, owner, secret env var name - Never log or print the actual secret value — always reference the env var name
Output Format
## Webhook Configuration — pr_merged → deploy
### Config (GitHub Actions)
on:
pull_request:
types: [closed]
### Test Command
curl -X POST https://your-app.com/hooks/deploy \
-H "X-Hub-Signature-256: sha256=<computed>" \
-H "Content-Type: application/json" \
-d '{"action":"closed","merged":true,"branch":"main"}'
### Security Checklist
✅ HTTPS endpoint
✅ HMAC signature validation required
⚠️ Add idempotency key handling to prevent duplicate deploys on retry
### Registered in .dc/webhooks.md
Event: pull_request.closed + merged
Target: https://your-app.com/hooks/deploy
Secret: $WEBHOOK_SECRET_DEPLOY
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 321k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 321k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 321k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |