[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AE1NSAGVVCVZ7GPXNM2HKQ":3,"skill-same:01M7AE1NSAGVVCVZ7GPXNM2HKQ":56},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":34,"commitSha":35,"skillDirectory":36,"forksCount":37,"repositoryHtmlUrl":38,"repositoryHomepageUrl":39,"ownerHtmlUrl":40,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":41,"install":42,"resources":55},"01M7AE1NSAGVVCVZ7GPXNM2HKQ","webhooks",null,"Use when building or debugging endpoints that receive third-party callbacks (payments, GitHub, ERP). Webhook receiver discipline - signature verification, idempotency by event id, fast acknowledge with background processing, replay protection.","Leostruka\u002Fdevin-bundle","Leostruka","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F81370685?v=4","01M7AD8MAK63VDNAWRDRRRW04N","leandro ostruka","01M7AD8MBS65YDS1KMMV7YPM07",0,"MIT","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fwebhooks\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: webhooks\ndescription: Use when building or debugging endpoints that receive third-party callbacks (payments, GitHub, ERP). Webhook receiver discipline - signature verification, idempotency by event id, fast acknowledge with background processing, replay protection.\ntriggers: [user, model]\nallowed-tools: [read, grep, find_file_by_name, write, edit, exec]\n---\n\n# Webhooks\n\nA webhook endpoint is a public endpoint receiving POSTs from third parties: without verified signatures anyone injects events; without idempotency retries duplicate effects.\n\n## When to use\n\n- Creating an endpoint that receives webhooks (payment, GitHub, ERP).\n- Debugging duplicated or lost events.\n- Reviewing an existing callback endpoint.\n\n## Hard rules\n\n**Event authentication**\n\n- ALWAYS verify the provider signature (payload HMAC with the secret, or the provider's own mechanism). Never trust the payload.\n- Constant-time signature comparison (`hash_equals`): normal comparison leaks timing.\n- Secret outside the code (secrets\u002Fenv) with a rotation procedure.\n\n**Idempotency and retry**\n\n- Same event_id processed twice = effect once: store processed event_ids (table with unique constraint) and ignore duplicates.\n- Respond 2xx fast (ack) and process later in a queue. Never process synchronously with the provider timeout on your neck.\n- Events arrive out of order: process by state, do not assume arrival order.\n\n**Validation and surface**\n\n- Validate payload schema before using: a missing field is a malformed event, not a crash.\n- Event-type whitelist; unknown type = ignore and log, never explode.\n- Replay: acceptance window based on the provider timestamp.\n\n**Operations**\n\n- Structured log keyed by event_id (debug correlation).\n- Queue with its own retry and dead-letter (DLQ).\n- Monitor received vs processed; alert if the queue backs up.\n\n## Flow\n\n1. New webhook: define event_id + signature verification BEFORE the handler.\n2. Provider test event: validate signature and end-to-end processing.\n3. Test a real duplicate: send the same event 2x and confirm single effect.\n4. Test replay\u002Flag: an old event must not corrupt state.\n\n## Anti-patterns\n\n- Synchronous processing in the request (provider timeout = lost event and infinite retry).\n- Accepting a payload without signature \"because the provider is trustworthy\".\n- No event_id: duplicate becomes double effect (2x charge).\n- Empty catch on malformed events: invisibly lost data.\n- Webhook secret in code\u002Fcommits.\n\n## Cascade\n\n- `security`: webhook secret handling and rotation, public endpoint surface.\n- `debugging`: duplicated\u002Flost event investigation.\n","# Webhooks\n\nA webhook endpoint is a public endpoint receiving POSTs from third parties: without verified signatures anyone injects events; without idempotency retries duplicate effects.\n\n## When to use\n\n- Creating an endpoint that receives webhooks (payment, GitHub, ERP).\n- Debugging duplicated or lost events.\n- Reviewing an existing callback endpoint.\n\n## Hard rules\n\n**Event authentication**\n\n- ALWAYS verify the provider signature (payload HMAC with the secret, or the provider's own mechanism). Never trust the payload.\n- Constant-time signature comparison (`hash_equals`): normal comparison leaks timing.\n- Secret outside the code (secrets\u002Fenv) with a rotation procedure.\n\n**Idempotency and retry**\n\n- Same event_id processed twice = effect once: store processed event_ids (table with unique constraint) and ignore duplicates.\n- Respond 2xx fast (ack) and process later in a queue. Never process synchronously with the provider timeout on your neck.\n- Events arrive out of order: process by state, do not assume arrival order.\n\n**Validation and surface**\n\n- Validate payload schema before using: a missing field is a malformed event, not a crash.\n- Event-type whitelist; unknown type = ignore and log, never explode.\n- Replay: acceptance window based on the provider timestamp.\n\n**Operations**\n\n- Structured log keyed by event_id (debug correlation).\n- Queue with its own retry and dead-letter (DLQ).\n- Monitor received vs processed; alert if the queue backs up.\n\n## Flow\n\n1. New webhook: define event_id + signature verification BEFORE the handler.\n2. Provider test event: validate signature and end-to-end processing.\n3. Test a real duplicate: send the same event 2x and confirm single effect.\n4. Test replay\u002Flag: an old event must not corrupt state.\n\n## Anti-patterns\n\n- Synchronous processing in the request (provider timeout = lost event and infinite retry).\n- Accepting a payload without signature \"because the provider is trustworthy\".\n- No event_id: duplicate becomes double effect (2x charge).\n- Empty catch on malformed events: invisibly lost data.\n- Webhook secret in code\u002Fcommits.\n\n## Cascade\n\n- `security`: webhook secret handling and rotation, public endpoint surface.\n- `debugging`: duplicated\u002Flost event investigation.\n",{"name":5,"triggers":24,"description":7,"allowed-tools":27},[25,26],"user","model",[28,29,30,31,32,33],"read","grep","find_file_by_name","write","edit","exec","main","02b95ddb62959a00b3c31442c2046aca0d19563c","skills\u002Fwebhooks",1,"https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle","https:\u002F\u002Fleostruka.github.io\u002Fdevin-bundle\u002F","https:\u002F\u002Fgithub.com\u002FLeostruka","2026-11-15 05:19:58",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add Leostruka\u002Fdevin-bundle --skill webhooks",{"tool":48,"command":49},"bunx","bunx skills add Leostruka\u002Fdevin-bundle --skill webhooks",{"tool":51,"command":52},"pnpm","pnpm dlx skills add Leostruka\u002Fdevin-bundle --skill webhooks","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fwebhooks\u002FSKILL.md",true,[],[57,64,71,78,85,92],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M7E0K3MG2XC4FSRV0MK6SFR1","montador-de-ideias","Use when assembling, expanding, or elevating a raw project idea or initial prompt into an ultra-detailed, first-principles dossier and compiled master prompt with journalistic OSINT market research, Tech Lead and Staff Architect justifications, atomic and modular hardening\u002Foptimization, and high-impact contact surfaces.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fmontador-de-ideias\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M7E0J7JJWZ8QMK01RZ3B3C9Z","git-github-adaptive-engineering","Use when any task touches git history, GitHub issues\u002FPRs\u002Freleases\u002FCI, repo governance, or branch and merge decisions. Runs the Fase Zero situational-awareness battery, picks one of five delivery flows via the adaptive decision engine, and enforces commit\u002FPR information-density standards. Orchestrates the gh, git-workflows, github-actions, pr, and debug\u002Ffinish skills.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fgit-github-adaptive-engineering\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M7E0GJFRPFEVQQMXEM58EWDM","adaptive-agenda-calendar-routine-engine","Use when planning or executing work across hours, days, weeks, or sprints. Turns the calendar into a strict time-blocked agenda (HH:MM-HH:MM blocks carrying a routine profile, expected inputs, and a handoff output artifact), runs the 5-stage cognitive flow (Radar and Hunt -> Triage plus Steve Jobs conception -> workbench manifest -> >=32-cycle loop -> Close plus Open-Minded Scrum), and unfolds macro calendar milestones into micro agenda blocks through extensions\u002Fgcal\u002Fwrapper.py.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fadaptive-agenda-calendar-routine-engine\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M7AE2K9FTY0BVS48N0A9JFKF","demo","Use when demonstrating a skill in a fixture project.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fdevin-config\u002Fproject\u002F.devin\u002Fskills\u002Fdemo\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M7AE2G3DP38PTV3B1N7MW5TS","duplicate-skill","Use when testing duplicate skill name detection.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fdevin-config\u002Fproject\u002F.devin\u002Fskills\u002Fbeta\u002FSKILL.md",[],[],{"skillNo":93,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M7AE2DBR8ZHT6T875MJ392GK","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fdevin-config\u002Fproject\u002F.devin\u002Fskills\u002Falpha\u002FSKILL.md",[],[]]