production-readiness
Skill1 starsChanged 45 days agoMITView on GitHub
Que el código aguante producción: timeouts, reintentos con backoff solo en operaciones idempotentes, health checks, apagado ordenado, logs estructurados sin secretos y una señal que pruebe que la feature funciona. Úsala cuando la tarea agregue o cambie una llamada de red (HTTP, SDK, DB, Redis, cola, LLM, webhook), agregue un worker, cron, job o servidor, toque Dockerfile, health checks, deploy o config de runtime, o cuando el usuario diga "producción", "se cae", "timeout", "lento", "logs", "monitoreo".
17 other projects use a version of this.
Adopted by
Most recently taken up by
- KbWen/agentic-ostheir own version, first seen Nov 7, 2026
- pankaj-mahaur/Agent-Daemontheir own version, first seen Nov 6, 2026
- gilsmt/skillstheir own version, first seen Oct 29, 2026
- Gladiarn/Glad-Personaltheir own version, first seen Oct 25, 2026
- abevz/devops-skillstheir own version, first seen Oct 15, 2026
- trycompai/comptheir own version, first seen Oct 8, 2026
Used with
Projects with it also use observability and systematic-debugging.
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.
OpenAISkillobservability
Vercel Observability expert guidance — Drains (logs, traces, speed insights, web analytics), Web Analytics, Speed Insights, runtime logs, custom events, OpenTelemetry integration, and monitoring dashboards. Use when instrumenting, debugging, or optimizing application performance and user experience on Vercel.
Also in 3 projects that use this
OpenAISkillsystematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
Also in 3 projects that use this
Other versions17 projects use a version of this.
Word for word · 1
- kleosr/bridle★ 1100% same
Edited · 0
None found.
Wrote their own version · 16
- trycompai/comp★ 2.1ksame name
- KbWen/agentic-os★ 229same name
- magnus919/agent-skills★ 172same name
- KbWen/agent-virtual-office★ 65same name
- suhailkakar/the-skills★ 26same name
- caiaffa/claude-code-ultimate-engineering-system★ 17same name
- wpank/ai★ 11same name
- dekoza/oh-my-slop★ 4same name
- Gladiarn/Glad-Personal★ 4same name
- gilsmt/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 repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- asd-ste100Skill
- auth-boundariesSkill
- bridle-harnessSkill
- code-architectureSkill
- cqrs-data-flowSkill
- debuggingSkill
- handoffSkill
- live-ui-syncSkill
- prompt-briefSkill
- slop-guardSkill
- system-designSkill
- testingSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 16 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 69
Test o prueba manual con la dependencia lenta o caída: respeta el timeout y devuelve el error decidido.
“Common” is measured: kept by at least 6 in 10 of the 16 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
El código que funciona en local falla en producción por lo que no se ve en el diff: una llamada sin timeout, un reintento que duplica un cobro, un deploy que corta requests a medias. Esta skill cierra esos huecos solo en las llamadas, jobs y servidores que el pedido agrega o cambia. No endurezcas el resto del repo ni agregues health checks, logger o métricas que el pedido no necesita.
Llamadas salientes (HTTP, SDK, DB, Redis, LLM)
- Timeout explícito en toda llamada. El default de la librería suele ser infinito. Timeout < tiempo máximo del request que la contiene.
- Reintenta solo lo idempotente (GET, PUT con la misma clave, o POST con
Idempotency-Key), solo errores transitorios (timeout, 429, 502–504, reset de conexión), con backoff exponencial + jitter y tope de intentos. Nunca reintentes 4xx de validación ni cobros sin clave de idempotencia. - Respeta
Retry-Afteren 429/503. - Un cliente compartido por proceso (pool de conexiones), no uno por request.
- Falla controlada: decide qué ve el usuario si la dependencia cae (error claro, dato cacheado, feature degradada). Escríbelo; no dejes el stack trace como UX.
Workers, jobs y webhooks
- Todo job es idempotente o deduplica por id: las colas entregan al menos una vez.
- Estado del job persistido (
pending → running → done|failed), con número de intentos y último error. Cola de muertos o estadofailedvisible tras N intentos. - Webhooks entrantes: verifica firma, responde 2xx rápido y procesa en cola; deduplica por el id del evento.
- Crons: un solo ejecutor (lock) si correr dos veces a la vez hace daño.
Servidores y deploy
- Health checks separados: liveness (el proceso responde, sin tocar dependencias) y readiness (puede atender: DB alcanzable, migraciones aplicadas). Un liveness que consulta la DB reinicia todo el fleet cuando la DB tiembla.
- Apagado ordenado: en
SIGTERM, deja de aceptar, termina requests/jobs en curso con un tope, cierra pools. Sin esto cada deploy corta requests. - Config por entorno validada al arrancar (schema); falta una variable → el proceso no arranca, en vez de fallar en la primera request.
- Migraciones compatibles con la versión anterior del código durante el deploy
(ver
postgres.mdc).
Observabilidad
- Logs estructurados (JSON o el logger del repo) con nivel, mensaje, id de request/job y el id del actor; nunca tokens, contraseñas, PII completa ni bodies enteros. Un error se loguea una vez, donde se maneja.
- Propaga un id de correlación (header
traceparentox-request-id) a las llamadas salientes y a los jobs. - Una señal por feature: la métrica, log o evento que te diría en producción que funciona (conteo de éxitos/fallos, latencia). Si el repo ya tiene métricas/tracing, úsalo; no agregues un stack nuevo.
Verificación
- Test o prueba manual con la dependencia lenta o caída: respeta el timeout y devuelve el error decidido.
- El reintento no duplica efectos (mismo
Idempotency-Key→ un solo efecto). - Si agregaste health checks o shutdown:
curla ambos endpoints y unSIGTERMcon una request en curso que termina bien. - Lo que no pudiste probar (carga real, failover del proveedor) va como riesgo no verificado.
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.

