groq-multi-env-setup

Featured

Configure Groq across dev, staging, and production with environment-specific model selection, rate limits, and API keys. Trigger with phrases like "groq environments", "groq staging", "groq dev prod", "groq environment setup", "groq multi-env", "groq config by 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

# Groq Multi-Environment Setup ## Overview Configure Groq API access across development, staging, and production with the right model, rate limit strategy, and secret management per environment. Key insight: use `llama-3.1-8b-instant` in development (cheapest, fastest), match production model in staging, and harden production with retries and fallbacks. ## Environment Strategy | Environment | API Key Source | Default Model | Retry | Logging | |-------------|---------------|---------------|-------|---------| | Development | `.env.local` | `llama-3.1-8b-instant` | 1 | Verbose | | Staging | CI/CD secrets | `llama-3.3-70b-versatile` | 3 | Standard | | Production | Secret manager | `llama-3.3-70b-versatile` | 5 | Structured | ## Instructions ### Step 1: Configuration Module ```typescript // config/groq.ts import Groq from "groq-sdk"; interface GroqEnvConfig { apiKey: string; model: string; maxTokens: number; temperature: number; maxRetries: number; timeout: number; logRequests: boolean; } const configs: Record<string, GroqEnvConfig> = { development: { apiKey: process.env.GROQ_API_KEY || "", model: "llama-3.1-8b-instant", // Cheapest, fastest for iteration maxTokens: 512, temperature: 0.7, maxRetries: 1, timeout: 15_000, logRequests: true, // Verbose in dev }, staging: { apiKey: process.env.GROQ_API_KEY_STAGING || process.env.GROQ_API_KEY || "", model: "llama-3.3-70b-versatile", // Match pro...

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

clade-multi-env-setup

Configure Claude across dev, staging, and production with different Use when working with multi-env-setup patterns. models, keys, and rate limits per environment. Trigger with "anthropic environments", "claude staging", "anthropic dev vs prod", "claude multi-environment".

2,266 Updated today
jeremylongshore
AI & Automation Featured

cohere-multi-env-setup

Configure Cohere across development, staging, and production environments. Use when setting up multi-environment deployments, configuring per-environment API keys, model selection, and rate limit strategies. Trigger with phrases like "cohere environments", "cohere staging", "cohere dev prod", "cohere environment setup", "cohere config by env".

2,266 Updated today
jeremylongshore
AI & Automation Featured

grammarly-multi-env-setup

Configure Grammarly across multiple environments. Use when setting up dev/staging/prod environments with Grammarly API. Trigger with phrases like "grammarly multi-env", "grammarly environments", "grammarly staging", "grammarly dev prod setup".

2,266 Updated today
jeremylongshore
AI & Automation Featured

deepgram-multi-env-setup

Configure Deepgram multi-environment setup for dev, staging, and production. Use when setting up environment-specific configurations, managing multiple Deepgram projects, or implementing environment isolation. Trigger: "deepgram environments", "deepgram staging", "deepgram dev prod", "multi-environment deepgram", "deepgram config management".

2,266 Updated today
jeremylongshore
AI & Automation Featured

mistral-multi-env-setup

Configure Mistral AI across development, staging, and production environments. Use when setting up multi-environment deployments, configuring per-environment secrets, or implementing environment-specific Mistral AI configurations. Trigger with phrases like "mistral environments", "mistral staging", "mistral dev prod", "mistral environment setup".

2,266 Updated today
jeremylongshore