closed-loop-delivery
Qué hace
Esta herramienta ayuda a la IA a completar tareas de programación de principio a fin. Se asegura de que el código funcione, se revise y se pruebe, siguiendo reglas claras hasta que todo esté listo.
Cuándo usarla
- ✓Cuando quieres que la IA arregle un error y pruebe la solución.
- ✓Cuando necesitas que la IA cree una nueva función, incluyendo pruebas y despliegue.
- ✓Cuando quieres evitar tener que pedir a la IA que pruebe, revise y despliegue en pasos separados.
Link de la skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/closed-loop-delivery/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Arregla el error X, asegúrate de que las pruebas pasen, envía el código a revisión y despliégalo en el entorno de desarrollo.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
Primero, la IA entiende qué hay que hacer y las reglas para considerar el trabajo terminado. Después, escribe el código, lo prueba en tu equipo, responde a los comentarios de la revisión y, por último, lo despliega y comprueba que todo funciona como se espera.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
Closed-Loop Delivery
Overview
Treat each task as incomplete until acceptance criteria are verified in evidence, not until code is merely changed.
Core rule: deliver against DoD (Definition of Done), not against code diff size.
When to Use
Use this skill when:
- user gives a coding/fix task and expects end-to-end completion
- task spans code + tests + PR comments + dev deploy + runtime checks
- repeated manual prompts like "now test", "now deploy", "now re-check PR" should be avoided
Do not use this skill for:
- pure Q&A/explanations
- prod deploy requests without explicit human approval
- tasks blocked by missing secrets/account access that cannot be inferred
Required Inputs
Before execution, define these once:
- task goal
- acceptance criteria (DoD)
- target environment (
devby default) - review cadence/budget when requested; a default review cadence is not a task-completion limit
If acceptance criteria are missing, request them once. If user does not provide, propose a concrete default and proceed.
Issue Gate Dependency
If the project already uses create-issue-gate, respect its current contract; otherwise derive acceptance criteria from the authorized task without inventing a mandatory issue.
- If issue status is
readyand execution gate isallowed, continue. - A real project-required draft gate can block dependent actions; it does not forbid independent discovery or already-authorized work under a different applicable workflow.
- Use available task context to formulate testable criteria; clarify only when a missing decision materially changes the outcome.
Default Workflow
Define DoD
- Convert request into testable criteria.
- Example: checkout task DoD = "checkout endpoint returns a valid, openable third-party payment URL in dev".
Implement minimal change
- Keep scope tight to task goal.
Verify locally
- Run focused tests first, then broader checks if needed.
Review loop
- Fetch PR comments/reviews.
- Classify valid vs non-actionable.
- Fix valid items, re-run verification.
Dev deploy + runtime verification
- Deploy only to an already-authorized dev target when runtime behavior matters; otherwise prepare and verify the concrete candidate locally.
- Verify via real API/Lambda/log evidence against DoD.
Completion decision
- Only report "done" when all DoD checks pass.
- Otherwise continue loop until pass or stop condition.
PR Comment Polling Policy
Avoid noisy short polling by default. Use batched windows:
- Round 1: wait
3m, collect delta comments/reviews - Round 2: wait
6m, collect delta again - Final round: wait
10m, collect all remaining visible comments/reviews
At each round:
- process all new comments in one batch
- avoid immediate re-poll after each single comment
- after the
10mround, stop waiting and proceed with all comments visible at that point
If CI is still running, align polling to check completion boundaries instead of fixed rapid polling.
Human Gate Rules (Must Ask)
Require missing consequential authorization for the following; do not request it again when the user has already granted the exact scope:
- production/staging deploy beyond agreed scope
- destructive operations (history rewrite, force push, data-destructive ops)
- actions with billing/security posture changes
- secret values not available in repo/runtime
- ambiguous DoD that materially changes outcome
Iteration/Stop Conditions
Stop and escalate with a concise blocker report when:
- The same verified external blocker leaves no meaningful authorized next step; two failed iterations alone are not a reason to stop when useful repair work remains
- external dependency blocks progress (provider outage, missing creds, account permission)
- conflicting review instructions cannot both be satisfied
Escalation report must include:
- what passed
- what failed
- evidence (commands/logs/API result)
- smallest decision needed from user
Output Contract
When claiming completion, always include:
- acceptance criteria checklist with pass/fail
- commands/tests run
- runtime evidence (endpoint/Lambda/log key lines)
- PR status (new actionable comments count)
Do not claim success without evidence.
Example
User request:
Take this bug from reproduction through root-cause proof, implementation, tests, review, and final validation.
Limitations
…
Preguntas frecuentes
¿Qué son los 'criterios de aceptación'?
Son las reglas que definen cuándo una tarea está completamente terminada y funciona correctamente. Por ejemplo, 'el botón de inicio de sesión debe funcionar sin errores'.
¿La IA puede desplegar en producción?
No, no sin tu aprobación explícita. Puede desplegar en entornos de prueba (desarrollo), pero para producción te pedirá permiso.
¿Qué pasa si la IA no puede completar la tarea?
Si hay un bloqueo (por ejemplo, falta de permisos o un problema que no puede resolver por sí sola), la IA se detendrá, te pedirá ayuda y te explicará qué salió mal.
Detalles
Descripción original del autor
Use when a coding task must be completed against explicit acceptance criteria with minimal user re-intervention across implementation, review feedback, deployment, and runtime verification.
Popularidad
- Estrellas en GitHub
- 48 mil
- Posición en el ranking
- #4159
- Licencia
- MIT
- Actualizada
- 15/10/2026
Comentarios
- …
Más skills de este repositorio
00-andruia-consultant
48 milAyuda a tu agente a iniciar o mejorar proyectos de IA. Analiza código, sugiere herramientas y crea planes de acción en español.
007
48 milPermite que tu agente realice auditorías de seguridad y modelado de amenazas. Es útil para proteger proyectos contra ataques y vulnerabilidades.
10-andruia-skill-smith
48 milAyuda a tu agente a crear o mejorar herramientas de IA. Define cómo funcionan, escribe la documentación y valida la estructura.
20-andruia-niche-intelligence
48 milPermite que tu agente cree un resumen de un sector específico. Es útil para entender su contexto, normas, patrones de uso y riesgos, usando fuentes fiables.
Skills parecidas
diffs
394 milPermite que tu agente genere un diff real y compartible de los cambios, como enlace de visualización o archivo de imagen, en lugar de un resumen escrito a mano.
coding-agent
394 milAyuda a tu agente a pasar un trabajo de programación grande a Codex, Claude Code u OpenCode como trabajador en segundo plano, y después revisar su progreso.
gh-issues
394 milAyuda a tu agente a encontrar incidencias de GitHub, elegir cuáles trabajar y abrir pull requests con correcciones, incluido el seguimiento de los comentarios de revisión.