/anthropic-pack:anth-prod-checklistfrom anthropic-pack
Executes a production deployment checklist for Claude API integrations covering authentication, error handling, rate limits, cost controls, reliability, and observability.
Ships in anthropic-pack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Complete checklist for deploying Claude API integrations to production with reliability, observability, and cost controls.
authentication_error, invalid_request_error, rate_limit_error, api_error, overloaded_errormaxRetries set (recommended: 3-5 for production)request-id capturedmax_tokens set to realistic values (not inflated)timeout parameter, recommended 60-120s)async def health_check():
try:
# Use token counting as a cheap health probe (no generation cost)
count = client.messages.count_tokens(
model="claude-haiku-4-20250514",
messages=[{"role": "user", "content": "ping"}]
)
return {"status": "healthy", "tokens": count.input_tokens}
except Exception as e:
return {"status": "degraded", "error": str(e)}
import logging
import time
logger = logging.getLogger("anthropic")
def tracked_create(**kwargs):
start = time.monotonic()
try:
response = client.messages.create(**kwargs)
duration = time.monotonic() - start
logger.info(
"claude_request",
extra={
"request_id": response._request_id,
"model": response.model,
"input_tokens": response.usage.input_tokens,
"output_tokens": response.usage.output_tokens,
"duration_ms": int(duration * 1000),
"stop_reason": response.stop_reason,
}
)
return response
except Exception as e:
duration = time.monotonic() - start
logger.error("claude_error", extra={"error": str(e), "duration_ms": int(duration * 1000)})
raise
anth-incident-runbook)| Metric | Warning | Critical |
|---|---|---|
| Error rate (5xx) | > 1% | > 5% |
| p99 latency | > 10s | > 30s |
| 429 rate | > 5/min | > 20/min |
| Daily cost | > 80% budget | > 100% budget |
| Auth failures (401/403) | > 0 | > 0 (immediate) |
For version upgrades, see anth-upgrade-migration.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
30 skills in this plugin
/anth-advanced-troubleshootingDebug complex Claude API issues including context window overflow,
tool use failures, streaming corruption, and response quality problems.
Trigger with phrases like "anthropic advanced debug", "claude complex issue",
"claude tool use failing", "claude context overflow".
/anth-architecture-variantsChoose and implement Claude API architecture patterns for different scales:
serverless, microservice, event-driven, and edge deployment.
Trigger with phrases like "anthropic architecture", "claude serverless",
"claude microservice design", "edge claude deployment".
/anth-ci-integrationConfigure CI/CD pipelines for Anthropic Claude API integrations.
Use when setting up automated testing, prompt regression tests,
or CI validation for Claude-powered features.
Trigger with phrases like "anthropic ci", "claude ci/cd",
"test claude in pipeline", "anthropic github actions".
/anth-common-errorsDiagnose and fix Anthropic Claude API errors by HTTP status code.
Use when encountering API errors, debugging failed requests,
or troubleshooting authentication, rate limiting, or input validation issues.
Trigger with phrases like "anthropic error", "claude api error",
"fix anthropic 429", "claude not working", "debug claude api".
/anth-core-workflow-aBuild Claude tool use (function calling) workflows with the Messages API.
Use when implementing tool use, function calling, agent loops,
or building AI assistants that interact with external systems.
Trigger with phrases like "claude tool use", "anthropic function calling",
"claude tools", "agent loop anthropic", "tool_use blocks".
/anth-core-workflow-bBuild Claude streaming and Message Batches API workflows.
Use when implementing real-time streaming responses, SSE event handling,
or processing bulk requests with the 50% cheaper Batches API.
Trigger with phrases like "claude streaming", "anthropic batch",
"message batches api", "SSE events anthropic", "stream claude response".
npx claudepluginhub flight505/skill-forge --plugin anthropic-packOther plugins' skills for the same job