Bug Fix Pipeline Orchestrator

VerifiedSafe

Orchestrates the full bug-fixing lifecycle: tracking, investigation, regression test (RED), fix implementation (GREEN), and validation.

Sby Skills Guide Bot
DevelopmentAdvanced
8/29/2026
Claude Code
#bug-fixing#orchestration#regression-testing#tdd#workflow

Recommended for

Automated summary

This skill orchestrates the full bug-fixing cycle — logging, investigation, failing regression test, fix, validation — by chaining four specialised Bolt Framework skills in sequence.

Strengths

  • Explicit phase-by-phase pipeline, each with defined inputs, outputs and a gate to the next step
  • Forces a failing regression test (RED) before any fix (GREEN) is allowed
  • End-to-end traceability through a BUG-NNN id, investigation file, GitHub issue and centralised inventory
  • Halts the pipeline when the test unexpectedly passes, flagging the bug as not reproducible instead of patching blindly

Limitations

  • Tightly bound to the Bolt ecosystem: the four sub-skills, the Aspire environment and naming conventions must already be in place
  • Assumes a working TypeScript E2E setup (Page Objects, fixtures, tags) and offers no guidance for bootstrapping one
  • The final validation and closing phases are only sketched, with most detail concentrated on the first four stages
When to use it

Reach for it when a known defect must be handled end-to-end with test-backed proof and full traceability rather than patched ad hoc.

When not to use it

Skip it for a trivial or emergency one-line fix that needs no issue or regression test, or when the E2E setup and Aspire environment are unavailable.

Security analysis

Safe
Quality score85/100

The skill is an orchestrator that coordinates bug-fixing workflows. It instructs actions like creating files, updating issues, running tests, and implementing fixes, but does not include destructive commands, data exfiltration, obfuscation, or disabling safety mechanisms. No risky tool usage is directly prescribed; it relies on other skills for actual execution.

No concerns found

How this analysis is made

Examples

Full pipeline, Spanish
Corrige el BUG-042 de principio a fin: registra, investiga, escribe el test de regresión que falle y aplica el fix mínimo hasta que pase.
Ad-hoc bug report
Fix bug: el total del carrito se queda obsoleto al cambiar la cantidad. Quiero el ciclo completo, con test de regresión antes del fix.
Resume a stalled bug
Retoma BUG-017: la causa raíz ya está documentada, así que salta a la fase de test RED y sigue el pipeline hasta la validación.

name: bolt-bug-fixer description: > Orquestador del ciclo completo de corrección de bugs: registro → investigación → test de regresión (RED) → implementación del fix (GREEN) → validación. Coordina los skills bolt-bug-tracker, bolt-bug-troubleshooter, bolt-regression-test y bolt-implement en secuencia para garantizar que cada bug se corrige con trazabilidad completa, test de regresión previo y validación posterior. SIEMPRE usar cuando se quiera corregir un bug de principio a fin, orquestar el pipeline completo de corrección, o aplicar el ciclo RED→GREEN→VALIDATE sobre un defecto conocido. Triggers: 'arreglar bug', 'fix bug', 'corregir bug', 'pipeline bug completo', 'resolver bug', 'bug fix workflow', 'ciclo completo de bug', 'corregir BUG-XXX', 'arreglar BUG-XXX', 'fix BUG-XXX', 'solucionar bug', 'fixear bug', 'bug end-to-end', 'bug pipeline', 'bug lifecycle completo', 'reparar bug', 'atacar bug', 'resolver defecto'.

Bolt Bug Fixer

Agente orquestador que ejecuta el ciclo completo de corrección de bugs dentro del Bolt Framework. Coordina los 4 skills especializados en secuencia estricta, garantizando trazabilidad y calidad.

Principio Operativo

"Ningún bug se corrige sin un test que lo demuestre, y ningún fix se acepta sin pasar ese test."

Pipeline de Corrección

flowchart LR
    A[1. REGISTRAR<br>bolt-bug-tracker] --> B[2. INVESTIGAR<br>bolt-bug-troubleshooter]
    B --> C[3. TEST RED<br>bolt-regression-test]
    C --> D[4. FIX GREEN<br>bolt-implement]
    D --> E[5. VALIDAR<br>Ejecutar test]
    E --> F[6. CERRAR<br>bolt-bug-tracker]

Fases del Pipeline

Fase 1 — REGISTRAR (bolt-bug-tracker)

Entrada: Descripción del bug (textual, screenshot, o detectado en ejecución) Salida: BUG-NNN-investigation.md + issue en GitHub + entrada en bug-inventory.md

Acciones:

  1. Asignar ID (BUG-NNN) y clasificar severidad (P0-P3) y tipo
  2. Crear archivo de investigación con la plantilla estándar
  3. Crear issue en GitHub con campos obligatorios del proyecto
  4. Registrar en el inventario centralizado

Criterio de avance: Issue creado, archivo de investigación existe, estado = NEW

Fase 2 — INVESTIGAR (bolt-bug-troubleshooter)

Entrada: BUG-NNN-investigation.md con pasos de reproducción Salida: Causa raíz identificada, hipótesis documentadas, evidencia adjunta

Acciones:

  1. Reproducir el bug en el entorno (Aspire levantado)
  2. Recopilar evidencia de las 5 fuentes (logs, OTel, navegador, código, DB)
  3. Formular hipótesis y validarlas/descartarlas con evidencia
  4. Documentar la causa raíz confirmada

Criterio de avance: Causa raíz documentada con evidencia, estado = INVESTIGATING → se puede avanzar

Fase 3 — TEST RED (bolt-regression-test)

Entrada: Causa raíz y pasos de reproducción del troubleshooter Salida: Test E2E en e2e/tests/<dominio>/bug-NNN-<desc>.spec.ts que FALLA

Acciones:

  1. Diseñar test que verifica el comportamiento CORRECTO (fallará mientras el bug exista)
  2. Escribir el test con la plantilla estándar (fixtures, tags, Page Objects)
  3. Ejecutar y confirmar que falla por la razón correcta
  4. Actualizar inventario: estado = RED

Criterio de avance: Test existe, falla, y el mensaje de error apunta al bug

⚠️ Si el test pasa en lugar de fallar: detener el pipeline y notificar al usuario que el bug no es reproducible con E2E. Documentar en BUG-NNN-investigation.md y solicitar confirmación para clasificar como infraestructura o revisar los pasos de reproducción.

Fase 4 — FIX GREEN (bolt-implement)

Entrada: Test RED + causa raíz documentada Salida: Código que corrige el bug (mínimo cambio necesario)

Acciones:

  1. Implementar la corrección mínima en el código afectado
  2. Ejecutar el test de regresión y confirmar que PASA
  3. Ejecutar tests existentes para verificar que no hay regresiones colaterales
  4. Actualizar inventario: estado = GREEN

Criterio de avance: Test de regresión pasa, suite existente sigue verde

⚠️ Si el test sigue fallando tras implementar el fix: NO avanzar a Fase 5. Actualizar estado = INVESTIGATING, documentar el intento fallido en BUG-NNN-investigation.md, y retornar a Fase 2 para reevaluar la causa raíz.

Fase 5 — VALIDAR

Entrada: Fix implementado + test green Salida: Confirmación de que el sistema funciona correctamente

Acciones:

  1. Ejecutar suite completa de regresión del dominio afectado
  2. Verificar manualmente el flujo si el bug afecta UI/UX visible al usuario o si es P0/P1; omitir para bugs de lógica de negocio sin impacto visual
  3. Ejecutar smoke tests si el bug era P0/P1

Criterio de avance: Suite de regresión verde, validación manual OK

Fase 6 — CERRAR (bolt-bug-tracker)

Entrada: Validación exitosa Salida: Bug cerrado en inventario y GitHub

Acciones:

  1. Actualizar bug-inventory.md: estado = DONE
  2. Actualizar issue en GitHub con link al PR y test
  3. Cerrar issue con Closes #<id>
  4. Actualizar BUG-NNN-investigation.md con sección de resolución

Criterio de avance: Issue cerrado, inventario actualizado, test en el repo

Modos de Operación

Modo completo (por defecto)

Ejecuta las 6 fases en secuencia. Usar cuando el bug es nuevo y no tiene trabajo previo.

Input: "Arreglar bug: cuando desactivo una compañía, desaparece del listado"
→ Ejecuta Fase 1 → 2 → 3 → 4 → 5 → 6

Modo continuar

Detecta en qué fase se quedó un bug existente y continúa desde ahí.

Input: "Continuar con BUG-004"
→ Lee bug-inventory.md, detecta estado = RED
→ Ejecuta Fase 4 → 5 → 6

Modo fase única

Ejecuta solo una fase específica por petición del usuario.

Input: "Solo investigar BUG-007"
→ Ejecuta solo Fase 2 (bolt-bug-troubleshooter)

Detección de Estado

Al recibir un BUG-NNN existente, detectar su estado actual para saber dónde continuar:

| Estado | Siguiente fase | | --------------- | -------------- | | NEW | Fase 2 (investigar) | | INVESTIGATING | Leer BUG-NNN-investigation.md: si la sección "Causa Raíz Confirmada" está rellena → Fase 3 (test RED); si está vacía o dice "Pendiente" → continuar Fase 2 | | UC_UPDATED | Fase 3 (test RED) | | RED | Fase 4 (fix GREEN) | | GREEN | Fase 5 (validar) | | DONE | Ninguna — ya cerrado |

Convenciones de Naming

| Artefacto | Formato | | ----------------------- | ------------------------------------------------- | | Archivo investigación | specs/<feature>/bugs/BUG-NNN-investigation.md | | Test de regresión | e2e/tests/<dominio>/bug-NNN-<desc>.spec.ts | | Branch del fix | fix/bug-NNN-<desc-corta> | | Commit | fix(#<issue>): <descripción del fix> | | PR title | fix(#<issue>): BUG-NNN — <título del bug> |

Reglas del Orquestador

  1. NUNCA saltar la Fase 3 — todo fix requiere test RED previo (salvo bugs de infraestructura pura no testeables con E2E)
  2. NUNCA implementar sin causa raíz — si la fase 2 no identifica la causa, no avanzar a fase 3
  3. Mínimo cambio posible — el fix debe ser quirúrgico, no un refactor oportunista
  4. Un bug = un PR — no mezclar fixes de múltiples bugs en el mismo PR
  5. Commit message con issue ID — fix(#NNN): descripción
  6. Actualizar inventario en cada transición — el estado debe reflejar siempre la realidad

Modelo de Ejecución por Cliente

El fixer se comporta diferente según el cliente donde corre:

VS Code (GitHub Copilot)

El fixer EJECUTA todas las fases él mismo cargando cada sub-skill.
NO puede llamar a otros agentes programáticamente.
Los `handoffs` declarados en el agent.md son botones para el usuario (HITL),
NO llamadas automáticas.

Flujo correcto en VS Code:

@Bolt Bug Fixer invocado
  → Lee bolt-bug-fixer/SKILL.md
  → Fase 1: carga bolt-bug-tracker/SKILL.md → ejecuta → actualiza inventario
  → Fase 2: carga bolt-bug-troubleshooter/SKILL.md → investiga → guarda en memory
  ─── HITL: muestra causa raíz, espera confirmación ───────────────────────
  → Fase 3: carga bolt-regression-test/SKILL.md → escribe test E2E
  ─── HITL: usuario ejecuta test, confirma que falla ─────────────────────
  → Fase 4: carga bolt-implement/SKILL.md → implementa fix
  ─── HITL: usuario valida en navegador/tests ─────────────────────────────
  → Fase 5: ejecuta suite de regresión
  → Fase 6: carga bolt-bug-tracker/SKILL.md (cierre) → cierra issue

Anti-patrón a evitar en VS Code:

❌ "Voy a delegar la investigación al agente @bolt-bug-troubleshooter"
   (no puede hacerlo — perdería el contexto y el estado)

✅ "Cargo el skill bolt-bug-troubleshooter y ejecuto la investigación yo mismo"

Claude Code

El fixer PUEDE usar Task con subagents reales.
Usa `agent_type: "bolt-bug-troubleshooter"` etc. para verdadera delegación.
El estado se pasa vía memory de sesión entre subagents.

Checkpoints HITL (Human-in-the-Loop)

En VS Code, el fixer pausará y presentará el botón de handoff correspondiente en estos momentos:

| Checkpoint | Handoff button | Por qué pausar | | ---------- | -------------- | -------------- | | Fin Fase 2 | 🧪 Crear Test de Regresión | Usuario revisa causa raíz antes de escribir el test | | Fin Fase 3 | 🏗️ Implementar Fix | Usuario DEBE ejecutar el test y confirmar que falla | | Fin Fase 4 | ✅ Validar en Navegador | Usuario valida el fix manualmente |

Para P0 (Critical): saltar los checkpoints de Fase 2 y Fase 4, pero mantener el checkpoint de Fin Fase 3 — la confirmación de que el test RED falla es obligatoria independientemente de la prioridad, pues es el fundamento del ciclo RED→GREEN.

Interacción con el Usuario

En cada transición de fase, informar:

✅ Fase N completada: [resumen una línea]
→ Próximo: Fase N+1 — [descripción]
[mostrar handoff button si es checkpoint HITL, o proceder directamente]

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/bug-fix-pipeline-orchestrator-mte1lgqj/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/bug-fix-pipeline-orchestrator-mte1lgqj' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/bug-fix-pipeline-orchestrator-mte1lgqj/download' --output '.skill-downloads/bug-fix-pipeline-orchestrator-mte1lgqj/SKILL.md.part' && mv '.skill-downloads/bug-fix-pipeline-orchestrator-mte1lgqj/SKILL.md.part' '.skill-downloads/bug-fix-pipeline-orchestrator-mte1lgqj/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/bug-fix-pipeline-orchestrator-mte1lgqj/SKILL.md' && test -s '.skill-downloads/bug-fix-pipeline-orchestrator-mte1lgqj/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/bolt-bug-fixer' && cp -R '.skill-downloads/bug-fix-pipeline-orchestrator-mte1lgqj' '.claude/skills/bolt-bug-fixer'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/bug-fix-pipeline-orchestrator-mte1lgqj'

openskills read 'bug-fix-pipeline-orchestrator-mte1lgqj'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/bug-fix-pipeline-orchestrator-mte1lgqj/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills