Harden a serverless function/pipeline for the runtime & ops realities — cold starts (causes, the provisioned/warm-concurrency vs package-slimming trade-off against the latency budget, and what NOT to over-provision), concurrency & account/region limits & throttling with downstream (RDBMS) protection, idempotency keys + exactly-once-EFFECT (delivery is at-least-once), DLQ + poison-message policy, and retry/backoff/visibility-timeout so a queue is never an infinite-retry outage. Reach for this on 'fix our cold starts', 'this queue double-processes / retries forever', or 'we're getting throttled — plan our concurrency'. Driven by `serverless-runtime-and-ops-engineer` (primary).
How this skill is triggered — by the user, by Claude, or both
Slash command
/serverless-engineering:harden-serverless-runtimeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
> **Invoked by:** `serverless-runtime-and-ops-engineer` (primary). The idempotency/DLQ/cold-start constraints usually arrive as requirements from `design-event-driven-architecture`.
Invoked by:
serverless-runtime-and-ops-engineer(primary). The idempotency/DLQ/cold-start constraints usually arrive as requirements fromdesign-event-driven-architecture.When to invoke: "Fix our cold starts"; "this queue double-processes / retries forever / poisons"; "we're getting throttled — plan concurrency/quotas"; "make this async handler safe to retry"; any move on the runtime/failure behavior of a function.
Output: a hardening plan — cold-start posture + concurrency/quota plan + idempotency design + DLQ/poison policy + retry/visibility settings + observability — captured in the function readiness checklist.
../../knowledge/serverless-engineering-patterns-2026.md (cold-start playbook). Name the causes — init/bootstrap code, package/dependency size, VPC/ENI attach, language runtime (interpreted vs compiled), lazy-load opportunities. Slim the package and defer init first; reach for provisioned/warm concurrency only when the tail latency budget demands it — and cap it, because over-provisioning warm capacity deletes the serverless cost advantage (hand the cost impact to model-serverless-cost-and-scale).../../knowledge/serverless-engineering-decision-tree.md Tree C. Set max-receive/redrive so a message that fails N times routes to a dead-letter queue instead of retrying forever; name who inspects the DLQ and the replay path. A queue with no DLQ + no max-receive is an infinite-retry outage.../../templates/serverless-function-readiness-checklist.md.devops-cicd; tracing/SLOs as a discipline → observability-sre; provider knobs (the actual concurrency/timeout/DLQ resource) → aws-cloud/gcp-cloud/azure-cloud. Name the 1-2 facts (traffic profile shifts, latency budget tightens) that would change the plan.User: "Our SQS-triggered Lambda charges customers. Sometimes a customer gets charged twice, and last week one bad message retried for hours and ran up our bill. The function also feels slow on the first hit in the morning. Fix it."
model-serverless-cost-and-scale).devops-cicd.ravenclaude-core/deep-researcher.Guides completion of development work by verifying tests, detecting environment, and presenting structured options for merge, PR, or cleanup.
Enforces test-driven development: write failing test first, then minimal code to pass. Use when implementing features or bugfixes.
Guides creation and editing of skills using test-driven development with pressure scenarios and subagents to verify agent compliance.
npx claudepluginhub mcorbett51090/ravenclaude --plugin serverless-engineering