Agent skill · software engineering · jeremylongshore

klingai-prod-checklist

Production readiness checklist for Kling AI integrations. Use before

Why this skill is useful

Adds a comprehensive production readiness checklist with specific implementation details and code snippets for deploying Kling AI integrations.

What it needs

Requires kling-ai account access. About 3k tokens when loaded. Last updated 2026-08-07. 2,604 stars on the source repository.

What this skill does

Kling AI Production Checklist Overview Checklist covering authentication, error handling, cost controls, monitoring, security, and content policy before deploying Kling AI video generation to production. Authentication [ ] AK/SK stored in secrets manager (not .env in repo) [ ] JWT auto-refresh with 5-min buffer before 30-min expiry [ ] Separate API keys per environment (dev/staging/prod) [ ] Key rotation schedule (quarterly minimum) [ ] Authorization: Bearer <token> format verified Error Handling [ ] HTTP 400/401/402/403/429/5xx all handled [ ] Exponential backoff with jitter for 429/5xx retries [ ] Max retry limit set (3-5, not infinite) [ ] taskstatus: "failed" logs taskstatusmsg [ ] 30s timeout on all HTTP calls [ ] duration sent as string "5" not integer 5 Cost Controls [ ] Daily credit budget enforced in code [ ] Alert at 80% daily budget consumption [ ] standard mode used for non-final renders [ ] Max poll attempts cap (no infinite loops) [ ] Credit estimate before batch submission Task Management [ ] All taskids logged with timestamp [ ] Stuck task detection (>10 min in processing) [ ] callbackurl used instead of polling in production [ ] Failed tasks queued for retry [ ] Video URLs downloaded promptly (Kling CDN URLs expire) Content Safety [ ] Prompts validated before API submission [ ] User-generated prompts sanitized [ ] Default negative prompt includes safety terms [ ] Content moderation on user-facing apps [ ] Policy violation errors handled gracefully Security [ ] API keys never logged (redacted in debug output) [ ] Video URLs treated as temporary (store on own CDN) [ ] Webhook endpoints HTTPS-only [ ] Rate limiting on your API layer [ ] No sensitive data in prompt strings Monitoring [ ] API latency tracked per endpoint [ ] Success/failure rate dashboard [ ] Credit consumption metrics [ ] Alert on >5% failure rate [ ] Structured JSON logs for all API calls Performance [ ] Connection pooling via requests.Session() [ ] Concurrent tasks within API tier lim …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills jeremylongshore/klingai-prod-checklist

View the source on GitHub

Browse the @skills marketplace