twilio-communications
Build Twilio Communication Features
Add SMS, voice calls, WhatsApp messaging, and 2FA to your applications using Twilio. This skill handles phone verification, IVR systems, and secure credential management with the official Twilio SDK.
スキルZIPをダウンロード
Claudeでアップロード
設定 → 機能 → スキル → スキルをアップロードへ移動
オンにして利用開始
テストする
「twilio-communications」を使用しています。 Send SMS to +15551234567 with order confirmation
期待される結果:
Message sent successfully. SID: SM1234abcd5678efgh. Status: queued. Segments: 1
「twilio-communications」を使用しています。 Verify phone number +15551234567 with code 123456
期待される結果:
Verification approved. Status: approved. Valid: true
「twilio-communications」を使用しています。 Handle incoming call with IVR menu
期待される結果:
XML response generated with voice greeting and digit collection. Caller pressed 2, routed to support line.
セキュリティ監査
安全All static analysis findings were evaluated as false positives. The skill uses the official Twilio Python SDK with security best practices: credentials stored in environment variables, request signature validation for webhooks, proper exception handling, and phone number validation. No malicious patterns or security vulnerabilities detected.
品質スコア
作れるもの
E-commerce Order Notifications
Send order confirmations, shipping updates, and delivery notifications to customers via SMS.
User Authentication with 2FA
Add phone-based two-factor authentication to protect user accounts from unauthorized access.
Automated Customer Support Phone System
Create IVR menus that route calls to appropriate departments and handle after-hours voicemail.
これらのプロンプトを試す
Help me send an SMS message to +1234567890 with the text 'Your order has shipped'. I have Twilio credentials set up as environment variables.
I need to verify user phone numbers during signup. Create a flow that sends a verification code via SMS and validates the code the user enters.
Create a Flask app with TwiML that answers calls with a greeting, collects digit input (press 1 for sales, 2 for support), and routes to the correct department.
Help me set up WhatsApp messaging for customer support using Twilio. I need to send template messages and handle incoming replies with proper webhook validation.
ベストプラクティス
- Store Twilio credentials (Account SID, Auth Token) in environment variables, never in code
- Validate Twilio webhook signatures using RequestValidator to prevent spoofed requests
- Implement rate limiting at application level in addition to Twilio's built-in limits
- Track user opt-out status to comply with SMS marketing regulations
- Use E.164 format for all phone numbers to ensure reliable delivery
回避
- Hardcoding API credentials directly in source code or configuration files
- Skipping webhook signature validation on incoming Twilio requests
- Sending messages to users without tracking consent and opt-out preferences
- Ignoring message segmentation costs for long SMS content