sms-development

Automate Taiwan SMS adapter development with TypeScript interfaces and batch messaging patterns.

6|3|Updated Apr 8, 2022
One-click install
npx skills add https://github.com/Rytass/Utils --skill sms-development
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: sms-development
Source: https://github.com/Rytass/Utils/tree/main/.claude/skills/sms-development
Command: npx skills add https://github.com/Rytass/Utils --skill sms-development

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a structured blueprint and practical guidance for building Taiwan SMS adapters using the @rytass/sms base package. It covers interface definitions, batching patterns, and provider-specific considerations.

Core Features & Use Cases

  • Unified base interfaces: Defines the core SMSService, SMSRequest, SMSSendResponse, and MultiTarget types.
  • Provider adapters: Guidance to implement provider-specific adapters that plug into the base contract.
  • Batching and validation: Includes number normalization for Taiwan numbers and robust error handling.

Quick Start

Create a new provider adapter by extending the base SMS interfaces and implementing the single-message, multi-target, and batch send methods.

Frequently Asked Questions about sms-development

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a Taiwan SMS adapter in TypeScript?▼

Build a Taiwan SMS adapter by extending the base SMSService contract to implement provider-specific request and response types, applying number normalization and batch messaging patterns.

What is the best way to normalize Taiwan mobile numbers for SMS integration?▼

The best way to normalize Taiwan mobile numbers for SMS integration is to apply the built-in normalization guidelines provided by the base SMS service contract before processing batch requests.

How does batch SMS processing work with multiple providers?▼

Batch SMS processing with multiple providers works by implementing the MultiTarget types and base SMS service contract, allowing you to send batch messages while maintaining robust provider-specific error handling.

Can I use this approach to add a new SMS provider without changing existing interfaces?▼

Yes, you can add a new SMS provider without changing existing interfaces by plugging a provider-specific adapter into the unified base SMSService contract and implementing the required SMSRequest types.

What TypeScript interfaces do I need to define for an SMS service contract?▼

You need to define TypeScript interfaces for the core SMSService, SMSRequest, SMSSendResponse, and MultiTarget types to establish a robust SMS service contract for your adapters.