flexport-multi-env-setup

Featured

Configure Flexport API across dev, staging, and production environments with isolated API keys, separate webhook endpoints, and environment guards. Trigger: "flexport environments", "flexport staging", "flexport multi-env".

AI & Automation 2,266 stars 315 forks Updated today 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

# Flexport Multi-Environment Setup ## Overview Configure isolated Flexport environments for development, staging, and production with separate API keys, webhook endpoints, and safety guards to prevent production data access from dev. ## Instructions ### Environment Configuration ```typescript // src/config/flexport.ts interface FlexportConfig { apiKey: string; baseUrl: string; webhookSecret: string; cacheTtlMs: number; logLevel: 'debug' | 'info' | 'warn'; } const configs: Record<string, FlexportConfig> = { development: { apiKey: process.env.FLEXPORT_API_KEY_DEV!, baseUrl: 'https://api.flexport.com', // Same base, different key scope webhookSecret: process.env.FLEXPORT_WEBHOOK_SECRET_DEV!, cacheTtlMs: 30_000, // 30s in dev for fast iteration logLevel: 'debug', }, staging: { apiKey: process.env.FLEXPORT_API_KEY_STAGING!, baseUrl: 'https://api.flexport.com', webhookSecret: process.env.FLEXPORT_WEBHOOK_SECRET_STAGING!, cacheTtlMs: 60_000, logLevel: 'info', }, production: { apiKey: process.env.FLEXPORT_API_KEY!, baseUrl: 'https://api.flexport.com', webhookSecret: process.env.FLEXPORT_WEBHOOK_SECRET!, cacheTtlMs: 300_000, // 5min in prod logLevel: 'warn', }, }; export function getFlexportConfig(): FlexportConfig { const env = process.env.NODE_ENV || 'development'; const config = configs[env]; if (!config) throw new Error(`No Flexport config for env: ${env}`); if (!config.apiKey) thr...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

fireflies-multi-env-setup

Configure Fireflies.ai across dev, staging, and production with isolated API keys. Use when setting up multi-environment deployments, managing per-env secrets, or implementing environment-specific Fireflies configurations. Trigger with phrases like "fireflies environments", "fireflies staging", "fireflies dev prod", "fireflies environment setup", "fireflies config by env".

2,266 Updated today
jeremylongshore
AI & Automation Featured

flexport-install-auth

Install and configure Flexport API authentication with API keys or OAuth credentials. Use when setting up a new Flexport logistics integration, configuring bearer tokens, or initializing the Flexport REST API client for shipment and supply chain operations. Trigger: "install flexport", "setup flexport", "flexport auth", "flexport API key".

2,266 Updated today
jeremylongshore
AI & Automation Featured

langfuse-multi-env-setup

Configure Langfuse across development, staging, and production environments. Use when setting up multi-environment deployments, configuring per-environment keys, or implementing environment-specific Langfuse configurations. Trigger with phrases like "langfuse environments", "langfuse staging", "langfuse dev prod", "langfuse environment setup", "langfuse config by env".

2,266 Updated today
jeremylongshore
AI & Automation Featured

hubspot-multi-env-setup

Configure HubSpot across development, staging, and production environments. Use when setting up per-environment HubSpot portals, configuring separate access tokens, or implementing environment isolation for HubSpot integrations. Trigger with phrases like "hubspot environments", "hubspot staging", "hubspot dev prod", "hubspot test account", "hubspot config by env".

2,266 Updated today
jeremylongshore
AI & Automation Featured

klaviyo-multi-env-setup

Configure Klaviyo across development, staging, and production environments. Use when setting up multi-environment deployments, configuring per-environment API keys, or implementing environment-specific Klaviyo configurations. Trigger with phrases like "klaviyo environments", "klaviyo staging", "klaviyo dev prod", "klaviyo environment setup", "klaviyo config by env".

2,266 Updated today
jeremylongshore