[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6F7Y2MX76HFR71JJ4HWQ5J0":3,"skill-same:01M6F7Y2MX76HFR71JJ4HWQ5J0":75},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":43,"linkOnly":44,"markdownContent":45,"markdownBody":46,"frontMatter":47,"refName":52,"commitSha":53,"skillDirectory":54,"forksCount":55,"repositoryHtmlUrl":56,"repositoryHomepageUrl":6,"ownerHtmlUrl":57,"ownerBlogUrl":58,"ownerDescription":59,"updatedAt":60,"install":61,"resources":74},"01M6F7Y2MX76HFR71JJ4HWQ5J0","linear-multi-env-setup",null,"Configure Linear across development, staging, and production environments.\nUse when setting up multi-environment deployments, managing per-environment API keys,\nor implementing environment-specific Linear configurations.\nTrigger with phrases like \"linear environments\", \"linear staging\",\n\"linear dev prod\", \"linear environment setup\", \"multi-environment linear\".","Dicklesworthstone\u002Fpi_agent_rust","Dicklesworthstone","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F35050222?v=4","01M6CG26AR942CSVMN1M5E3DSE","Jeff Emanuel","01M6CG26EPP71PSHW1VDS71121",1992,"MIT","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Fplugins-community\u002Fplugins\u002Fsaas-packs\u002Flinear-pack\u002Fskills\u002Flinear-multi-env-setup\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42],"linear","linear multi env setup","multi","env setup","env","setup","multi-environment","when","api keys","implementing","environments","trigger","io","across","up","environment","edit","write","read","configure","Bash","api","dev","development","2026-11-10 10:12:30",false,"---\nname: linear-multi-env-setup\ndescription: |\n  Configure Linear across development, staging, and production environments.\n  Use when setting up multi-environment deployments, managing per-environment API keys,\n  or implementing environment-specific Linear configurations.\n  Trigger with phrases like \"linear environments\", \"linear staging\",\n  \"linear dev prod\", \"linear environment setup\", \"multi-environment linear\".\nallowed-tools: Read, Write, Edit, Bash(vault:*), Bash(gcloud:*), Bash(aws:*)\nversion: 1.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\n---\n\n# Linear Multi-Environment Setup\n\n## Overview\nConfigure Linear integrations across development, staging, and production environments.\n\n## Prerequisites\n- Separate Linear workspaces or API keys per environment\n- Secret management solution (Vault, AWS Secrets Manager, GCP Secret Manager)\n- CI\u002FCD pipeline with environment variables\n- Environment detection in application\n\n## Instructions\n\n### Step 1: Environment Configuration Structure\n```typescript\n\u002F\u002F config\u002Fenvironments.ts\ninterface LinearEnvironmentConfig {\n  apiKey: string;\n  webhookSecret: string;\n  defaultTeamKey: string;\n  features: {\n    syncEnabled: boolean;\n    webhooksEnabled: boolean;\n    debugMode: boolean;\n  };\n}\n\ninterface EnvironmentConfigs {\n  development: LinearEnvironmentConfig;\n  staging: LinearEnvironmentConfig;\n  production: LinearEnvironmentConfig;\n}\n\nconst configs: EnvironmentConfigs = {\n  development: {\n    apiKey: process.env.LINEAR_API_KEY_DEV!,\n    webhookSecret: process.env.LINEAR_WEBHOOK_SECRET_DEV!,\n    defaultTeamKey: \"DEV\",\n    features: {\n      syncEnabled: true,\n      webhooksEnabled: false, \u002F\u002F Use polling in dev\n      debugMode: true,\n    },\n  },\n  staging: {\n    apiKey: process.env.LINEAR_API_KEY_STAGING!,\n    webhookSecret: process.env.LINEAR_WEBHOOK_SECRET_STAGING!,\n    defaultTeamKey: \"STG\",\n    features: {\n      syncEnabled: true,\n      webhooksEnabled: true,\n      debugMode: true,\n    },\n  },\n  production: {\n    apiKey: process.env.LINEAR_API_KEY_PROD!,\n    webhookSecret: process.env.LINEAR_WEBHOOK_SECRET_PROD!,\n    defaultTeamKey: \"PROD\",\n    features: {\n      syncEnabled: true,\n      webhooksEnabled: true,\n      debugMode: false,\n    },\n  },\n};\n\nexport function getConfig(): LinearEnvironmentConfig {\n  const env = process.env.NODE_ENV || \"development\";\n  return configs[env as keyof EnvironmentConfigs];\n}\n```\n\n### Step 2: Secret Management\n\n**HashiCorp Vault:**\n```typescript\n\u002F\u002F config\u002Fvault.ts\nimport Vault from \"node-vault\";\n\nconst vault = Vault({\n  endpoint: process.env.VAULT_ADDR,\n  token: process.env.VAULT_TOKEN,\n});\n\nexport async function getLinearSecrets(environment: string) {\n  const path = `secret\u002Fdata\u002Flinear\u002F${environment}`;\n  const { data } = await vault.read(path);\n\n  return {\n    apiKey: data.data.api_key,\n    webhookSecret: data.data.webhook_secret,\n  };\n}\n```\n\n**AWS Secrets Manager:**\n```typescript\n\u002F\u002F config\u002Faws-secrets.ts\nimport { SecretsManagerClient, GetSecretValueCommand } from \"@aws-sdk\u002Fclient-secrets-manager\";\n\nconst client = new SecretsManagerClient({ region: \"us-east-1\" });\n\nexport async function getLinearSecrets(environment: string) {\n  const command = new GetSecretValueCommand({\n    SecretId: `linear\u002F${environment}`,\n  });\n\n  const response = await client.send(command);\n  return JSON.parse(response.SecretString!);\n}\n```\n\n**GCP Secret Manager:**\n```typescript\n\u002F\u002F config\u002Fgcp-secrets.ts\nimport { SecretManagerServiceClient } from \"@google-cloud\u002Fsecret-manager\";\n\nconst client = new SecretManagerServiceClient();\n\nexport async function getLinearSecrets(environment: string) {\n  const projectId = process.env.GCP_PROJECT_ID;\n  const secretName = `linear-${environment}`;\n\n  const [version] = await client.accessSecretVersion({\n    name: `projects\u002F${projectId}\u002Fsecrets\u002F${secretName}\u002Fversions\u002Flatest`,\n  });\n\n  return JSON.parse(version.payload!.data!.toString());\n}\n```\n\n### Step 3: Environment-Aware Client Factory\n```typescript\n\u002F\u002F lib\u002Fclient-factory.ts\nimport { LinearClient } from \"@linear\u002Fsdk\";\nimport { getConfig } from \"..\u002Fconfig\u002Fenvironments\";\n\nlet clientInstance: LinearClient | null = null;\n\nexport async function getLinearClient(): Promise\u003CLinearClient> {\n  if (clientInstance) return clientInstance;\n\n  const config = getConfig();\n\n  \u002F\u002F In production, fetch from secret manager\n  let apiKey = config.apiKey;\n  if (process.env.NODE_ENV === \"production\") {\n    const secrets = await getLinearSecrets(\"production\");\n    apiKey = secrets.apiKey;\n  }\n\n  clientInstance = new LinearClient({ apiKey });\n  return clientInstance;\n}\n\n\u002F\u002F For testing - allow client injection\nexport function setLinearClient(client: LinearClient): void {\n  clientInstance = client;\n}\n\nexport function resetLinearClient(): void {\n  clientInstance = null;\n}\n```\n\n### Step 4: Environment Guards\n```typescript\n\u002F\u002F lib\u002Fenvironment-guards.ts\nimport { getConfig } from \"..\u002Fconfig\u002Fenvironments\";\n\nexport function requireProduction(): void {\n  if (process.env.NODE_ENV !== \"production\") {\n    throw new Error(\"This operation requires production environment\");\n  }\n}\n\nexport function preventProduction(): void {\n  if (process.env.NODE_ENV === \"production\") {\n    throw new Error(\"This operation is not allowed in production\");\n  }\n}\n\nexport function isDebugMode(): boolean {\n  return getConfig().features.debugMode;\n}\n\n\u002F\u002F Decorator for production-only functions\nexport function productionOnly(\n  target: any,\n  propertyKey: string,\n  descriptor: PropertyDescriptor\n) {\n  const originalMethod = descriptor.value;\n\n  descriptor.value = function (...args: any[]) {\n    requireProduction();\n    return originalMethod.apply(this, args);\n  };\n\n  return descriptor;\n}\n\n\u002F\u002F Safe issue deletion (prevents accidental production deletes)\nexport async function safeDeleteIssue(\n  client: LinearClient,\n  issueId: string\n): Promise\u003Cvoid> {\n  const env = process.env.NODE_ENV;\n\n  if (env === \"production\") {\n    \u002F\u002F In production, archive instead of delete\n    await client.archiveIssue(issueId);\n    console.log(`Archived issue ${issueId} (production safe mode)`);\n  } else {\n    \u002F\u002F In dev\u002Fstaging, actually delete\n    await client.deleteIssue(issueId);\n    console.log(`Deleted issue ${issueId}`);\n  }\n}\n```\n\n### Step 5: Environment-Specific Webhook Configuration\n```typescript\n\u002F\u002F config\u002Fwebhooks.ts\ninterface WebhookConfig {\n  url: string;\n  events: string[];\n  enabled: boolean;\n}\n\nconst webhookConfigs: Record\u003Cstring, WebhookConfig> = {\n  development: {\n    url: \"http:\u002F\u002Flocalhost:3000\u002Fapi\u002Fwebhooks\u002Flinear\",\n    events: [\"Issue\", \"IssueComment\"], \u002F\u002F Minimal events for dev\n    enabled: false, \u002F\u002F Use polling instead\n  },\n  staging: {\n    url: \"https:\u002F\u002Fstaging.yourapp.com\u002Fapi\u002Fwebhooks\u002Flinear\",\n    events: [\"Issue\", \"IssueComment\", \"Project\", \"Cycle\"],\n    enabled: true,\n  },\n  production: {\n    url: \"https:\u002F\u002Fyourapp.com\u002Fapi\u002Fwebhooks\u002Flinear\",\n    events: [\"Issue\", \"IssueComment\", \"Project\", \"Cycle\", \"Label\"],\n    enabled: true,\n  },\n};\n\nexport function getWebhookConfig(): WebhookConfig {\n  const env = process.env.NODE_ENV || \"development\";\n  return webhookConfigs[env];\n}\n```\n\n### Step 6: CI\u002FCD Environment Configuration\n\n```yaml\n# .github\u002Fworkflows\u002Fdeploy.yml\nname: Deploy\n\non:\n  push:\n    branches:\n      - main      # Deploy to staging\n      - release\u002F* # Deploy to production\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    environment: ${{ github.ref == 'refs\u002Fheads\u002Fmain' && 'staging' || 'production' }}\n\n    steps:\n      - uses: actions\u002Fcheckout@v4\n\n      - name: Configure environment\n        run: |\n          if [ \"${{ github.ref }}\" == \"refs\u002Fheads\u002Fmain\" ]; then\n            echo \"DEPLOY_ENV=staging\" >> $GITHUB_ENV\n          else\n            echo \"DEPLOY_ENV=production\" >> $GITHUB_ENV\n          fi\n\n      - name: Deploy\n        run: npm run deploy\n        env:\n          NODE_ENV: ${{ env.DEPLOY_ENV }}\n          LINEAR_API_KEY: ${{ secrets.LINEAR_API_KEY }}\n          LINEAR_WEBHOOK_SECRET: ${{ secrets.LINEAR_WEBHOOK_SECRET }}\n```\n\n## Environment Validation\n```typescript\n\u002F\u002F scripts\u002Fvalidate-environment.ts\nasync function validateEnvironment(): Promise\u003Cvoid> {\n  const config = getConfig();\n  const env = process.env.NODE_ENV;\n\n  console.log(`Validating ${env} environment...`);\n\n  \u002F\u002F Check API key works\n  const client = await getLinearClient();\n  const viewer = await client.viewer;\n  console.log(`  API Key: Valid (${viewer.email})`);\n\n  \u002F\u002F Check team access\n  const teams = await client.teams();\n  const hasDefaultTeam = teams.nodes.some(t => t.key === config.defaultTeamKey);\n  console.log(`  Default Team (${config.defaultTeamKey}): ${hasDefaultTeam ? \"Found\" : \"NOT FOUND\"}`);\n\n  \u002F\u002F Check webhook secret is set\n  console.log(`  Webhook Secret: ${config.webhookSecret ? \"Set\" : \"NOT SET\"}`);\n\n  console.log(\"Environment validation complete!\");\n}\n\nvalidateEnvironment().catch(console.error);\n```\n\n## Error Handling\n| Error | Cause | Solution |\n|-------|-------|----------|\n| `Wrong environment` | API key mismatch | Verify secrets for correct env |\n| `Secret not found` | Missing secret | Add secret to secret manager |\n| `Team not found` | Wrong workspace | Check defaultTeamKey setting |\n| `Permission denied` | Insufficient scope | Regenerate API key |\n\n## Resources\n- [Linear API Authentication](https:\u002F\u002Fdevelopers.linear.app\u002Fdocs\u002Fgraphql\u002Fauthentication)\n- [12-Factor App Config](https:\u002F\u002F12factor.net\u002Fconfig)\n- [HashiCorp Vault](https:\u002F\u002Fwww.vaultproject.io\u002Fdocs)\n\n## Next Steps\nSet up observability with `linear-observability`.\n","# Linear Multi-Environment Setup\n\n## Overview\nConfigure Linear integrations across development, staging, and production environments.\n\n## Prerequisites\n- Separate Linear workspaces or API keys per environment\n- Secret management solution (Vault, AWS Secrets Manager, GCP Secret Manager)\n- CI\u002FCD pipeline with environment variables\n- Environment detection in application\n\n## Instructions\n\n### Step 1: Environment Configuration Structure\n```typescript\n\u002F\u002F config\u002Fenvironments.ts\ninterface LinearEnvironmentConfig {\n  apiKey: string;\n  webhookSecret: string;\n  defaultTeamKey: string;\n  features: {\n    syncEnabled: boolean;\n    webhooksEnabled: boolean;\n    debugMode: boolean;\n  };\n}\n\ninterface EnvironmentConfigs {\n  development: LinearEnvironmentConfig;\n  staging: LinearEnvironmentConfig;\n  production: LinearEnvironmentConfig;\n}\n\nconst configs: EnvironmentConfigs = {\n  development: {\n    apiKey: process.env.LINEAR_API_KEY_DEV!,\n    webhookSecret: process.env.LINEAR_WEBHOOK_SECRET_DEV!,\n    defaultTeamKey: \"DEV\",\n    features: {\n      syncEnabled: true,\n      webhooksEnabled: false, \u002F\u002F Use polling in dev\n      debugMode: true,\n    },\n  },\n  staging: {\n    apiKey: process.env.LINEAR_API_KEY_STAGING!,\n    webhookSecret: process.env.LINEAR_WEBHOOK_SECRET_STAGING!,\n    defaultTeamKey: \"STG\",\n    features: {\n      syncEnabled: true,\n      webhooksEnabled: true,\n      debugMode: true,\n    },\n  },\n  production: {\n    apiKey: process.env.LINEAR_API_KEY_PROD!,\n    webhookSecret: process.env.LINEAR_WEBHOOK_SECRET_PROD!,\n    defaultTeamKey: \"PROD\",\n    features: {\n      syncEnabled: true,\n      webhooksEnabled: true,\n      debugMode: false,\n    },\n  },\n};\n\nexport function getConfig(): LinearEnvironmentConfig {\n  const env = process.env.NODE_ENV || \"development\";\n  return configs[env as keyof EnvironmentConfigs];\n}\n```\n\n### Step 2: Secret Management\n\n**HashiCorp Vault:**\n```typescript\n\u002F\u002F config\u002Fvault.ts\nimport Vault from \"node-vault\";\n\nconst vault = Vault({\n  endpoint: process.env.VAULT_ADDR,\n  token: process.env.VAULT_TOKEN,\n});\n\nexport async function getLinearSecrets(environment: string) {\n  const path = `secret\u002Fdata\u002Flinear\u002F${environment}`;\n  const { data } = await vault.read(path);\n\n  return {\n    apiKey: data.data.api_key,\n    webhookSecret: data.data.webhook_secret,\n  };\n}\n```\n\n**AWS Secrets Manager:**\n```typescript\n\u002F\u002F config\u002Faws-secrets.ts\nimport { SecretsManagerClient, GetSecretValueCommand } from \"@aws-sdk\u002Fclient-secrets-manager\";\n\nconst client = new SecretsManagerClient({ region: \"us-east-1\" });\n\nexport async function getLinearSecrets(environment: string) {\n  const command = new GetSecretValueCommand({\n    SecretId: `linear\u002F${environment}`,\n  });\n\n  const response = await client.send(command);\n  return JSON.parse(response.SecretString!);\n}\n```\n\n**GCP Secret Manager:**\n```typescript\n\u002F\u002F config\u002Fgcp-secrets.ts\nimport { SecretManagerServiceClient } from \"@google-cloud\u002Fsecret-manager\";\n\nconst client = new SecretManagerServiceClient();\n\nexport async function getLinearSecrets(environment: string) {\n  const projectId = process.env.GCP_PROJECT_ID;\n  const secretName = `linear-${environment}`;\n\n  const [version] = await client.accessSecretVersion({\n    name: `projects\u002F${projectId}\u002Fsecrets\u002F${secretName}\u002Fversions\u002Flatest`,\n  });\n\n  return JSON.parse(version.payload!.data!.toString());\n}\n```\n\n### Step 3: Environment-Aware Client Factory\n```typescript\n\u002F\u002F lib\u002Fclient-factory.ts\nimport { LinearClient } from \"@linear\u002Fsdk\";\nimport { getConfig } from \"..\u002Fconfig\u002Fenvironments\";\n\nlet clientInstance: LinearClient | null = null;\n\nexport async function getLinearClient(): Promise\u003CLinearClient> {\n  if (clientInstance) return clientInstance;\n\n  const config = getConfig();\n\n  \u002F\u002F In production, fetch from secret manager\n  let apiKey = config.apiKey;\n  if (process.env.NODE_ENV === \"production\") {\n    const secrets = await getLinearSecrets(\"production\");\n    apiKey = secrets.apiKey;\n  }\n\n  clientInstance = new LinearClient({ apiKey });\n  return clientInstance;\n}\n\n\u002F\u002F For testing - allow client injection\nexport function setLinearClient(client: LinearClient): void {\n  clientInstance = client;\n}\n\nexport function resetLinearClient(): void {\n  clientInstance = null;\n}\n```\n\n### Step 4: Environment Guards\n```typescript\n\u002F\u002F lib\u002Fenvironment-guards.ts\nimport { getConfig } from \"..\u002Fconfig\u002Fenvironments\";\n\nexport function requireProduction(): void {\n  if (process.env.NODE_ENV !== \"production\") {\n    throw new Error(\"This operation requires production environment\");\n  }\n}\n\nexport function preventProduction(): void {\n  if (process.env.NODE_ENV === \"production\") {\n    throw new Error(\"This operation is not allowed in production\");\n  }\n}\n\nexport function isDebugMode(): boolean {\n  return getConfig().features.debugMode;\n}\n\n\u002F\u002F Decorator for production-only functions\nexport function productionOnly(\n  target: any,\n  propertyKey: string,\n  descriptor: PropertyDescriptor\n) {\n  const originalMethod = descriptor.value;\n\n  descriptor.value = function (...args: any[]) {\n    requireProduction();\n    return originalMethod.apply(this, args);\n  };\n\n  return descriptor;\n}\n\n\u002F\u002F Safe issue deletion (prevents accidental production deletes)\nexport async function safeDeleteIssue(\n  client: LinearClient,\n  issueId: string\n): Promise\u003Cvoid> {\n  const env = process.env.NODE_ENV;\n\n  if (env === \"production\") {\n    \u002F\u002F In production, archive instead of delete\n    await client.archiveIssue(issueId);\n    console.log(`Archived issue ${issueId} (production safe mode)`);\n  } else {\n    \u002F\u002F In dev\u002Fstaging, actually delete\n    await client.deleteIssue(issueId);\n    console.log(`Deleted issue ${issueId}`);\n  }\n}\n```\n\n### Step 5: Environment-Specific Webhook Configuration\n```typescript\n\u002F\u002F config\u002Fwebhooks.ts\ninterface WebhookConfig {\n  url: string;\n  events: string[];\n  enabled: boolean;\n}\n\nconst webhookConfigs: Record\u003Cstring, WebhookConfig> = {\n  development: {\n    url: \"http:\u002F\u002Flocalhost:3000\u002Fapi\u002Fwebhooks\u002Flinear\",\n    events: [\"Issue\", \"IssueComment\"], \u002F\u002F Minimal events for dev\n    enabled: false, \u002F\u002F Use polling instead\n  },\n  staging: {\n    url: \"https:\u002F\u002Fstaging.yourapp.com\u002Fapi\u002Fwebhooks\u002Flinear\",\n    events: [\"Issue\", \"IssueComment\", \"Project\", \"Cycle\"],\n    enabled: true,\n  },\n  production: {\n    url: \"https:\u002F\u002Fyourapp.com\u002Fapi\u002Fwebhooks\u002Flinear\",\n    events: [\"Issue\", \"IssueComment\", \"Project\", \"Cycle\", \"Label\"],\n    enabled: true,\n  },\n};\n\nexport function getWebhookConfig(): WebhookConfig {\n  const env = process.env.NODE_ENV || \"development\";\n  return webhookConfigs[env];\n}\n```\n\n### Step 6: CI\u002FCD Environment Configuration\n\n```yaml\n# .github\u002Fworkflows\u002Fdeploy.yml\nname: Deploy\n\non:\n  push:\n    branches:\n      - main      # Deploy to staging\n      - release\u002F* # Deploy to production\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    environment: ${{ github.ref == 'refs\u002Fheads\u002Fmain' && 'staging' || 'production' }}\n\n    steps:\n      - uses: actions\u002Fcheckout@v4\n\n      - name: Configure environment\n        run: |\n          if [ \"${{ github.ref }}\" == \"refs\u002Fheads\u002Fmain\" ]; then\n            echo \"DEPLOY_ENV=staging\" >> $GITHUB_ENV\n          else\n            echo \"DEPLOY_ENV=production\" >> $GITHUB_ENV\n          fi\n\n      - name: Deploy\n        run: npm run deploy\n        env:\n          NODE_ENV: ${{ env.DEPLOY_ENV }}\n          LINEAR_API_KEY: ${{ secrets.LINEAR_API_KEY }}\n          LINEAR_WEBHOOK_SECRET: ${{ secrets.LINEAR_WEBHOOK_SECRET }}\n```\n\n## Environment Validation\n```typescript\n\u002F\u002F scripts\u002Fvalidate-environment.ts\nasync function validateEnvironment(): Promise\u003Cvoid> {\n  const config = getConfig();\n  const env = process.env.NODE_ENV;\n\n  console.log(`Validating ${env} environment...`);\n\n  \u002F\u002F Check API key works\n  const client = await getLinearClient();\n  const viewer = await client.viewer;\n  console.log(`  API Key: Valid (${viewer.email})`);\n\n  \u002F\u002F Check team access\n  const teams = await client.teams();\n  const hasDefaultTeam = teams.nodes.some(t => t.key === config.defaultTeamKey);\n  console.log(`  Default Team (${config.defaultTeamKey}): ${hasDefaultTeam ? \"Found\" : \"NOT FOUND\"}`);\n\n  \u002F\u002F Check webhook secret is set\n  console.log(`  Webhook Secret: ${config.webhookSecret ? \"Set\" : \"NOT SET\"}`);\n\n  console.log(\"Environment validation complete!\");\n}\n\nvalidateEnvironment().catch(console.error);\n```\n\n## Error Handling\n| Error | Cause | Solution |\n|-------|-------|----------|\n| `Wrong environment` | API key mismatch | Verify secrets for correct env |\n| `Secret not found` | Missing secret | Add secret to secret manager |\n| `Team not found` | Wrong workspace | Check defaultTeamKey setting |\n| `Permission denied` | Insufficient scope | Regenerate API key |\n\n## Resources\n- [Linear API Authentication](https:\u002F\u002Fdevelopers.linear.app\u002Fdocs\u002Fgraphql\u002Fauthentication)\n- [12-Factor App Config](https:\u002F\u002F12factor.net\u002Fconfig)\n- [HashiCorp Vault](https:\u002F\u002Fwww.vaultproject.io\u002Fdocs)\n\n## Next Steps\nSet up observability with `linear-observability`.\n",{"name":5,"author":48,"license":15,"version":49,"description":50,"allowed-tools":51},"Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Configure Linear across development, staging, and production environments.\nUse when setting up multi-environment deployments, managing per-environment API keys,\nor implementing environment-specific Linear configurations.\nTrigger with phrases like \"linear environments\", \"linear staging\",\n\"linear dev prod\", \"linear environment setup\", \"multi-environment linear\".\n","Read, Write, Edit, Bash(vault:*), Bash(gcloud:*), Bash(aws:*)","main","90b50ed0778745a80fd5bfb13b1843d45b9e82f7","tests\u002Fext_conformance\u002Fartifacts\u002Fplugins-community\u002Fplugins\u002Fsaas-packs\u002Flinear-pack\u002Fskills\u002Flinear-multi-env-setup",233,"https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust","https:\u002F\u002Fgithub.com\u002FDicklesworthstone","https:\u002F\u002Fwww.jeffreyemanuel.com\u002F","Building in NY","2026-11-15 01:54:15",{"source":8,"skillName":5,"commands":62,"prompt":72,"zipAvailable":73},[63,66,69],{"tool":64,"command":65},"npx","npx skills add Dicklesworthstone\u002Fpi_agent_rust --skill linear-multi-env-setup",{"tool":67,"command":68},"bunx","bunx skills add Dicklesworthstone\u002Fpi_agent_rust --skill linear-multi-env-setup",{"tool":70,"command":71},"pnpm","pnpm dlx skills add Dicklesworthstone\u002Fpi_agent_rust --skill linear-multi-env-setup","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Fplugins-community\u002Fplugins\u002Fsaas-packs\u002Flinear-pack\u002Fskills\u002Flinear-multi-env-setup\u002FSKILL.md",true,[],[76,105,137,156,182,206],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":80,"licenseFileUrl":81,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":104},"01M6FCR7G5A005P364Z6ZWCJDP","theme-factory","Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors\u002Ffonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fcreative-design\u002Ftheme-factory\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fcreative-design\u002Ftheme-factory\u002FSKILL.md",[],[85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103],"theme factory","factory","theme","docs","toolkit","generate","artifacts","SET","fly","slides","landing","html","styling","artifact","pages","themes","with","you","fonts","2026-11-11 15:11:14",{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":80,"licenseFileUrl":109,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":43},"01M6FEGPPK0ZTKCCM0R3E3KS33","web-artifacts-builder","Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn\u002Fui). Use for complex artifacts requiring state management, routing, or shadcn\u002Fui components - not for simple single-file HTML\u002FJSX artifacts.","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Futilities\u002Fweb-artifacts-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Futilities\u002Fweb-artifacts-builder\u002FSKILL.md",[],[113,114,91,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,96,131,132,133,21,134,135,136],"web artifacts builder","web","artifacts builder","builder","frontend","css","components","react","component","routing","state management","state","shadcn","file","ui","Tools","Tailwind","use","single-file","simple","ui components","for","jsx","suite",{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":80,"licenseFileUrl":141,"sourceHtmlUrl":142,"categories":143,"keywords":144,"publishedAt":43},"01M6FEE9VTK1W4GY21AKREJXRG","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fsecurity\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fsecurity\u002Fwebapp-testing\u002FSKILL.md",[],[145,146,147,117,148,149,114,150,89,151,127,152,153,154,155,101,134],"testing","webapp testing","webapp","screenshots","playwright","debugging","browser","logs","applications","behavior","local",{"skillNo":157,"name":158,"nameZh":6,"description":159,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":160,"sourceHtmlUrl":161,"categories":162,"keywords":163,"publishedAt":43},"01M6FE20F7ZTQBFWKF4MPJ2SBX","neuropixels-analysis","Neuropixels neural recording analysis. Load SpikeGLX\u002FOpenEphys data, preprocess, motion correction, Kilosort4 spike sorting, quality metrics, Allen\u002FIBL curation, AI-assisted visual analysis, for Neuropixels 1.0\u002F2.0 extracellular electrophysiology. Use when working with neural recordings, spike sorting, extracellular electrophysiology, or when the user mentions Neuropixels, SpikeGLX, Open Ephys, Kilosort, quality metrics, or unit curation.","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fneuropixels-analysis\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fneuropixels-analysis\u002FSKILL.md",[],[164,165,166,167,168,169,170,171,130,172,173,174,175,176,177,178,101,179,180,181,134,26],"analysis","neuropixels analysis","spike","metrics","data","open","quality","user","recordings","Neural","motion","visual","quality metrics","unit","sorting","curation","recording","load",{"skillNo":183,"name":184,"nameZh":6,"description":185,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":80,"licenseFileUrl":186,"sourceHtmlUrl":187,"categories":188,"keywords":189,"publishedAt":43},"01M6FDP0PDK6F1GGX395C7625Z","skill-creator","Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fproductivity\u002Fskill-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fproductivity\u002Fskill-creator\u002FSKILL.md",[],[190,191,192,193,194,195,196,197,198,199,200,201,202,203,101,134,204,26,205],"skill creator","creator","workflows","create","update","capabilities","knowledge","tool","integrations","specialized","guide","new skill","existing skill","users","Existing","new",{"skillNo":207,"name":208,"nameZh":6,"description":209,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":210,"sourceHtmlUrl":211,"categories":212,"keywords":213,"publishedAt":43},"01M6FDM8Y7VK7NYG9SM7QPA3PW","notebooklm","Use this skill to query your Google NotebookLM notebooks directly from Claude Code for source-grounded, citation-backed answers from Gemini. Browser automation, library management, persistent auth. Drastically reduced hallucinations through document-only responses.","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fproductivity\u002Fnotebooklm\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Ftemplates-davila7\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fproductivity\u002Fnotebooklm\u002FSKILL.md",[],[208,214,215,216,217,218,219,151,220,221,130,222,223,224,225,134,226],"google","browser automation","gemini","automation","auth","code","library","management","only","document","query","Citation","source"]