المهارات twilio-communications
📦

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.

يدعم: Claude Codex Code(CC)
🥉 75 برونزي
1

تنزيل ZIP المهارة

2

رفع في Claude

اذهب إلى Settings → Capabilities → Skills → Upload skill

3

فعّل وابدأ الاستخدام

اختبرها

استخدام "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.

التدقيق الأمني

آمن
v1 • 2/25/2026

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.

1
الملفات التي تم فحصها
300
الأسطر التي تم تحليلها
0
النتائج
1
إجمالي عمليات التدقيق
لا توجد مشكلات أمنية
تم تدقيقه بواسطة: claude

درجة الجودة

38
الهندسة المعمارية
100
قابلية الصيانة
87
المحتوى
50
المجتمع
100
الأمان
100
الامتثال للمواصفات

ماذا يمكنك بناءه

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.

جرّب هذه الموجهات

Send a Basic SMS Notification
Help me send an SMS message to +1234567890 with the text 'Your order has shipped'. I have Twilio credentials set up as environment variables.
Implement Phone Verification for User Signup
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.
Build an IVR Phone Menu System
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.
Add WhatsApp Business Messaging
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

الأسئلة المتكررة

How do I get Twilio API credentials?
Sign up at twilio.com, then find your Account SID and Auth Token in the Console dashboard. Create a phone number for sending messages.
What is E.164 format and why is it required?
E.164 is the international phone number format: +[country code][number], like +14155551234. Twilio requires this format for reliable routing.
How does Twilio Verify differ from building my own OTP system?
Twilio Verify handles code generation, rate limiting, fraud prevention, and multi-channel delivery automatically. Building your own requires managing all security aspects.
What is A2P 10DLC registration?
A2P 10DLC is required for US business SMS. It registers your brand and campaign with carriers to improve deliverability and avoid filtering.
How do I handle SMS opt-outs?
Track user preferences in your database. When users reply STOP, mark them as opted-out and exclude from future campaigns to comply with regulations.
Can I use this skill for voice calls to any country?
Twilio supports voice calls to most countries, but rates and regulations vary. Check Twilio's pricing page for destination-specific rates and requirements.

تفاصيل المطور

بنية الملفات

📄 SKILL.md