Anthropic Claudeソフトウェア開発⭐ リポ 1品質スコア 53/100
customerio-sdk-patterns
Customer.ioのSDKパターンを本番環境対応で適用できます。ベストプラクティスの実装、統合の見直し、またはアプリケーション内のCustomer.io利用の最適化が必要な場合に使用してください。「customer.io best practices」「customer.io patterns」「production customer.io」「customer.io architecture」といったフレーズでトリガーされます。
description の原文を見る
Apply production-ready Customer.io SDK patterns. Use when implementing best practices, refactoring integrations, or optimizing Customer.io usage in your application. Trigger with phrases like "customer.io best practices", "customer.io patterns", "production customer.io", "customer.io architecture".
SKILL.md 本文
注意: このスキルのライセンスは ライセンス未確認 です。本サイトでは本文プレビューのみを表示しています。利用前に GitHub の原本でライセンス条件をご確認ください。
Customer.io SDK パターン
概要
エラーハンドリング、バッチ処理、型安全性を含むCustomer.io SDKの本番環境対応パターン集。
前提条件
- Customer.io SDKがインストールされていること
- TypeScriptプロジェクト(推奨)
- async/awaitパターンの理解
手順
パターン1: 型安全なクライアント
// types/customerio.ts
export interface UserAttributes {
email: string;
first_name?: string;
last_name?: string;
created_at?: number;
plan?: 'free' | 'pro' | 'enterprise';
[key: string]: string | number | boolean | undefined;
}
export interface EventData {
[key: string]: string | number | boolean | object;
}
export type EventName =
| 'signed_up'
| 'subscription_start
...
詳細情報
- 作者
- Brmbobo
- リポジトリ
- Brmbobo/Web2podcast
- ライセンス
- 不明
- 最終更新
- 2026/1/26
Source: https://github.com/Brmbobo/Web2podcast / ライセンス: 未指定