claude-office-skills/webhook-automation

Webhookベースの統合を構築・管理し、リアルタイムイベント処理とAPI接続を実現します。

webhook-automation とは?

このスキルは、Webhookを活用したリアルタイムイベント処理とAPI統合を構築・管理するためのものです。開発者は、外部サービスからのイベントを受信し、自動化されたワークフローをトリガーしたり、他のAPIと連携したりできます。Claude CodeやCursor、CodexなどのAIエージェントプラットフォームで利用可能で、SKILL.mdに基づいてWebhookエンドポイントの作成、署名検証、イベントルーティング、エラーハンドリングなどのベストプラクティスを提供します。これにより、チャットボットの統合、CI/CDパイプラインのトリガー、カスタムアラートシステムなど、様々な自動化ユースケースを効率的に実装できます。

対応✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/claude-office-skills/skills/tree/main/skills/webhook-automation

Installed? Explore more 生産性&コラボレーション skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

webhook-automation は何をしますか?

Webhookベースの統合を構築・管理し、リアルタイムイベント処理とAPI接続を実現します。

概要

このスキルは、外部サービスからのWebhookイベントを受信、検証、処理、ルーティングするための機能を提供します。開発者は、これを使用してカスタムエンドポイントを定義し、特定のイベントタイプに応じたアクションを自動化できます。

主な機能

  • Webhookエンドポイントの作成: カスタムルートで受信エンドポイントを定義します。
  • 署名検証: ペイロードの整合性を確保するために、HMACまたはその他の署名スキームを検証します。
  • イベントルーティング: イベントタイプに基づいて適切なハンドラにディスパッチします。
  • エラーハンドリング: リトライロジック、ログ記録、フォールバックアクションを実装します。
  • レート制限とフィルタリング: 不要なイベントをフィルタリングし、レート制限を適用します。

対応プラットフォーム

  • Claude Code
  • Cursor
  • Codex
  • その他のAIエージェントプラットフォーム

使用方法

# サンプルコマンド(実際の設定に応じて調整)
webhook-automation create-endpoint --path /events --secret YOUR_SECRET

設定

環境変数または設定ファイルを使用して、以下のパラメータを指定します。

  • WEBHOOK_SECRET: 署名検証用の共有シークレット
  • WEBHOOK_PORT: サーバーがリッスンするポート(デフォルト: 8080)
  • WEBHOOK_TIMEOUT: ハンドラのタイムアウト時間(ミリ秒)

例

// 受信Webhookを処理するサンプルハンドラ
app.post('/webhook', (req, res) => {
  const event = req.body;
  console.log('受信したイベント:', event);
  res.status(200).send('OK');
});

ベストプラクティス

  1. 常に署名を検証して、正当な送信元からのリクエストのみを処理するようにしてください。
  2. イベント処理は非同期的に行い、迅速に応答を返します。
  3. ログ記録とモニタリングを実装して、障害を追跡します。
  4. 重要なイベントに対してはリトライロジックを実装します。

トラブルシューティング

  • イベントが処理されない場合は、署名検証の設定を確認してください。
  • タイムアウトエラーが発生した場合は、WEBHOOK_TIMEOUTの値を増やしてください。
  • デバッグログを有効にするには、環境変数DEBUG=trueを設定します。

ライセンス

MIT

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

claude-office-skills/academic-search

Search and analyze academic literature. Find papers, understand research methodologies, and synthesize academic findings for research projects.

claude-office-skills/ads-copywriter

Multi-platform ad copy generation for Google Ads, Meta/Facebook, TikTok, LinkedIn with A/B testing variants

claude-office-skills/ai-agent-builder

Build AI agents with tools, memory, and multi-step reasoning - ChatGPT, Claude, Gemini integration patterns

claude-office-skills/airtable-automation

Airtable database automation - views, automations, integrations, and workflow triggers

claude-office-skills/ai-slides

Generate complete presentations with AI - from outline to polished slides

claude-office-skills/amazon-seller

Automate Amazon seller operations including inventory, orders, pricing, and advertising management

claude-office-skills/apple-shortcuts-integration

Create and trigger Apple Shortcuts for iOS/macOS automation and cross-platform workflows

claude-office-skills/applicant-screening

Screen job applications against requirements and score candidates

claude-office-skills/asana-automation

Automate Asana project management workflows, task tracking, team collaboration, and reporting

claude-office-skills/batch-convert

Batch convert documents between multiple formats using a unified pipeline

claude-office-skills/batch-processor

Process multiple documents in bulk with parallel execution

claude-office-skills/brand-guidelines-generator

Create and maintain brand style guides for consistent visual identity

claude-office-skills/browser-automation

Automate web browser interactions, scraping, testing, and workflow automation with Puppeteer/Playwright

claude-office-skills/calendar-automation

Google Calendar and Outlook automation - scheduling optimization, meeting workflows, time blocking, and Slack/Sheets integration

claude-office-skills/changelog-generator

Generate release notes from git commits, updates, or feature lists

claude-office-skills/chart-designer

Design effective data visualizations and charts. Generate chart configurations for ECharts, Chart.js, and other libraries. Create dashboards and reports.

claude-office-skills/chat-with-pdf

Answer questions about PDF content, summarize, and extract information

claude-office-skills/clickup-automation

Automate ClickUp workspace management, task workflows, time tracking, and team productivity

claude-office-skills/company-research

Conduct comprehensive company research and due diligence. Analyze business model, competitive landscape, management, and market position.

claude-office-skills/competitive-analysis

Analyze competitors systematically. Compare products, features, pricing, positioning, and market strategies. Generate comprehensive competitive intelligence reports.

関連スキル