[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6F9A8D3033W312XY1QAT7D8":3,"skill-same:01M6F9A8D3033W312XY1QAT7D8":74},{"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":42,"linkOnly":43,"markdownContent":44,"markdownBody":45,"frontMatter":46,"refName":51,"commitSha":52,"skillDirectory":53,"forksCount":54,"repositoryHtmlUrl":55,"repositoryHomepageUrl":6,"ownerHtmlUrl":56,"ownerBlogUrl":57,"ownerDescription":58,"updatedAt":59,"install":60,"resources":73},"01M6F9A8D3033W312XY1QAT7D8","speak-webhooks-events",null,"Implement Speak webhook signature validation and event handling for language learning.\nUse when setting up webhook endpoints, implementing signature verification,\nor handling Speak event notifications for lessons and progress.\nTrigger with phrases like \"speak webhook\", \"speak events\",\n\"speak webhook signature\", \"handle speak events\", \"speak notifications\".","Dicklesworthstone\u002Fpi_agent_rust","Dicklesworthstone","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F35050222?v=4","01M6CG26AR942CSVMN1M5E3DSE","Jeff Emanuel","01M6CG26EPP71PSHW1VDS71121",1992,"MIT","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Fplugins-community\u002Fplugins\u002Fsaas-packs\u002Fspeak-pack\u002Fskills\u002Fspeak-webhooks-events\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41],"speak webhooks events","speak","events","webhooks","when","implement","for","implementing","event","progress","trigger","io","webhook","language learning","up","use","edit","write","read","learning","Bash","notifications","verification","2026-11-10 10:12:30",false,"---\nname: speak-webhooks-events\ndescription: |\n  Implement Speak webhook signature validation and event handling for language learning.\n  Use when setting up webhook endpoints, implementing signature verification,\n  or handling Speak event notifications for lessons and progress.\n  Trigger with phrases like \"speak webhook\", \"speak events\",\n  \"speak webhook signature\", \"handle speak events\", \"speak notifications\".\nallowed-tools: Read, Write, Edit, Bash(curl:*)\nversion: 1.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\n---\n\n# Speak Webhooks & Events\n\n## Overview\nSecurely handle Speak webhooks with signature validation for language learning event notifications.\n\n## Prerequisites\n- Speak webhook secret configured\n- HTTPS endpoint accessible from internet\n- Understanding of cryptographic signatures\n- Redis or database for idempotency (optional)\n\n## Speak Event Types\n\n| Event | Description | Payload |\n|-------|-------------|---------|\n| `lesson.started` | User started a lesson | sessionId, userId, topic |\n| `lesson.completed` | User completed a lesson | sessionId, summary, score |\n| `lesson.abandoned` | User abandoned mid-lesson | sessionId, progress, reason |\n| `pronunciation.milestone` | Score threshold reached | userId, language, score |\n| `streak.achieved` | Learning streak milestone | userId, streakDays |\n| `level.up` | User advanced a level | userId, language, newLevel |\n| `subscription.changed` | Plan changed | userId, plan, action |\n\n## Webhook Endpoint Setup\n\n### Express.js Implementation\n```typescript\nimport express from 'express';\nimport crypto from 'crypto';\n\nconst app = express();\n\n\u002F\u002F IMPORTANT: Raw body needed for signature verification\napp.post('\u002Fwebhooks\u002Fspeak',\n  express.raw({ type: 'application\u002Fjson' }),\n  async (req, res) => {\n    const signature = req.headers['x-speak-signature'] as string;\n    const timestamp = req.headers['x-speak-timestamp'] as string;\n    const eventId = req.headers['x-speak-event-id'] as string;\n\n    \u002F\u002F Verify signature\n    if (!verifySpeakSignature(req.body, signature, timestamp)) {\n      console.error('Invalid webhook signature', { eventId });\n      return res.status(401).json({ error: 'Invalid signature' });\n    }\n\n    \u002F\u002F Check for duplicate (idempotency)\n    if (await isEventProcessed(eventId)) {\n      return res.status(200).json({ received: true, duplicate: true });\n    }\n\n    const event = JSON.parse(req.body.toString());\n\n    try {\n      await handleSpeakEvent(event);\n      await markEventProcessed(eventId);\n      res.status(200).json({ received: true });\n    } catch (error) {\n      console.error('Webhook processing failed', { eventId, error });\n      \u002F\u002F Return 500 to trigger Speak retry\n      res.status(500).json({ error: 'Processing failed' });\n    }\n  }\n);\n```\n\n## Signature Verification\n\n```typescript\nfunction verifySpeakSignature(\n  payload: Buffer,\n  signature: string,\n  timestamp: string\n): boolean {\n  const secret = process.env.SPEAK_WEBHOOK_SECRET!;\n\n  \u002F\u002F Reject old timestamps (replay attack protection)\n  const timestampAge = Date.now() - parseInt(timestamp) * 1000;\n  if (timestampAge > 300000) { \u002F\u002F 5 minutes\n    console.error('Webhook timestamp too old', { age: timestampAge });\n    return false;\n  }\n\n  \u002F\u002F Reject future timestamps\n  if (timestampAge \u003C -60000) { \u002F\u002F 1 minute tolerance\n    console.error('Webhook timestamp in future');\n    return false;\n  }\n\n  \u002F\u002F Compute expected signature\n  const signedPayload = `${timestamp}.${payload.toString()}`;\n  const expectedSignature = crypto\n    .createHmac('sha256', secret)\n    .update(signedPayload)\n    .digest('hex');\n\n  \u002F\u002F Timing-safe comparison\n  try {\n    return crypto.timingSafeEqual(\n      Buffer.from(signature.replace('sha256=', '')),\n      Buffer.from(expectedSignature)\n    );\n  } catch {\n    return false;\n  }\n}\n```\n\n## Event Handler Pattern\n\n```typescript\ntype SpeakEventType =\n  | 'lesson.started'\n  | 'lesson.completed'\n  | 'lesson.abandoned'\n  | 'pronunciation.milestone'\n  | 'streak.achieved'\n  | 'level.up'\n  | 'subscription.changed';\n\ninterface SpeakEvent {\n  id: string;\n  type: SpeakEventType;\n  data: Record\u003Cstring, any>;\n  userId: string;\n  createdAt: string;\n}\n\n\u002F\u002F Type-safe event handlers\ninterface LessonCompletedData {\n  sessionId: string;\n  topic: string;\n  language: string;\n  duration: number;\n  averagePronunciationScore: number;\n  vocabularyLearned: number;\n  grammarPatternsUsed: string[];\n}\n\ninterface StreakAchievedData {\n  streakDays: number;\n  totalLessons: number;\n  milestone: number;\n}\n\nconst eventHandlers: Record\u003CSpeakEventType, (data: any, userId: string) => Promise\u003Cvoid>> = {\n  'lesson.started': async (data, userId) => {\n    console.log(`User ${userId} started lesson: ${data.topic}`);\n    await analytics.track('lesson_started', { userId, ...data });\n  },\n\n  'lesson.completed': async (data: LessonCompletedData, userId) => {\n    console.log(`User ${userId} completed lesson: ${data.topic}`);\n\n    \u002F\u002F Update user progress\n    await db.users.update(userId, {\n      totalLessons: { $inc: 1 },\n      vocabularyCount: { $inc: data.vocabularyLearned },\n      lastLessonAt: new Date(),\n    });\n\n    \u002F\u002F Award XP\n    const xp = calculateXP(data);\n    await gamification.awardXP(userId, xp);\n\n    \u002F\u002F Send completion notification\n    await notifications.send(userId, {\n      type: 'lesson_complete',\n      title: 'Lesson Complete!',\n      body: `Great job! You scored ${data.averagePronunciationScore}%`,\n    });\n\n    await analytics.track('lesson_completed', { userId, ...data });\n  },\n\n  'lesson.abandoned': async (data, userId) => {\n    console.log(`User ${userId} abandoned lesson at ${data.progress}%`);\n\n    \u002F\u002F Track for engagement analysis\n    await analytics.track('lesson_abandoned', { userId, ...data });\n\n    \u002F\u002F Maybe send re-engagement notification later\n    await scheduler.schedule('re_engagement', {\n      userId,\n      delayHours: 24,\n    });\n  },\n\n  'pronunciation.milestone': async (data, userId) => {\n    console.log(`User ${userId} reached pronunciation milestone: ${data.score}`);\n\n    await gamification.awardBadge(userId, `pronunciation_${data.score}`);\n    await notifications.send(userId, {\n      type: 'achievement',\n      title: 'Pronunciation Milestone!',\n      body: `You've reached ${data.score}% pronunciation accuracy!`,\n    });\n  },\n\n  'streak.achieved': async (data: StreakAchievedData, userId) => {\n    console.log(`User ${userId} achieved ${data.streakDays} day streak`);\n\n    await gamification.awardBadge(userId, `streak_${data.milestone}`);\n\n    \u002F\u002F Special rewards for milestone streaks\n    if ([7, 30, 100, 365].includes(data.milestone)) {\n      await rewards.grantStreakReward(userId, data.milestone);\n    }\n  },\n\n  'level.up': async (data, userId) => {\n    console.log(`User ${userId} leveled up to ${data.newLevel} in ${data.language}`);\n\n    await db.users.update(userId, {\n      [`levels.${data.language}`]: data.newLevel,\n    });\n\n    await gamification.awardBadge(userId, `level_${data.language}_${data.newLevel}`);\n  },\n\n  'subscription.changed': async (data, userId) => {\n    console.log(`User ${userId} subscription: ${data.action}`);\n\n    await db.users.update(userId, {\n      subscriptionPlan: data.plan,\n      subscriptionStatus: data.action === 'cancelled' ? 'cancelled' : 'active',\n    });\n\n    await analytics.track('subscription_changed', { userId, ...data });\n  },\n};\n\nasync function handleSpeakEvent(event: SpeakEvent): Promise\u003Cvoid> {\n  const handler = eventHandlers[event.type];\n\n  if (!handler) {\n    console.log(`Unhandled event type: ${event.type}`);\n    return;\n  }\n\n  try {\n    await handler(event.data, event.userId);\n    console.log(`Processed ${event.type}: ${event.id}`);\n  } catch (error) {\n    console.error(`Failed to process ${event.type}: ${event.id}`, error);\n    throw error; \u002F\u002F Rethrow to trigger retry\n  }\n}\n```\n\n## Idempotency Handling\n\n```typescript\nimport { Redis } from 'ioredis';\n\nconst redis = new Redis(process.env.REDIS_URL);\n\nasync function isEventProcessed(eventId: string): Promise\u003Cboolean> {\n  const key = `speak:event:${eventId}`;\n  const exists = await redis.exists(key);\n  return exists === 1;\n}\n\nasync function markEventProcessed(eventId: string): Promise\u003Cvoid> {\n  const key = `speak:event:${eventId}`;\n  \u002F\u002F Keep for 7 days to handle delayed retries\n  await redis.set(key, '1', 'EX', 86400 * 7);\n}\n```\n\n## Webhook Testing\n\n```bash\n# Use Speak CLI to send test events\nspeak webhooks trigger lesson.completed \\\n  --url http:\u002F\u002Flocalhost:3000\u002Fwebhooks\u002Fspeak \\\n  --data '{\"sessionId\":\"sess_123\",\"topic\":\"greetings\",\"score\":85}'\n\n# Test with signature\nTIMESTAMP=$(date +%s)\nPAYLOAD='{\"type\":\"lesson.completed\",\"data\":{\"score\":85}}'\nSIGNATURE=$(echo -n \"${TIMESTAMP}.${PAYLOAD}\" | openssl dgst -sha256 -hmac \"$SPEAK_WEBHOOK_SECRET\" | cut -d' ' -f2)\n\ncurl -X POST http:\u002F\u002Flocalhost:3000\u002Fwebhooks\u002Fspeak \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"X-Speak-Signature: sha256=${SIGNATURE}\" \\\n  -H \"X-Speak-Timestamp: ${TIMESTAMP}\" \\\n  -H \"X-Speak-Event-Id: test_$(uuidgen)\" \\\n  -d \"${PAYLOAD}\"\n```\n\n## Local Development with ngrok\n\n```bash\n# Expose local server\nngrok http 3000\n\n# Register webhook URL in Speak dashboard\n# URL: https:\u002F\u002Fyour-ngrok-url.ngrok.io\u002Fwebhooks\u002Fspeak\n\n# Test events will now hit your local server\n```\n\n## Output\n- Secure webhook endpoint\n- Signature validation enabled\n- Event handlers implemented\n- Replay attack protection active\n- Idempotency for duplicate prevention\n\n## Error Handling\n| Issue | Cause | Solution |\n|-------|-------|----------|\n| Invalid signature | Wrong secret | Verify webhook secret |\n| Timestamp rejected | Clock drift | Check server time sync |\n| Duplicate events | Missing idempotency | Implement event ID tracking |\n| Handler timeout | Slow processing | Use async queue |\n| Event not recognized | New event type | Add handler or log |\n\n## Resources\n- [Speak Webhooks Guide](https:\u002F\u002Fdeveloper.speak.com\u002Fdocs\u002Fwebhooks)\n- [Webhook Security Best Practices](https:\u002F\u002Fdeveloper.speak.com\u002Fdocs\u002Fwebhooks\u002Fsecurity)\n- [Event Reference](https:\u002F\u002Fdeveloper.speak.com\u002Fdocs\u002Fevents)\n\n## Next Steps\nFor performance optimization, see `speak-performance-tuning`.\n","# Speak Webhooks & Events\n\n## Overview\nSecurely handle Speak webhooks with signature validation for language learning event notifications.\n\n## Prerequisites\n- Speak webhook secret configured\n- HTTPS endpoint accessible from internet\n- Understanding of cryptographic signatures\n- Redis or database for idempotency (optional)\n\n## Speak Event Types\n\n| Event | Description | Payload |\n|-------|-------------|---------|\n| `lesson.started` | User started a lesson | sessionId, userId, topic |\n| `lesson.completed` | User completed a lesson | sessionId, summary, score |\n| `lesson.abandoned` | User abandoned mid-lesson | sessionId, progress, reason |\n| `pronunciation.milestone` | Score threshold reached | userId, language, score |\n| `streak.achieved` | Learning streak milestone | userId, streakDays |\n| `level.up` | User advanced a level | userId, language, newLevel |\n| `subscription.changed` | Plan changed | userId, plan, action |\n\n## Webhook Endpoint Setup\n\n### Express.js Implementation\n```typescript\nimport express from 'express';\nimport crypto from 'crypto';\n\nconst app = express();\n\n\u002F\u002F IMPORTANT: Raw body needed for signature verification\napp.post('\u002Fwebhooks\u002Fspeak',\n  express.raw({ type: 'application\u002Fjson' }),\n  async (req, res) => {\n    const signature = req.headers['x-speak-signature'] as string;\n    const timestamp = req.headers['x-speak-timestamp'] as string;\n    const eventId = req.headers['x-speak-event-id'] as string;\n\n    \u002F\u002F Verify signature\n    if (!verifySpeakSignature(req.body, signature, timestamp)) {\n      console.error('Invalid webhook signature', { eventId });\n      return res.status(401).json({ error: 'Invalid signature' });\n    }\n\n    \u002F\u002F Check for duplicate (idempotency)\n    if (await isEventProcessed(eventId)) {\n      return res.status(200).json({ received: true, duplicate: true });\n    }\n\n    const event = JSON.parse(req.body.toString());\n\n    try {\n      await handleSpeakEvent(event);\n      await markEventProcessed(eventId);\n      res.status(200).json({ received: true });\n    } catch (error) {\n      console.error('Webhook processing failed', { eventId, error });\n      \u002F\u002F Return 500 to trigger Speak retry\n      res.status(500).json({ error: 'Processing failed' });\n    }\n  }\n);\n```\n\n## Signature Verification\n\n```typescript\nfunction verifySpeakSignature(\n  payload: Buffer,\n  signature: string,\n  timestamp: string\n): boolean {\n  const secret = process.env.SPEAK_WEBHOOK_SECRET!;\n\n  \u002F\u002F Reject old timestamps (replay attack protection)\n  const timestampAge = Date.now() - parseInt(timestamp) * 1000;\n  if (timestampAge > 300000) { \u002F\u002F 5 minutes\n    console.error('Webhook timestamp too old', { age: timestampAge });\n    return false;\n  }\n\n  \u002F\u002F Reject future timestamps\n  if (timestampAge \u003C -60000) { \u002F\u002F 1 minute tolerance\n    console.error('Webhook timestamp in future');\n    return false;\n  }\n\n  \u002F\u002F Compute expected signature\n  const signedPayload = `${timestamp}.${payload.toString()}`;\n  const expectedSignature = crypto\n    .createHmac('sha256', secret)\n    .update(signedPayload)\n    .digest('hex');\n\n  \u002F\u002F Timing-safe comparison\n  try {\n    return crypto.timingSafeEqual(\n      Buffer.from(signature.replace('sha256=', '')),\n      Buffer.from(expectedSignature)\n    );\n  } catch {\n    return false;\n  }\n}\n```\n\n## Event Handler Pattern\n\n```typescript\ntype SpeakEventType =\n  | 'lesson.started'\n  | 'lesson.completed'\n  | 'lesson.abandoned'\n  | 'pronunciation.milestone'\n  | 'streak.achieved'\n  | 'level.up'\n  | 'subscription.changed';\n\ninterface SpeakEvent {\n  id: string;\n  type: SpeakEventType;\n  data: Record\u003Cstring, any>;\n  userId: string;\n  createdAt: string;\n}\n\n\u002F\u002F Type-safe event handlers\ninterface LessonCompletedData {\n  sessionId: string;\n  topic: string;\n  language: string;\n  duration: number;\n  averagePronunciationScore: number;\n  vocabularyLearned: number;\n  grammarPatternsUsed: string[];\n}\n\ninterface StreakAchievedData {\n  streakDays: number;\n  totalLessons: number;\n  milestone: number;\n}\n\nconst eventHandlers: Record\u003CSpeakEventType, (data: any, userId: string) => Promise\u003Cvoid>> = {\n  'lesson.started': async (data, userId) => {\n    console.log(`User ${userId} started lesson: ${data.topic}`);\n    await analytics.track('lesson_started', { userId, ...data });\n  },\n\n  'lesson.completed': async (data: LessonCompletedData, userId) => {\n    console.log(`User ${userId} completed lesson: ${data.topic}`);\n\n    \u002F\u002F Update user progress\n    await db.users.update(userId, {\n      totalLessons: { $inc: 1 },\n      vocabularyCount: { $inc: data.vocabularyLearned },\n      lastLessonAt: new Date(),\n    });\n\n    \u002F\u002F Award XP\n    const xp = calculateXP(data);\n    await gamification.awardXP(userId, xp);\n\n    \u002F\u002F Send completion notification\n    await notifications.send(userId, {\n      type: 'lesson_complete',\n      title: 'Lesson Complete!',\n      body: `Great job! You scored ${data.averagePronunciationScore}%`,\n    });\n\n    await analytics.track('lesson_completed', { userId, ...data });\n  },\n\n  'lesson.abandoned': async (data, userId) => {\n    console.log(`User ${userId} abandoned lesson at ${data.progress}%`);\n\n    \u002F\u002F Track for engagement analysis\n    await analytics.track('lesson_abandoned', { userId, ...data });\n\n    \u002F\u002F Maybe send re-engagement notification later\n    await scheduler.schedule('re_engagement', {\n      userId,\n      delayHours: 24,\n    });\n  },\n\n  'pronunciation.milestone': async (data, userId) => {\n    console.log(`User ${userId} reached pronunciation milestone: ${data.score}`);\n\n    await gamification.awardBadge(userId, `pronunciation_${data.score}`);\n    await notifications.send(userId, {\n      type: 'achievement',\n      title: 'Pronunciation Milestone!',\n      body: `You've reached ${data.score}% pronunciation accuracy!`,\n    });\n  },\n\n  'streak.achieved': async (data: StreakAchievedData, userId) => {\n    console.log(`User ${userId} achieved ${data.streakDays} day streak`);\n\n    await gamification.awardBadge(userId, `streak_${data.milestone}`);\n\n    \u002F\u002F Special rewards for milestone streaks\n    if ([7, 30, 100, 365].includes(data.milestone)) {\n      await rewards.grantStreakReward(userId, data.milestone);\n    }\n  },\n\n  'level.up': async (data, userId) => {\n    console.log(`User ${userId} leveled up to ${data.newLevel} in ${data.language}`);\n\n    await db.users.update(userId, {\n      [`levels.${data.language}`]: data.newLevel,\n    });\n\n    await gamification.awardBadge(userId, `level_${data.language}_${data.newLevel}`);\n  },\n\n  'subscription.changed': async (data, userId) => {\n    console.log(`User ${userId} subscription: ${data.action}`);\n\n    await db.users.update(userId, {\n      subscriptionPlan: data.plan,\n      subscriptionStatus: data.action === 'cancelled' ? 'cancelled' : 'active',\n    });\n\n    await analytics.track('subscription_changed', { userId, ...data });\n  },\n};\n\nasync function handleSpeakEvent(event: SpeakEvent): Promise\u003Cvoid> {\n  const handler = eventHandlers[event.type];\n\n  if (!handler) {\n    console.log(`Unhandled event type: ${event.type}`);\n    return;\n  }\n\n  try {\n    await handler(event.data, event.userId);\n    console.log(`Processed ${event.type}: ${event.id}`);\n  } catch (error) {\n    console.error(`Failed to process ${event.type}: ${event.id}`, error);\n    throw error; \u002F\u002F Rethrow to trigger retry\n  }\n}\n```\n\n## Idempotency Handling\n\n```typescript\nimport { Redis } from 'ioredis';\n\nconst redis = new Redis(process.env.REDIS_URL);\n\nasync function isEventProcessed(eventId: string): Promise\u003Cboolean> {\n  const key = `speak:event:${eventId}`;\n  const exists = await redis.exists(key);\n  return exists === 1;\n}\n\nasync function markEventProcessed(eventId: string): Promise\u003Cvoid> {\n  const key = `speak:event:${eventId}`;\n  \u002F\u002F Keep for 7 days to handle delayed retries\n  await redis.set(key, '1', 'EX', 86400 * 7);\n}\n```\n\n## Webhook Testing\n\n```bash\n# Use Speak CLI to send test events\nspeak webhooks trigger lesson.completed \\\n  --url http:\u002F\u002Flocalhost:3000\u002Fwebhooks\u002Fspeak \\\n  --data '{\"sessionId\":\"sess_123\",\"topic\":\"greetings\",\"score\":85}'\n\n# Test with signature\nTIMESTAMP=$(date +%s)\nPAYLOAD='{\"type\":\"lesson.completed\",\"data\":{\"score\":85}}'\nSIGNATURE=$(echo -n \"${TIMESTAMP}.${PAYLOAD}\" | openssl dgst -sha256 -hmac \"$SPEAK_WEBHOOK_SECRET\" | cut -d' ' -f2)\n\ncurl -X POST http:\u002F\u002Flocalhost:3000\u002Fwebhooks\u002Fspeak \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"X-Speak-Signature: sha256=${SIGNATURE}\" \\\n  -H \"X-Speak-Timestamp: ${TIMESTAMP}\" \\\n  -H \"X-Speak-Event-Id: test_$(uuidgen)\" \\\n  -d \"${PAYLOAD}\"\n```\n\n## Local Development with ngrok\n\n```bash\n# Expose local server\nngrok http 3000\n\n# Register webhook URL in Speak dashboard\n# URL: https:\u002F\u002Fyour-ngrok-url.ngrok.io\u002Fwebhooks\u002Fspeak\n\n# Test events will now hit your local server\n```\n\n## Output\n- Secure webhook endpoint\n- Signature validation enabled\n- Event handlers implemented\n- Replay attack protection active\n- Idempotency for duplicate prevention\n\n## Error Handling\n| Issue | Cause | Solution |\n|-------|-------|----------|\n| Invalid signature | Wrong secret | Verify webhook secret |\n| Timestamp rejected | Clock drift | Check server time sync |\n| Duplicate events | Missing idempotency | Implement event ID tracking |\n| Handler timeout | Slow processing | Use async queue |\n| Event not recognized | New event type | Add handler or log |\n\n## Resources\n- [Speak Webhooks Guide](https:\u002F\u002Fdeveloper.speak.com\u002Fdocs\u002Fwebhooks)\n- [Webhook Security Best Practices](https:\u002F\u002Fdeveloper.speak.com\u002Fdocs\u002Fwebhooks\u002Fsecurity)\n- [Event Reference](https:\u002F\u002Fdeveloper.speak.com\u002Fdocs\u002Fevents)\n\n## Next Steps\nFor performance optimization, see `speak-performance-tuning`.\n",{"name":5,"author":47,"license":15,"version":48,"description":49,"allowed-tools":50},"Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Implement Speak webhook signature validation and event handling for language learning.\nUse when setting up webhook endpoints, implementing signature verification,\nor handling Speak event notifications for lessons and progress.\nTrigger with phrases like \"speak webhook\", \"speak events\",\n\"speak webhook signature\", \"handle speak events\", \"speak notifications\".\n","Read, Write, Edit, Bash(curl:*)","main","90b50ed0778745a80fd5bfb13b1843d45b9e82f7","tests\u002Fext_conformance\u002Fartifacts\u002Fplugins-community\u002Fplugins\u002Fsaas-packs\u002Fspeak-pack\u002Fskills\u002Fspeak-webhooks-events",233,"https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust","https:\u002F\u002Fgithub.com\u002FDicklesworthstone","https:\u002F\u002Fwww.jeffreyemanuel.com\u002F","Building in NY","2026-11-15 01:54:15",{"source":8,"skillName":5,"commands":61,"prompt":71,"zipAvailable":72},[62,65,68],{"tool":63,"command":64},"npx","npx skills add Dicklesworthstone\u002Fpi_agent_rust --skill speak-webhooks-events",{"tool":66,"command":67},"bunx","bunx skills add Dicklesworthstone\u002Fpi_agent_rust --skill speak-webhooks-events",{"tool":69,"command":70},"pnpm","pnpm dlx skills add Dicklesworthstone\u002Fpi_agent_rust --skill speak-webhooks-events","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Fplugins-community\u002Fplugins\u002Fsaas-packs\u002Fspeak-pack\u002Fskills\u002Fspeak-webhooks-events\u002FSKILL.md",true,[],[75,109,143,166,192,219],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":79,"licenseFileUrl":80,"sourceHtmlUrl":81,"categories":82,"keywords":88,"publishedAt":108},"01M6FCR7G5A005P364Z6ZWCJDP","theme-factory","Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors\u002Ffonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fcreative-design\u002Ftheme-factory\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fcreative-design\u002Ftheme-factory\u002FSKILL.md",[83],{"categoryNo":84,"categoryName":85,"taxonomyType":86,"taxonomyTypeDesc":87},"01JBSEEDCAT000000000000015","视觉设计","SCENARIO","使用场景",[89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107],"theme factory","factory","theme","docs","toolkit","generate","artifacts","SET","fly","slides","landing","html","styling","artifact","pages","themes","with","you","fonts","2026-11-11 15:11:14",{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":79,"licenseFileUrl":113,"sourceHtmlUrl":114,"categories":115,"keywords":119,"publishedAt":42},"01M6FEGPPK0ZTKCCM0R3E3KS33","web-artifacts-builder","Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn\u002Fui). Use for complex artifacts requiring state management, routing, or shadcn\u002Fui components - not for simple single-file HTML\u002FJSX artifacts.","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Futilities\u002Fweb-artifacts-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Futilities\u002Fweb-artifacts-builder\u002FSKILL.md",[116],{"categoryNo":117,"categoryName":118,"taxonomyType":86,"taxonomyTypeDesc":87},"01JBSEEDCAT000000000000009","前端开发",[120,121,95,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,34,100,137,138,139,140,25,141,142],"web artifacts builder","web","artifacts builder","builder","frontend","css","components","react","component","routing","state management","state","shadcn","file","ui","Tools","Tailwind","single-file","simple","ui components","multi","jsx","suite",{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":79,"licenseFileUrl":147,"sourceHtmlUrl":148,"categories":149,"keywords":154,"publishedAt":42},"01M6FEE9VTK1W4GY21AKREJXRG","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fsecurity\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fsecurity\u002Fwebapp-testing\u002FSKILL.md",[150,153],{"categoryNo":151,"categoryName":152,"taxonomyType":86,"taxonomyTypeDesc":87},"01JBSEEDCAT000000000000008","测试与质量",{"categoryNo":117,"categoryName":118,"taxonomyType":86,"taxonomyTypeDesc":87},[155,156,157,124,158,159,121,160,93,161,134,162,163,164,165,105,25],"testing","webapp testing","webapp","screenshots","playwright","debugging","browser","logs","applications","behavior","local",{"skillNo":167,"name":168,"nameZh":6,"description":169,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":170,"sourceHtmlUrl":171,"categories":172,"keywords":173,"publishedAt":42},"01M6FE20F7ZTQBFWKF4MPJ2SBX","neuropixels-analysis","Neuropixels neural recording analysis. Load SpikeGLX\u002FOpenEphys data, preprocess, motion correction, Kilosort4 spike sorting, quality metrics, Allen\u002FIBL curation, AI-assisted visual analysis, for Neuropixels 1.0\u002F2.0 extracellular electrophysiology. Use when working with neural recordings, spike sorting, extracellular electrophysiology, or when the user mentions Neuropixels, SpikeGLX, Open Ephys, Kilosort, quality metrics, or unit curation.","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fneuropixels-analysis\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fneuropixels-analysis\u002FSKILL.md",[],[174,175,176,177,178,179,180,181,34,182,183,184,185,186,187,188,105,189,190,191,25,23],"analysis","neuropixels analysis","spike","metrics","data","open","quality","user","recordings","Neural","motion","visual","quality metrics","unit","sorting","curation","recording","load",{"skillNo":193,"name":194,"nameZh":6,"description":195,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":79,"licenseFileUrl":196,"sourceHtmlUrl":197,"categories":198,"keywords":202,"publishedAt":42},"01M6FDP0PDK6F1GGX395C7625Z","skill-creator","Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fproductivity\u002Fskill-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fproductivity\u002Fskill-creator\u002FSKILL.md",[199],{"categoryNo":200,"categoryName":201,"taxonomyType":86,"taxonomyTypeDesc":87},"01JBSEEDCAT000000000000023","Skill与智能体开发",[203,204,205,206,207,208,209,210,211,212,213,214,215,216,105,25,217,23,218],"skill creator","creator","workflows","create","update","capabilities","knowledge","tool","integrations","specialized","guide","new skill","existing skill","users","Existing","new",{"skillNo":220,"name":221,"nameZh":6,"description":222,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":223,"sourceHtmlUrl":224,"categories":225,"keywords":227,"publishedAt":42},"01M6FDM8Y7VK7NYG9SM7QPA3PW","notebooklm","Use this skill to query your Google NotebookLM notebooks directly from Claude Code for source-grounded, citation-backed answers from Gemini. Browser automation, library management, persistent auth. Drastically reduced hallucinations through document-only responses.","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fproductivity\u002Fnotebooklm\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fproductivity\u002Fnotebooklm\u002FSKILL.md",[226],{"categoryNo":200,"categoryName":201,"taxonomyType":86,"taxonomyTypeDesc":87},[221,228,229,230,231,232,233,161,234,235,34,236,237,238,239,25,240],"google","browser automation","gemini","automation","auth","code","library","management","only","document","query","Citation","source"]