customerio-multi-env-setup

Featured

Configure Customer.io multi-environment setup with workspace isolation. Use when setting up dev/staging/prod workspaces, environment-aware clients, or Kubernetes config overlays. Trigger: "customer.io environments", "customer.io staging", "customer.io dev prod", "customer.io workspace isolation".

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Customer.io Multi-Environment Setup ## Overview Configure isolated Customer.io environments for dev, staging, and production: separate workspaces per environment, typed configuration with validation, environment-aware client wrappers, Kubernetes ConfigMap overlays, and data isolation verification. ## Prerequisites - Customer.io account with multiple workspaces (create at fly.customer.io) - Environment variable management (dotenv, secrets manager) - CI/CD pipeline for per-environment deployment ## Workspace Strategy | Environment | Workspace Name | Purpose | Dry Run | Data | |-------------|---------------|---------|---------|------| | Local dev | `myapp-dev` | Individual developer testing | Optional | Fake/test data | | CI | `myapp-ci` | Automated test runs | No | Auto-cleaned test data | | Staging | `myapp-staging` | Pre-production validation | No | Subset of real data | | Production | `myapp-prod` | Live users | No | Real user data | Each workspace has its own Site ID, Track API Key, and App API Key. Create workspaces at Settings > Workspace Settings. ## Instructions ### Step 1: Typed Environment Configuration ```typescript // config/customerio.ts import { RegionUS, RegionEU } from "customerio-node"; type CioEnvironment = "development" | "ci" | "staging" | "production"; interface CioEnvConfig { siteId: string; trackApiKey: string; appApiKey: string; region: typeof RegionUS | typeof RegionEU; dryRun: boolean; logLevel: "debug" | "info" | "warn" | "er...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category