production-readiness
Skill4 starsChanged 9 months agoUnlicenseView on GitHub
Services, APIs, jobs, queues, deployment paths, and critical flows that must survive production failures, overload, latency, bad data, and operational mistakes. Based on Release It! (Michael T. Nygard). Covers: timeouts, retries, circuit breakers, bulkheads, backpressure, load shedding, observability, deployment safety, failure mode design. Triggers on: "production", "reliability", "resilience", "timeout", "retry", "circuit breaker", "deployment", "health check", "observability", "failure mode", "overload", "backpressure", "bulkhead", "load shedding", or when building any service that will run in production.
16 other projects use a version of this.
Adopted by
Most recently taken up by
- fmind/dottheir own version, first seen Oct 5, 2026
- gilsmt/skillstheir own version, first seen Oct 4, 2026
- kleosr/bridletheir own version, first seen Sep 29, 2026
- caiaffa/claude-code-ultimate-engineering-systemtheir own version, first seen Sep 14, 2026
- KbWen/agentic-ostheir own version, first seen Sep 10, 2026
- SuperLogicAI/production-readinesstheir own version, first seen Aug 21, 2026
Used with
Projects with it also use database-design, incident-response and 6 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
CloudAI-XSkilldatabase-design
Designs database schemas, indexing strategies, query optimization, and migration patterns for SQL and NoSQL databases. Use when designing tables, optimizing queries, fixing N+1 problems, planning migrations, or when asked about database performance, normalization, ORMs, or data modeling.
Also in 3 projects that use this
AnthropicSkillincident-response
Run an incident response workflow — triage, communicate, and write postmortem. Trigger with "we have an incident", "production is down", an alert that needs severity assessment, a status update mid-incident, or when writing a blameless postmortem after resolution.
Also in 3 projects that use this
MicrosoftSkillapi-design
Guide for designing and documenting RESTful APIs. Use when asked to design an API, create endpoints, or document an API.
Also in 3 projects that use this
OpenAISkilldispatching-parallel-agents
Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
Also in 3 projects that use this
OpenAISkillusing-git-worktrees
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback
Also in 3 projects that use this
- +3 more from openai
Other versions16 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 16
- KbWen/agentic-os★ 206same name
- magnus919/agent-skills★ 109same name
- KbWen/agent-virtual-office★ 35same name
- suhailkakar/the-skills★ 26same name
- caiaffa/claude-code-ultimate-engineering-system★ 17same name
- wpank/ai★ 11same name
- fmind/dot★ 10same name
- Vimalk0703/shipworthy★ 6same name
- gilsmt/skills★ 2same name
- Nordic-AI/production-readiness-skills★ 2same name
6 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository70 other files it gives its agents.
- agent/AGENTS.mdAGENTS.md
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- git-guardrails-claude-codeSkill
- setup-project-skillsSkill
- skill-creatorSkill
- websearchSkill
- writing-great-skillsSkill
- codebase-designSkill
- construction-craftSkill
- critical-partnerSkill
- data-intensiveSkill
- diagnosing-bugsSkill
- django-disciplineSkill
- docker-disciplineSkill
- documentation-lifecycleSkill
- domain-driven-designSkill
- enterprise-patternsSkill
- git-disciplineSkill
- legacy-codeSkill
- refactoring-passSkill
- resolving-merge-conflictsSkill
- tddSkill
- testing-workflowSkill
- ui-design-directionSkill
- webapp-testingSkill
- django-allauthSkill
- djangoSkill
- dockerSkill
- drfSkill
- full-calendarSkill
- giteaSkill
- htmxSkill
- http-status-codesSkill
- hyperscriptSkill
- langchainSkill
- litestarSkill
- prestashopSkill
- pykeSkill
- python-asyncSkill
- tablerSkill
- cleanroom-rewriteSkill
- councilSkill
- court-jesterSkill
- domain-modelingSkill
- fix-prSkill
- grillingSkill
- grill-meSkill
- grill-with-docsSkill
- handoffSkill
- humanifySkill
- implementSkill
- implement-specSkill
- improve-codebase-architectureSkill
- ponytail-auditSkill
- ponytail-debtSkill
- prototypeSkill
- qaSkill
- researchSkill
- restore-test-pyramidSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
12 rules. 0 are common, 11 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 15 edited versions we read keep these.
11
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
If you are reading this, the user is building or changing something that must survive production.
- Distinctive: line 34
Put explicit, intentional time limits on every outbound call and wait.
- Distinctive: line 37
Do not duplicate retry logic across layers — if the caller retries, the callee shouldn't also retry.
- Distinctive: line 42
Use slow-work isolation — don't let slow dependencies block fast paths.
- Distinctive: line 50
Treat external input and external responses as untrusted: validate syntax, shape, business plausibility, status, content type, and …
- Distinctive: line 55
Treat hostile traffic, abusive users, and malformed requests as production load cases — not edge cases.
- Distinctive: line 59
Keep DNS, service discovery, routing, and load balancing health-aware and current.
- Distinctive: line 63
Avoid secrets in logs. Avoid retry-storm log spam.
- Distinctive: line 68
Ensure health signals reflect real ability to serve — traffic should only reach ready components.
- Distinctive: line 72
Avoid holding locks or expensive connections across slow remote calls.
- Very specific: line 80
Adding health checks/routing/handshakes: Ensure traffic reaches only ready components.
- Distinctive: line 102
Before shipping to production:
“Common” is measured: kept by at least 6 in 10 of the 15 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Production Readiness
When This Skill Loads
If you are reading this, the user is building or changing something that must survive production. A passing happy path is not production readiness. Design the failure semantics before production defines them for you.
Core Principle
Assume every dependency, queue, cache, timeout, caller retry, and degraded state can fail in slow, partial, or prolonged ways.
Code must assume production mess instead of merely tolerating it by accident. Prefer designs that:
- Fail visibly (don't hide errors)
- Limit blast radius (one failure doesn't cascade)
- Shed load (drop low-value work before core functions collapse)
- Preserve core service (degrade gracefully, don't go fully down)
- Make diagnosis possible (structured logs, correlation IDs, metrics)
Decision Rules
Timeouts and Retries
- Put explicit, intentional time limits on every outbound call and wait. Never rely on library defaults or allow infinite waits.
- Retry only when the operation is safe for caller and provider. Bound count and total time. Use backoff or jitter.
- Do not retry validation errors, permanent failures, or non-idempotent operations.
- Do not duplicate retry logic across layers — if the caller retries, the callee shouldn't also retry.
Isolation
- Isolate dependency and workload failures with circuit breakers, fast failure, bulkheads, and separate resource pools.
- One outage must not consume all threads, connections, or workers.
- Use slow-work isolation — don't let slow dependencies block fast paths.
Overload Behavior
- Design overload behavior explicitly: back pressure, finite queues, demand limits, capacity reserved for critical traffic.
- Load shedding: drop lower-value work before core functions collapse.
- Bound every queue, buffer, pool, cache, and result set. Define what happens when each is full.
External Input Validation
- Treat external input and external responses as untrusted: validate syntax, shape, business plausibility, status, content type, and semantics.
- Prevent malformed data from poisoning caches, queues, or downstream systems.
Security and Hostile Traffic
- Production readiness includes security: secrets, permissions, administrative access, dependency trust, and input handling.
- Treat hostile traffic, abusive users, and malformed requests as production load cases — not edge cases.
Interconnects and Routing
- Design interconnects to avoid concentrated demand, hidden single points of failure, uncontrolled fan-out, and fragile chattiness.
- Keep DNS, service discovery, routing, and load balancing health-aware and current.
Observability
- Build observability into boundaries and failure points: structured context, correlation identifiers, latency, throughput, error counts, saturation, queue depth, retry counts, breaker state, dependency health, version, configuration.
- Avoid secrets in logs. Avoid retry-storm log spam.
Deployment and Operations
- Make startup, health checks, migrations, one-time jobs, and operational automation idempotent or restartable where practical.
- Give operational changes durable state, auditability, verification, and rollback/roll-forward paths.
- Ensure health signals reflect real ability to serve — traffic should only reach ready components.
Resource Budgeting
- Budget scarce resources explicitly. Release them deterministically.
- Avoid holding locks or expensive connections across slow remote calls.
- Stream or paginate large payloads instead of defaulting to huge in-memory batches.
Trigger Rules
- Adding an outbound call: Define timeout, retry eligibility, retry bounds, fallback/degraded mode, validation, and caller-survival behavior.
- Adding a queue/buffer/pool/cache/log stream/job/collection-returning API: Define capacity, full behavior, cleanup, miss/stampede/staleness behavior, dead-letter/poison-message handling, pacing, pagination/streaming, and saturation monitoring.
- Touching deployment/config/startup/migrations: Make it idempotent or restartable. Give it durable state, auditability, verification, and rollback.
- Adding health checks/routing/handshakes: Ensure traffic reaches only ready components. Health signals must reflect real ability to serve.
- Designing API/integration contracts: Make failure modes explicit. Distinguish retryable from non-retryable. Prefer coarse-grained resilient interactions. Document timeout, retry, version, compatibility.
- Reviewing an incident: Identify the failure chain, missing defenses, detection gaps, demand, saturation, latency distribution, queue age, dependency behavior, traffic concentration.
- Adding admin controls/hostile-traffic handling/production testing (launch checks, capacity tests, game days, chaos/disaster simulations): Require authorization, auditability, safe defaults, clear stop mechanisms, bounded blast radius, recovery paths.
Stability Patterns
| Pattern | When to Use |
| Circuit breaker | Dependency is failing — stop calling it fast, probe for recovery |
| Bulkhead | Isolate resource pools so one failure can't exhaust all capacity |
| Fail fast | Continuing hides unrecoverable trouble or holds scarce resources |
| Backpressure | Upstream needs to slow down — propagate pressure, don't buffer infinitely |
| Load shedding | System is overloaded — drop low-priority work to protect core functions |
| Governor | Expensive behavior needs rate-limiting to protect shared resources |
| Handshaking | Components must signal readiness before receiving traffic |
| Steady state | Routine cleanup and bounded growth (logs, caches, temp data) without human intervention |
| Let it crash | Clean restart beats limping — only with supervision and isolation |
| Decoupling middleware | Queues/messaging decouple callers from providers — only with depth/lag monitoring |
Final Checklist
Before shipping to production:
- Explicit timeouts on all outbound calls — no infinite waits?
- Retries safe, bounded, backed off/jittered, not duplicated across layers?
- Queues, buffers, pools, caches, payloads, jobs bounded?
- Failure isolated with breakers, bulkheads, fast failure, degradation, or load shedding?
- External input and dependency responses validated before they affect state?
- Diagnostics cover logs, metrics, health, correlation, dependencies, saturation, queue depth, retries, breaker state?
- Startup, deployment, migration, automation restartable, observable, authorized, auditable?
- API contracts document failure modes, timeouts, retry expectations?
- Interconnects, APIs, caches, scheduled work, security, and chaos tests have explicit production failure behavior?
Reference
| File | Use When |
| Failure Modes | Designing specific failure semantics for a service or integration |
| Stability Patterns | Choosing between circuit breaker, bulkhead, backpressure, load shedding, governor |
| Observability | Building diagnostics into boundaries and failure points |
| Deployment Safety | Making deployments, migrations, and operational changes safe and reversible |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

