agentsclimarketplace

Debug

Skill eduardo-lezama/intranet-dashboard/.windsurf.bak/skills/debug

Intranet dashboard based on html, css and js. Includes advance use of agentic workflows and MCP. For personal use with my own info panels, automation and IoT related stuff

Install
npx -y skills add eduardo-lezama/intranet-dashboard --skill debug

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Usar al investigar un bug o error en la aplicación

SKILL.md

2.3 KB, as published. Nobody here has run it

Cuándo usar esta skill

  • Cuando hay un error o comportamiento inesperado
  • Al investigar logs de error
  • Para diagnosticar problemas de integración con servicios externos

Contexto necesario antes de empezar

  1. Mensaje de error exacto (si existe)
  2. Pasos para reproducir el problema
  3. Logs relevantes de Flask
  4. Qué funcionaba antes (si aplica)

Pasos

1. Reproducir el problema

  • Verificar que el error es reproducible
  • Anotar condiciones exactas

2. Localizar el origen

  • Revisar logs de Flask (current_app.logger)
  • Identificar archivo y línea del error
  • Verificar stack trace completo

3. Analizar el código

  • Leer el código involucrado
  • Verificar flujo de datos
  • Comprobar configuración relacionada

4. Hipótesis y verificación

  • Formular hipótesis del problema
  • Añadir logging temporal si es necesario:
    current_app.logger.debug(f"DEBUG: variable={variable}")
    
  • Verificar hipótesis

5. Implementar fix

  • Aplicar corrección mínima
  • Verificar que resuelve el problema
  • Verificar que no rompe otra cosa

6. Limpiar

  • Eliminar logging temporal de debug
  • Ejecutar validaciones
ruff check .
python -c "from app import app"

<patrones_criticos> SIEMPRE:

  • Reproducir antes de arreglar
  • Entender la causa raíz
  • Verificar el fix
  • Documentar si el bug era sutil

NUNCA:

  • Arreglar síntomas sin entender causa
  • Dejar logging de debug en producción
  • Asumir sin verificar

PREFERENTEMENTE:

  • Añadir test que capture el bug
  • Fix mínimo y enfocado
  • Commit separado para el fix </patrones_criticos>

Herramientas de debug disponibles

Flask logging

current_app.logger.debug("mensaje debug")
current_app.logger.info("mensaje info")
current_app.logger.error(f"Error: {e}")

Endpoints de debug existentes

  • /api/mealie/debug - Debug de Mealie
  • /api/settleup/debug-transactions - Debug de Settle Up

Variables de entorno

  • FLASK_DEBUG=True - Modo debug activo

Checklist de validación

  • Bug reproducido y entendido
  • Causa raíz identificada
  • Fix implementado y verificado
  • No hay logging de debug residual
  • ruff check . pasa
  • La app arranca correctamente

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.