[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6H8NG8EZYSVF2PWCAYA239D":3,"skill-same:01M6H8NG8EZYSVF2PWCAYA239D":69},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":48,"commitSha":49,"skillDirectory":50,"forksCount":51,"repositoryHtmlUrl":52,"repositoryHomepageUrl":6,"ownerHtmlUrl":53,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":54,"install":55,"resources":68},"01M6H8NG8EZYSVF2PWCAYA239D","replit-webhooks-events",null,"Implement Replit webhook signature validation and event handling.\nUse when setting up webhook endpoints, implementing signature verification,\nor handling Replit event notifications securely.\nTrigger with phrases like \"replit webhook\", \"replit events\",\n\"replit webhook signature\", \"handle replit events\", \"replit notifications\".","micsapp\u002Fmicstec-skills","micsapp","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F82411001?v=4","01M6GWCFQ6D3PV8EHNY62NN5VW","01M6GWCFVE1PA5HG0DKC7AMFJ3",4,"MIT","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fclaude-code\u002Fplugins-plus-skills\u002Fplugins\u002Fsaas-packs\u002Freplit-pack\u002Fskills\u002Freplit-webhooks-events\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"replit webhooks events","events","webhooks","implementing","codex","with","event","trigger","io","webhook","endpoints","up","use","read","curl","Bash","notifications","verification","code","implement","2026-11-10 10:12:30",false,"---\nname: replit-webhooks-events\ndescription: |\n  Implement Replit webhook signature validation and event handling.\n  Use when setting up webhook endpoints, implementing signature verification,\n  or handling Replit event notifications securely.\n  Trigger with phrases like \"replit webhook\", \"replit events\",\n  \"replit webhook signature\", \"handle replit events\", \"replit notifications\".\nallowed-tools: Read, Write, Edit, Bash(curl:*)\nversion: 1.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\ncompatible-with: claude-code, codex, openclaw\n---\n# Replit Webhooks & Events\n\n## Overview\nHandle Replit deployment and workspace events for CI\u002FCD integration. Replit provides deployment hooks and the Replit Extensions API for responding to workspace changes, deployment status updates, and collaboration events.\n\n## Prerequisites\n- Replit account with Deployments enabled (Replit Core or Teams)\n- Replit API token stored in `REPLIT_TOKEN` environment variable\n- HTTPS endpoint for receiving deployment notifications\n- Understanding of Replit deployment types (Static, Autoscale, Reserved VM)\n\n## Event Types\n\n| Event | Trigger | Payload |\n|-------|---------|---------|\n| `deployment.started` | Deploy begins | Repl ID, deployment type |\n| `deployment.succeeded` | Deploy completes | Deployment URL, build logs |\n| `deployment.failed` | Deploy errors | Error message, build output |\n| `deployment.promoted` | Staging to prod | Deployment ID, environment |\n| `repl.forked` | Repl forked | Source repl, fork owner |\n| `health_check.failed` | Health endpoint down | Deployment ID, response code |\n\n## Instructions\n\n### Step 1: Configure Deployment Webhook\n```typescript\nimport express from \"express\";\n\nconst app = express();\napp.use(express.json());\n\napp.post(\"\u002Fwebhooks\u002Freplit\", async (req, res) => {\n  const token = req.headers[\"x-replit-token\"] as string;\n\n  if (token !== process.env.REPLIT_WEBHOOK_SECRET) {\n    return res.status(401).json({ error: \"Unauthorized\" });  # HTTP 401 Unauthorized\n  }\n\n  const { event, data, timestamp } = req.body;\n  res.status(200).json({ received: true });  # HTTP 200 OK\n\n  await handleReplitEvent(event, data);\n});\n\nasync function handleReplitEvent(event: string, data: any) {\n  switch (event) {\n    case \"deployment.succeeded\":\n      await handleDeploySuccess(data);\n      break;\n    case \"deployment.failed\":\n      await handleDeployFailure(data);\n      break;\n    case \"health_check.failed\":\n      await handleHealthCheckFailure(data);\n      break;\n  }\n}\n```\n\n### Step 2: Process Deployment Events\n```typescript\nasync function handleDeploySuccess(data: any) {\n  const { replId, deploymentUrl, buildDuration, deploymentType } = data;\n\n  console.log(`Deployment successful: ${deploymentUrl} (${buildDuration}s)`);\n\n  \u002F\u002F Run post-deploy smoke tests\n  const healthCheck = await fetch(`${deploymentUrl}\u002Fhealth`);\n  const isHealthy = healthCheck.ok;\n\n  await slackNotify(\"#deployments\", {\n    text: `Replit deploy complete\\nURL: ${deploymentUrl}\\nType: ${deploymentType}\\nHealth: ${isHealthy ? \"OK\" : \"FAILING\"}`,\n  });\n}\n\nasync function handleDeployFailure(data: any) {\n  const { replId, error, buildOutput } = data;\n\n  console.error(`Deployment failed for ${replId}: ${error}`);\n\n  await alerting.createIncident({\n    title: `Replit deployment failed: ${replId}`,\n    severity: \"high\",\n    details: buildOutput,\n  });\n}\n```\n\n### Step 3: Monitor Deployment Health\n```typescript\nasync function handleHealthCheckFailure(data: any) {\n  const { deploymentId, statusCode, responseTime } = data;\n\n  const failures = await getRecentFailures(deploymentId);\n\n  if (failures.length >= 3) {\n    console.log(`Rolling back deployment ${deploymentId}`);\n    await rollbackDeployment(deploymentId);\n  }\n}\n\nasync function rollbackDeployment(deploymentId: string) {\n  const response = await fetch(\n    `https:\u002F\u002Fapi.replit.com\u002Fv1\u002Fdeployments\u002F${deploymentId}\u002Frollback`,\n    {\n      method: \"POST\",\n      headers: { \"Authorization\": `Bearer ${process.env.REPLIT_TOKEN}` },\n    }\n  );\n  return response.json();\n}\n```\n\n### Step 4: Deploy via API\n```bash\nset -euo pipefail\n# Trigger deployment via Replit API\ncurl -X POST https:\u002F\u002Fapi.replit.com\u002Fv1\u002Frepls\u002F$REPL_ID\u002Fdeploy \\\n  -H \"Authorization: Bearer $REPLIT_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"type\": \"autoscale\", \"webhook_url\": \"https:\u002F\u002Fapi.yourapp.com\u002Fwebhooks\u002Freplit\"}'\n```\n\n## Error Handling\n| Issue | Cause | Solution |\n|-------|-------|----------|\n| Deploy timeout | Large dependencies | Optimize package.json, use .replit config |\n| Health check fails | Wrong port | Verify internal port matches .replit config |\n| Webhook not received | Network issue | Check Replit firewall and endpoint accessibility |\n| Build failure | Missing env vars | Set secrets in Replit Secrets tab |\n\n## Examples\n\n### Deployment Status Dashboard\n```typescript\nasync function getDeploymentHistory(replId: string) {\n  const response = await fetch(\n    `https:\u002F\u002Fapi.replit.com\u002Fv1\u002Frepls\u002F${replId}\u002Fdeployments`,\n    { headers: { \"Authorization\": `Bearer ${process.env.REPLIT_TOKEN}` } }\n  );\n  return response.json();\n}\n```\n\n## Resources\n- [Replit Deployments](https:\u002F\u002Fdocs.replit.com\u002Fhosting\u002Fdeployments)\n- [Replit API Reference](https:\u002F\u002Fdocs.replit.com\u002Fapi)\n- [Replit Extensions](https:\u002F\u002Fdocs.replit.com\u002Fextensions)\n\n## Next Steps\nFor multi-environment setup, see `replit-multi-env-setup`.\n\n## Output\n\n- Configuration files or code changes applied to the project\n- Validation report confirming correct implementation\n- Summary of changes made and their rationale","# Replit Webhooks & Events\n\n## Overview\nHandle Replit deployment and workspace events for CI\u002FCD integration. Replit provides deployment hooks and the Replit Extensions API for responding to workspace changes, deployment status updates, and collaboration events.\n\n## Prerequisites\n- Replit account with Deployments enabled (Replit Core or Teams)\n- Replit API token stored in `REPLIT_TOKEN` environment variable\n- HTTPS endpoint for receiving deployment notifications\n- Understanding of Replit deployment types (Static, Autoscale, Reserved VM)\n\n## Event Types\n\n| Event | Trigger | Payload |\n|-------|---------|---------|\n| `deployment.started` | Deploy begins | Repl ID, deployment type |\n| `deployment.succeeded` | Deploy completes | Deployment URL, build logs |\n| `deployment.failed` | Deploy errors | Error message, build output |\n| `deployment.promoted` | Staging to prod | Deployment ID, environment |\n| `repl.forked` | Repl forked | Source repl, fork owner |\n| `health_check.failed` | Health endpoint down | Deployment ID, response code |\n\n## Instructions\n\n### Step 1: Configure Deployment Webhook\n```typescript\nimport express from \"express\";\n\nconst app = express();\napp.use(express.json());\n\napp.post(\"\u002Fwebhooks\u002Freplit\", async (req, res) => {\n  const token = req.headers[\"x-replit-token\"] as string;\n\n  if (token !== process.env.REPLIT_WEBHOOK_SECRET) {\n    return res.status(401).json({ error: \"Unauthorized\" });  # HTTP 401 Unauthorized\n  }\n\n  const { event, data, timestamp } = req.body;\n  res.status(200).json({ received: true });  # HTTP 200 OK\n\n  await handleReplitEvent(event, data);\n});\n\nasync function handleReplitEvent(event: string, data: any) {\n  switch (event) {\n    case \"deployment.succeeded\":\n      await handleDeploySuccess(data);\n      break;\n    case \"deployment.failed\":\n      await handleDeployFailure(data);\n      break;\n    case \"health_check.failed\":\n      await handleHealthCheckFailure(data);\n      break;\n  }\n}\n```\n\n### Step 2: Process Deployment Events\n```typescript\nasync function handleDeploySuccess(data: any) {\n  const { replId, deploymentUrl, buildDuration, deploymentType } = data;\n\n  console.log(`Deployment successful: ${deploymentUrl} (${buildDuration}s)`);\n\n  \u002F\u002F Run post-deploy smoke tests\n  const healthCheck = await fetch(`${deploymentUrl}\u002Fhealth`);\n  const isHealthy = healthCheck.ok;\n\n  await slackNotify(\"#deployments\", {\n    text: `Replit deploy complete\\nURL: ${deploymentUrl}\\nType: ${deploymentType}\\nHealth: ${isHealthy ? \"OK\" : \"FAILING\"}`,\n  });\n}\n\nasync function handleDeployFailure(data: any) {\n  const { replId, error, buildOutput } = data;\n\n  console.error(`Deployment failed for ${replId}: ${error}`);\n\n  await alerting.createIncident({\n    title: `Replit deployment failed: ${replId}`,\n    severity: \"high\",\n    details: buildOutput,\n  });\n}\n```\n\n### Step 3: Monitor Deployment Health\n```typescript\nasync function handleHealthCheckFailure(data: any) {\n  const { deploymentId, statusCode, responseTime } = data;\n\n  const failures = await getRecentFailures(deploymentId);\n\n  if (failures.length >= 3) {\n    console.log(`Rolling back deployment ${deploymentId}`);\n    await rollbackDeployment(deploymentId);\n  }\n}\n\nasync function rollbackDeployment(deploymentId: string) {\n  const response = await fetch(\n    `https:\u002F\u002Fapi.replit.com\u002Fv1\u002Fdeployments\u002F${deploymentId}\u002Frollback`,\n    {\n      method: \"POST\",\n      headers: { \"Authorization\": `Bearer ${process.env.REPLIT_TOKEN}` },\n    }\n  );\n  return response.json();\n}\n```\n\n### Step 4: Deploy via API\n```bash\nset -euo pipefail\n# Trigger deployment via Replit API\ncurl -X POST https:\u002F\u002Fapi.replit.com\u002Fv1\u002Frepls\u002F$REPL_ID\u002Fdeploy \\\n  -H \"Authorization: Bearer $REPLIT_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"type\": \"autoscale\", \"webhook_url\": \"https:\u002F\u002Fapi.yourapp.com\u002Fwebhooks\u002Freplit\"}'\n```\n\n## Error Handling\n| Issue | Cause | Solution |\n|-------|-------|----------|\n| Deploy timeout | Large dependencies | Optimize package.json, use .replit config |\n| Health check fails | Wrong port | Verify internal port matches .replit config |\n| Webhook not received | Network issue | Check Replit firewall and endpoint accessibility |\n| Build failure | Missing env vars | Set secrets in Replit Secrets tab |\n\n## Examples\n\n### Deployment Status Dashboard\n```typescript\nasync function getDeploymentHistory(replId: string) {\n  const response = await fetch(\n    `https:\u002F\u002Fapi.replit.com\u002Fv1\u002Frepls\u002F${replId}\u002Fdeployments`,\n    { headers: { \"Authorization\": `Bearer ${process.env.REPLIT_TOKEN}` } }\n  );\n  return response.json();\n}\n```\n\n## Resources\n- [Replit Deployments](https:\u002F\u002Fdocs.replit.com\u002Fhosting\u002Fdeployments)\n- [Replit API Reference](https:\u002F\u002Fdocs.replit.com\u002Fapi)\n- [Replit Extensions](https:\u002F\u002Fdocs.replit.com\u002Fextensions)\n\n## Next Steps\nFor multi-environment setup, see `replit-multi-env-setup`.\n\n## Output\n\n- Configuration files or code changes applied to the project\n- Validation report confirming correct implementation\n- Summary of changes made and their rationale",{"name":5,"author":43,"license":14,"version":44,"description":45,"allowed-tools":46,"compatible-with":47},"Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Implement Replit webhook signature validation and event handling.\nUse when setting up webhook endpoints, implementing signature verification,\nor handling Replit event notifications securely.\nTrigger with phrases like \"replit webhook\", \"replit events\",\n\"replit webhook signature\", \"handle replit events\", \"replit notifications\".\n","Read, Write, Edit, Bash(curl:*)","claude-code, codex, openclaw","master","3f5d983eb4ef375b749adcd6b07ec03bd82ae8a8","claude-code\u002Fplugins-plus-skills\u002Fplugins\u002Fsaas-packs\u002Freplit-pack\u002Fskills\u002Freplit-webhooks-events",0,"https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills","https:\u002F\u002Fgithub.com\u002Fmicsapp","2026-03-20 11:24:18",{"source":8,"skillName":5,"commands":56,"prompt":66,"zipAvailable":67},[57,60,63],{"tool":58,"command":59},"npx","npx skills add micsapp\u002Fmicstec-skills --skill replit-webhooks-events",{"tool":61,"command":62},"bunx","bunx skills add micsapp\u002Fmicstec-skills --skill replit-webhooks-events",{"tool":64,"command":65},"pnpm","pnpm dlx skills add micsapp\u002Fmicstec-skills --skill replit-webhooks-events","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fclaude-code\u002Fplugins-plus-skills\u002Fplugins\u002Fsaas-packs\u002Freplit-pack\u002Fskills\u002Freplit-webhooks-events\u002FSKILL.md",true,[],[70,97,117,136,153,178],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":38},"01M6HBTJ02FXBFG9NYEHHYAP52","azure-apim-architecture","Analyzes and explains Azure API Management architecture decisions for enterprise API marketplace implementations using VNet Internal mode, Front Door, hybrid authentication, and multi-environment strategies. Use when discussing APIM component selection, network topology, cost optimization, or comparing alternatives like workspaces vs instances, VNet Internal vs External mode, or Front Door vs Application Gateway.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fcopilot-agent-skills\u002F.github\u002Fskills\u002Fazure-apim-architecture\u002FSKILL.md",[],[77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96],"architecture","azure","azure apim architecture","component","authentication","gateway","topology","Optimization","network","api","team","environment","multi-environment","workspaces","instances","selection","strategies","azure api management","mode","for",{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":38},"01M6HBT7J4H082JEEA670B3EQ9","apiops-deployment","Guides deployment of Azure API Management infrastructure using Infrastructure as Code (Bicep\u002FTerraform), CI\u002FCD pipelines (GitHub Actions\u002FAzure DevOps), and APIOps workflows. Use when deploying APIM, creating pipelines, or implementing dev→test→prod promotion strategies.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fcopilot-agent-skills\u002F.github\u002Fskills\u002Fapiops-deployment\u002FSKILL.md",[],[104,105,106,107,78,108,36,109,110,111,112,113,86,87,93,114,115,94,116,21],"deployment","apiops deployment","workflows","azure devops","infrastructure","infrastructure as code","actions","ci","github actions","github-actions","as","guides","CI\u002FCD",{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":38},"01M6HBT2HEA23THNE9E00GYQBE","apim-policy-authoring","Creates production-ready Azure API Management policy XML for authentication (OAuth 2.0, JWT validation, subscription keys), rate limiting, CORS configuration, error handling, and API transformations. Use when implementing API security, access control, or request\u002Fresponse processing logic.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fcopilot-agent-skills\u002F.github\u002Fskills\u002Fapim-policy-authoring\u002FSKILL.md",[],[124,125,126,127,78,81,86,87,128,30,129,130,131,132,133,94,134,135,21,96],"policy","authoring","apim policy authoring","security","access","ready","api security","Access Control","error","processing","cors configuration","production-ready",{"skillNo":137,"name":138,"nameZh":6,"description":139,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":140,"categories":141,"keywords":142,"publishedAt":38},"01M6HBSY65SB29J9WE9KYD0K6T","api-security-review","Reviews Azure API Management configurations for security vulnerabilities, OWASP API Security Top 10 compliance, VNet Internal mode validation, Private Link verification, and Azure Security Benchmark alignment. Use when performing security audits, pre-deployment validation, or compliance reviews.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fcopilot-agent-skills\u002F.github\u002Fskills\u002Fapi-security-review\u002FSKILL.md",[],[143,127,144,86,130,145,78,104,146,35,147,148,87,149,94,150,151,152,95,96],"review","security review","api security review","benchmark","owasp","owasp-api","alignment","azure security","reviews","top",{"skillNo":154,"name":155,"nameZh":6,"description":156,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":157,"categories":158,"keywords":159,"publishedAt":38},"01M6HBSRW4PDFE6K4F8JYPZQ05","jira-cli","Interact with Jira from the command line to create, list, view, edit, and transition issues, manage sprints and epics, and perform common Jira workflows. Use when the user asks about Jira tasks, tickets, issues, sprints, or needs to manage project work items.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fawesome-copilot-agents\u002Fskills\u002Fjira-cli\u002FSKILL.md",[],[160,161,162,106,163,164,165,166,86,167,168,169,170,171,172,173,174,175,176,177],"cli","jira","jira cli","init","tasks","create","issues","common","work","command","edit","list","view","project","project work","token","line","sprints",{"skillNo":179,"name":180,"nameZh":6,"description":181,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":182,"categories":183,"keywords":184,"publishedAt":38},"01M6HBSNS3JHMW603G47TWE31H","calculator","Performs arbitrary-precision arithmetic calculations including addition, subtraction, multiplication, division, and exponents. Use when the user asks to calculate, compute, or evaluate math expressions, or when precise decimal arithmetic is needed to avoid floating-point errors.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fawesome-copilot-agents\u002Fskills\u002Fcalculator\u002FSKILL.md",[],[180,185,186,187,188,189,190,30,191,192],"npm","js","calculate","node","math","user","compute","errors"]