linear-multi-env-setup

Featured

Configure Linear across development, staging, and production environments. Use when setting up per-environment API keys, secret management, or environment-specific Linear configurations. Trigger: "linear environments", "linear staging", "linear dev prod", "linear environment setup", "multi-environment linear".

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

# Linear Multi-Environment Setup ## Overview Configure Linear integrations across dev, staging, and production with isolated API keys, secret management, environment guards, and per-environment webhook routing. Use separate Linear workspaces or at minimum separate API keys per environment. ## Prerequisites - Separate Linear API keys per environment (dev, staging, prod) - Secret management (Vault, AWS Secrets Manager, GCP Secret Manager) - CI/CD pipeline with environment support - Node.js 18+ ## Instructions ### Step 1: Environment Configuration ```typescript // src/config/linear.ts import { LinearClient } from "@linear/sdk"; interface LinearEnvConfig { apiKey: string; webhookSecret: string; defaultTeamKey: string; enableWebhooks: boolean; enableDebugLogging: boolean; cacheEnabled: boolean; } type Environment = "development" | "staging" | "production" | "test"; function getEnvironment(): Environment { const env = process.env.NODE_ENV ?? "development"; if (!["development", "staging", "production", "test"].includes(env)) { throw new Error(`Unknown NODE_ENV: ${env}`); } return env as Environment; } async function loadConfig(): Promise<LinearEnvConfig> { const env = getEnvironment(); // In production, use secret manager instead of env vars if (env === "production" || env === "staging") { return { apiKey: await getSecret(`linear-api-key-${env}`), webhookSecret: await getSecret(`linear-webhook-secret-${env}`), defaultTeamK...

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