groq-prod-checklist
A step-by-step pre-flight checklist for ensuring Groq integrations are ready for production launch.
Install
mkdir -p .claude/skills/groq-prod-checklist && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/7426" && unzip -o skill.zip -d .claude/skills/groq-prod-checklist && rm skill.zipInstalls to .claude/skills/groq-prod-checklist
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Execute Groq production deployment checklist and go-live procedures.Key capabilities
- →Verify API key security and storage
- →Validate production model selection and fallback strategies
- →Implement spending controls and budget alerts
- →Execute go-live verification scripts
How it works
The skill provides a structured checklist of gates covering security, rate limits, and monitoring that must be verified before production deployment.
Inputs & outputs
When to use groq-prod-checklist
- →Securing production API keys
- →Validating production model selection
- →Configuring health-check endpoints
- →Setting up monitoring alerts
- →Verifying fallback strategy logic
About this skill
Groq Production Checklist
Overview
Complete pre-launch checklist for deploying Groq-powered applications to production. Covers API key security, model selection, rate limit planning, fallback strategies, and monitoring setup. Work top-to-bottom: each section is a gate that must be green before the go-live verification runs.
Deep code (fallback function, health-check endpoint, go-live script) lives in references/ so this file stays scannable — drill in when you reach that step.
Prerequisites
- Staging environment tested with Groq API
- Groq Developer or Enterprise plan (free tier is not suitable for production)
- Production API key created in console.groq.com
- Monitoring and alerting infrastructure ready
Instructions
Read the target app's Groq integration and config, then walk each gate below. Tick every box; an unchecked item is a launch blocker.
1. API Key & Auth
- Production API key stored in secret manager (not
.envfiles) - Key is NOT shared with development or staging environments
- Key rotation procedure documented and tested
- Pre-commit hook blocks
gsk_pattern in code
2. Model Selection
- Production model chosen and tested (recommend
llama-3.3-70b-versatile) - Fallback model configured (
llama-3.1-8b-instant) - Deprecated model IDs removed (check deprecations)
-
max_tokensset to actual expected output size (not context max)
3. Rate Limit Planning
- Production rate limits known (check console.groq.com/settings/limits)
- Estimated peak RPM < 80% of limit
- Estimated peak TPM < 80% of limit
- Exponential backoff with
retry-afterheader implemented - Request queue for burst protection (
p-queueor similar)
4. Error Handling & Fallback
- All Groq error types caught (
Groq.APIError,Groq.APIConnectionError) - 429 errors retried with backoff
- 5xx errors retried with backoff
- 401 errors trigger alert (key may be revoked)
- Network timeouts configured (default 60s may be too long)
- Circuit breaker pattern for sustained failures
- Fallback-to-degradation wrapper in place — see the
completionWithFallbackpattern in references/implementation.md
5. Health Check
-
/api/health(or/healthz) probes Groq with a 1-token request and returns503when degraded — full route in references/implementation.md
6. Monitoring Setup
- Latency histogram (p50, p95, p99)
- Token throughput counter (tokens/sec by model)
- Error rate by status code (429, 5xx)
- Rate limit remaining gauge (from response headers)
- Cost tracking (tokens * price per million)
- Alert: latency p95 > 1s (Groq normally < 200ms)
- Alert: error rate > 5%
- Alert: rate limit remaining < 10%
7. Spending Controls
- Monthly spending cap set in Groq Console
- Budget alerts at 50%, 80%, 95%
- Auto-pause enabled when cap is reached
8. Documentation
- Incident runbook created (see
groq-incident-runbook) - Key rotation SOP documented
- On-call knows how to check status.groq.com
- Rollback procedure tested
9. Go-Live Verification
Run the pre-flight curl script against production — status, key, health endpoint, and rate-limit headroom must all pass. Full script and pass/fail table in references/go-live.md.
Output
Working through this skill produces a go / no-go launch decision:
- A completed checklist where every box is ticked or explicitly waived with a reason.
- A green go-live verification run (all four pre-flight checks passing).
- The alert matrix (below) wired into your monitoring stack.
Any unchecked security or auth item (Sections 1, 2) is a hard blocker; unchecked monitoring or spending items (Sections 6, 7) are P3 blockers that may launch with a tracked follow-up.
Error Handling
Wire these alerts before go-live so production failures page the right severity:
| Alert | Condition | Severity |
|---|---|---|
| API errors spike | 5xx rate > 5/min | P1 |
| Latency degraded | p95 > 1000ms | P2 |
| Rate limited | 429 count > 5/min | P2 |
| Auth failure | Any 401 error | P1 |
| Spending near cap | >90% of monthly budget | P3 |
Examples
Minimal fallback skeleton — try the primary model, fall back to the fast model on 429/5xx:
try {
return await groq.chat.completions.create({ model: "llama-3.3-70b-versatile", messages, timeout: 15_000 });
} catch (err: any) {
if (err.status === 429 || err.status >= 500) {
return await groq.chat.completions.create({ model: "llama-3.1-8b-instant", messages, timeout: 10_000 });
}
throw err;
}
- Full fallback-with-degradation function and health-check endpoint: references/implementation.md
- Complete go-live verification script and result interpretation: references/go-live.md
Resources
Next Steps
Once launched, keep the integration current: schedule model-deprecation reviews against the Groq deprecations page, and for version upgrades follow the groq-upgrade-migration skill. If an incident fires an alert above, escalate through the groq-incident-runbook.
When not to use it
- →When using the free tier for production traffic
- →When skipping security or monitoring setup
Prerequisites
Limitations
- →Free tier is not suitable for production
- →Unchecked security or auth items act as hard blockers
How it compares
Unlike manual deployment, this process enforces specific security and monitoring gates as mandatory blockers for production readiness.
Compared to similar skills
groq-prod-checklist side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| groq-prod-checklist (this skill) | 1 | 27d | Caution | Advanced |
| ollama-setup | 11 | 27d | Review | Beginner |
| cloudrun-development | 1 | 2mo | No flags | Advanced |
| ideogram-deploy-integration | 1 | 27d | Caution | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by jeremylongshore
View all by jeremylongshore →You might also like
ollama-setup
jeremylongshore
Configure auto-configure Ollama when user needs local LLM deployment, free AI alternatives, or wants to eliminate hosted API costs. Trigger phrases: "install ollama", "local AI", "free LLM", "self-hosted AI", "replace OpenAI", "no API costs". Use when appropriate context detected. Trigger with relevant phrases based on skill purpose.
cloudrun-development
TencentCloudBase
CloudBase Run backend development rules (Function mode/Container mode). Use this skill when deploying backend services that require long connections, multi-language support, custom environments, or AI agent development.
ideogram-deploy-integration
jeremylongshore
Deploy Ideogram integrations to Vercel, Fly.io, and Cloud Run platforms. Use when deploying Ideogram-powered applications to production, configuring platform-specific secrets, or setting up deployment pipelines. Trigger with phrases like "deploy ideogram", "ideogram Vercel", "ideogram production deploy", "ideogram Cloud Run", "ideogram Fly.io".
adk-deployment-specialist
jeremylongshore
Deploy and orchestrate Vertex AI ADK agents using A2A protocol. Manages AgentCard discovery, task submission, Code Execution Sandbox, and Memory Bank. Use when asked to "deploy ADK agent" or "orchestrate agents". Trigger with phrases like 'deploy', 'infrastructure', or 'CI/CD'.
agent-app-store
ruvnet
Agent skill for app-store - invoke with $agent-app-store
genkit-production-expert
jeremylongshore
Build production Firebase Genkit applications including RAG systems, multi-step flows, and tool calling for Node.js/Python/Go. Deploy to Firebase Functions or Cloud Run with AI monitoring. Use when asked to "create genkit flow" or "implement RAG". Trigger with relevant phrases based on skill purpose.