instantly-prod-checklist
Execute Instantly production deployment checklist and rollback procedures.Use when deploying Instantly integrations to production, preparing for launch,or implementing go-live procedures.Trigger with phrases like "instantly production", "deploy instantly","instantly go-live", "instantly launch checklist".
When & Why to Use This Skill
This Claude skill streamlines the production deployment of Instantly integrations by providing an automated, step-by-step checklist. It ensures best practices in security, code quality, and infrastructure setup while managing complex Kubernetes-based canary rollouts and instant rollback procedures to minimize deployment risks and ensure high availability.
Use Cases
- Executing a safe production launch of Instantly integrations with automated health checks and environment variable verification.
- Managing gradual canary rollouts (from 10% to 100% traffic) using kubectl to monitor performance and error rates in real-time before full exposure.
- Performing rapid emergency rollbacks to the last stable version if production monitoring detects high latency, 429 rate limits, or authentication failures.
- Standardizing the go-live process for engineering teams to ensure all security protocols, least-privilege API scopes, and incident runbooks are strictly followed.
| name | instantly-prod-checklist |
|---|---|
| description | | |
| allowed-tools | Read, Bash(kubectl:*), Bash(curl:*), Grep |
| version | 1.0.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
Instantly Production Checklist
Overview
Complete checklist for deploying Instantly integrations to production.
Prerequisites
- Staging environment tested and verified
- Production API keys available
- Deployment pipeline configured
- Monitoring and alerting ready
Instructions
Step 1: Pre-Deployment Configuration
- Production API keys in secure vault
- Environment variables set in deployment platform
- API key scopes are minimal (least privilege)
- Webhook endpoints configured with HTTPS
- Webhook secrets stored securely
Step 2: Code Quality Verification
- All tests passing (
npm test) - No hardcoded credentials
- Error handling covers all Instantly error types
- Rate limiting/backoff implemented
- Logging is production-appropriate
Step 3: Infrastructure Setup
- Health check endpoint includes Instantly connectivity
- Monitoring/alerting configured
- Circuit breaker pattern implemented
- Graceful degradation configured
Step 4: Documentation Requirements
- Incident runbook created
- Key rotation procedure documented
- Rollback procedure documented
- On-call escalation path defined
Step 5: Deploy with Gradual Rollout
# Pre-flight checks
curl -f https://staging.example.com/health
curl -s https://status.instantly.com
# Gradual rollout - start with canary (10%)
kubectl apply -f k8s/production.yaml
kubectl set image deployment/instantly-integration app=image:new --record
kubectl rollout pause deployment/instantly-integration
# Monitor canary traffic for 10 minutes
sleep 600
# Check error rates and latency before continuing
# If healthy, continue rollout to 50%
kubectl rollout resume deployment/instantly-integration
kubectl rollout pause deployment/instantly-integration
sleep 300
# Complete rollout to 100%
kubectl rollout resume deployment/instantly-integration
kubectl rollout status deployment/instantly-integration
Output
- Deployed Instantly integration
- Health checks passing
- Monitoring active
- Rollback procedure documented
Error Handling
| Alert | Condition | Severity |
|---|---|---|
| API Down | 5xx errors > 10/min | P1 |
| High Latency | p99 > 5000ms | P2 |
| Rate Limited | 429 errors > 5/min | P2 |
| Auth Failures | 401/403 errors > 0 | P1 |
Examples
Health Check Implementation
async function healthCheck(): Promise<{ status: string; instantly: any }> {
const start = Date.now();
try {
await instantlyClient.ping();
return { status: 'healthy', instantly: { connected: true, latencyMs: Date.now() - start } };
} catch (error) {
return { status: 'degraded', instantly: { connected: false, latencyMs: Date.now() - start } };
}
}
Immediate Rollback
kubectl rollout undo deployment/instantly-integration
kubectl rollout status deployment/instantly-integration
Resources
Next Steps
For version upgrades, see instantly-upgrade-migration.