davidcastagnetoa/skills

graceful_degradation

Devolver respuesta parcial si un servicio no crítico no está disponible

First seen Mar 3, 2026

Installation

$ npx skills add davidcastagnetoa/skills --skill graceful_degradation

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from davidcastagnetoa/skills · top by installs.

npx skills add davidcastagnetoa/skills

Browse all from davidcastagnetoa/skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 1
Default branch main
Open issues 0
Status Active

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,502 B
  • docs SUMMARY.md 101 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 13 installs

SKILL.md

graceful_degradation

Patrón de degradación graceful que permite al sistema continuar operando con funcionalidad reducida cuando un servicio no crítico falla, en lugar de devolver un error total.

When to use

Usar en el apigatewayagent y orchestrator_agent cuando un agente no crítico (antifraud geo-check, age estimation) no responde. El pipeline continúa con penalización de score.

Instructions

  1. Clasificar agentes por criticidad:

- Críticos (pipeline se detiene): liveness, facematch, documentprocessor. - No críticos (pipeline continúa): geo-check, age estimation, VPN detection.

  1. Si agente no crítico falla, asignar score neutral (0.5) y flag degraded.
  2. Incluir en respuesta: "degradedmodules": ["antifraudgeo"].
  3. Penalizar score global: reducir confianza en -0.05 por cada módulo degradado.
  4. Si > 2 módulos degradados, derivar a MANUAL_REVIEW automáticamente.
  5. Registrar modo degradado en métricas y auditoría.
  6. Alertar al healthmonitoragent para investigar el servicio caído.

Notes

  • Nunca degradar módulos críticos (liveness, face_match); si fallan, retornar error.
  • El modo degradado debe ser transparente para el cliente en la respuesta.
  • Revisar semanalmente las métricas de degradación para identificar servicios inestables.