Agent skill
clade-prod-checklist
Production readiness checklist for Claude-powered applications — Use when working with prod-checklist patterns. error handling, monitoring, fallbacks, cost controls, and security. Trigger with "anthropic production", "claude production ready", "anthropic launch checklist", "go live with claude".
Install this agent skill to your Project
npx add-skill https://github.com/jeremylongshore/claude-code-plugins-plus-skills/tree/main/plugins/saas-packs/claude-pack/skills/clade-prod-checklist
SKILL.md
Anthropic Production Checklist
Overview
Before going live with a Claude-powered app, verify every item below.
Authentication & Security
- API key stored in secrets manager (not in code or env file on disk)
- Key rotated — not the same one used during development
- Server-side only — no key exposed to client/browser
- Per-user rate limiting in place
- Input validation: max length, content filtering
- System prompt includes injection guardrails
Output
- All checklist items verified (authentication, error handling, streaming, cost, monitoring, reliability, content, performance)
- Production API key configured with appropriate spending limits
- Monitoring and alerting in place
- Fallback behavior tested for API outages
Error Handling
- All Anthropic API calls wrapped in try/catch
-
RateLimitError(429) → backoff and retry -
OverloadedError(529) → fallback model or queue -
AuthenticationError(401) → alert team, don't retry -
InvalidRequestError(400) → log and fix, don't retry - Network errors → retry with backoff
- Request IDs logged for every error (for support tickets)
Streaming
- Using
client.messages.stream()for user-facing responses - Stream errors handled (connection drops, incomplete responses)
-
stop_reasonchecked:end_turnvsmax_tokens(incomplete)
Cost Controls
-
max_tokensset to realistic values (not 4096 for short answers) - Correct model for each task (Haiku for simple, Sonnet for balanced)
- Prompt caching enabled for repeated system prompts
- Usage logging in place — tracking tokens and cost per request
- Spending alerts set in Anthropic console
Monitoring
- Response latency tracked (TTFT and total)
- Token usage tracked (input/output per request)
- Error rates dashboarded (by error type)
- Anthropic status page monitored (status.anthropic.com)
Reliability
- SDK
maxRetriesset (default 2 is fine for most) - Timeout configured for your use case (
timeoutoption) - Single client instance reused (not created per request)
- Graceful degradation if Claude is down (cached responses, fallback)
Content & Compliance
- System prompt tested against edge cases and adversarial inputs
- Output validated before showing to users (JSON parsing, length)
- Data retention settings configured in Anthropic console
- No unnecessary PII in prompts
- Usage policy compliance (Anthropic's Acceptable Use Policy)
Performance
- p95 latency acceptable for your UX
- Prompt caching for latency-sensitive paths
- Parallel requests where possible (
Promise.all) - Client-side streaming UI implemented
Examples
Each section above is a verifiable checklist. Work through Authentication & Security, Error Handling, Streaming, Cost Controls, Monitoring, Reliability, Content & Compliance, and Performance sections.
Resources
Next Steps
See clade-observability for monitoring setup.
Prerequisites
- All other anthropic skills reviewed
- Application feature-complete and tested locally
- Production API key created (separate from dev)
- Deployment platform selected
Instructions
Step 1: Review the patterns below
Each section contains production-ready code examples. Copy and adapt them to your use case.
Step 2: Apply to your codebase
Integrate the patterns that match your requirements. Test each change individually.
Step 3: Verify
Run your test suite to confirm the integration works correctly.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
dockerfile-generator
Dockerfile Generator - Auto-activating skill for DevOps Basics. Triggers on: dockerfile generator, dockerfile generator Part of the DevOps Basics skill category.
branch-naming-helper
Branch Naming Helper - Auto-activating skill for DevOps Basics. Triggers on: branch naming helper, branch naming helper Part of the DevOps Basics skill category.
readme-generator
Readme Generator - Auto-activating skill for DevOps Basics. Triggers on: readme generator, readme generator Part of the DevOps Basics skill category.
makefile-generator
Makefile Generator - Auto-activating skill for DevOps Basics. Triggers on: makefile generator, makefile generator Part of the DevOps Basics skill category.
gitignore-generator
Gitignore Generator - Auto-activating skill for DevOps Basics. Triggers on: gitignore generator, gitignore generator Part of the DevOps Basics skill category.
pre-commit-hook-setup
Pre Commit Hook Setup - Auto-activating skill for DevOps Basics. Triggers on: pre commit hook setup, pre commit hook setup Part of the DevOps Basics skill category.
Didn't find tool you were looking for?