Logotipo de Ai Error Resilience

Ai Error Resilience

Comunidad
varunk130
ai-error-resilience

Diseña experiencias que gestionen con elegancia los fallos de los productos de IA: alucinaciones, incertidumbre, resultados incorrectos y casos límite. Úsalo para diseñar experiencias de usuario ante alucinaciones de IA, gestionar errores de IA, diseñar para la incertidumbre, degradar el servicio con elegancia, recuperarse de fallos de IA, definir umbrales de confianza y ofrecer alternativas seguras.

Add to TypingMind

Descripción general

Editorvarunk130
Repositorioai-ux-skill-library
Nombre de la habilidadai-error-resilience
Estrellas
3
Forks
0
Archivos incluidos
Solo instrucciones
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por varunk130 en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Ai Error Resilience en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/varunk130/ai-ux-skill-library/tree/main/skills/ai-error-resilience
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/varunk130/ai-ux-skill-library.git /tmp/ai-ux-skill-library
mkdir -p .claude/skills
cp -r /tmp/ai-ux-skill-library/skills/ai-error-resilience .claude/skills/ai-error-resilience
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Ai Error Resilience en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Ai Error Resilience automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Ai Error Resilience no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

AI Error Resilience

Design AI products that fail gracefully, communicate uncertainty honestly, and help users recover without losing trust. The RECOVER framework treats AI errors as a design material, not a bug to hide.

Core Principle

Traditional software has bugs. AI has probabilistic outputs on a spectrum of correctness. You cannot design AI UX using binary error/success patterns. Instead, design for a continuum: right, mostly right, partially right, uncertain, wrong, and dangerously wrong.


The RECOVER Framework

LetterPhaseDesign Question
RRecognizeCan the system detect when its output may be unreliable?
EExpress UncertaintyDoes the interface clearly communicate degrees of confidence to the user?
CContain Blast RadiusIf the AI is wrong, what's the worst that can happen? How is damage limited?
OOffer AlternativesDoes the user get a Plan B when Plan A might be wrong?
VVerify CollaborativelyCan the user easily check, correct, or confirm the AI's output?
EEvolve from ErrorsDoes the system learn from this error type to prevent future occurrences?
RRestore ConfidenceAfter a failure, how does the product rebuild the user's willingness to try again?

AI Error Taxonomy

Not all AI errors are created equal. Each type requires a different UX response.

Error TypeDescriptionSeverityUX Response Pattern
Confident hallucinationAI invents facts and states them as truthCriticalCitation requirement + verification prompt
Stale knowledgeAI references outdated informationHighTimestamp + "knowledge cutoff" indicator
Context misreadAI misinterprets the user's intent or contextMediumReflect understanding before answering
Partial answerAI addresses some but not all parts of a queryMediumChecklist showing what was/wasn't addressed
Formatting errorContent is correct but presented poorlyLowEasy reformat/regenerate affordance
Refusal overreachAI refuses a legitimate request due to overly strict safety filtersMediumExplain why + offer alternative path
Confidence inversionAI is most confident when it's most wrongCriticalMandatory human review for high-stakes outputs

The Error Severity Matrix

Use this matrix to determine the appropriate UX response based on error probability and consequence:

Low ConsequenceMedium ConsequenceHigh Consequence
High Probability of ErrorAuto-correct silently + logWarn before action + suggest alternativesBlock action + require human approval
Medium ProbabilityShow confidence indicatorPresent with verification promptRequire explicit confirmation + evidence
Low ProbabilityNo intervention neededSubtle confidence signalAdd verification step for critical outputs

Uncertainty Communication Patterns

The Hedging Spectrum

From most to least uncertain, calibrate AI language:

Confidence LevelAI Language PatternVisual SignalExample
90%+Direct statementGreen / no indicator"The meeting is scheduled for 3pm."
70-90%Qualified statementAmber indicator"Based on the data available, the meeting appears to be at 3pm."
50-70%Explicit uncertaintyAmber + explanation"I found conflicting information. It may be 3pm, but some sources say 2pm."
30-50%Presented as possibilitiesRed indicator"I'm not confident about this. Here are the possibilities I found: [list]"
Below 30%Deferred to user/humanRed + escalation"I don't have enough information to answer reliably. Here's what might help: [resources]"

Anti-pattern: Using the same hedging language for everything ("I think..." prepended to every response). This makes hedging meaningless. Reserve it for genuine uncertainty.


The Hallucination Defense Playbook

Prevention Layer (Before Output)

StrategyHow It WorksImplementation
Source groundingOnly make claims traceable to provided sourcesRAG architecture with citation requirements
Constraint declarationsAI states what information it's working from"Based on the 3 documents you uploaded..."
Confidence gatingSuppress outputs below confidence thresholdSet per-use-case thresholds (e.g., medical = 90%, casual = 50%)
Scope framingAI explicitly states what's in and out of scope"I can help with X. For Y, you'll need [alternative]."

Detection Layer (During Output)

StrategyHow It WorksImplementation
Self-consistency checkingGenerate multiple responses; flag divergenceIf 3 generations disagree, show the disagreement to the user
Factual anchoringCross-reference claims against known dataHighlight claims that don't match provided sources
Temporal markersFlag information that may be outdated"This information is from [date]. Verify current status."

Recovery Layer (After Error)

StrategyHow It WorksImplementation
One-click correctionUser marks output as wrong with minimal effortThumbs down + "What was wrong?" dropdown
Regeneration with guidanceUser can ask AI to try again with a hint"Try again, but focus on [specific angle]"
Human escalationSeamless handoff to human when AI fails"Let me connect you with someone who can help with this."
Error acknowledgmentAI explicitly owns the mistake"You're right - my previous answer was incorrect. Here's the corrected version."

Safe Fallback Design

Every AI output needs a fallback plan. Design the fallback hierarchy:

PriorityFallback LevelWhat HappensUser Experience
1Graceful degradationAI provides a less detailed but more reliable answer"I can give you a general answer, but for specifics you'll want to check [source]."
2Transparent limitationAI explains what it can't do and why"I don't have access to real-time data for this. Here's what I know as of [date]."
3Alternative pathAI suggests another way to accomplish the goal"I can't do X directly, but here's how you might approach it using Y."
4Human handoffAI transfers to a human with full context"Transferring you to a specialist. I've shared our conversation so you won't need to repeat yourself."
5Graceful exitAI acknowledges the dead end respectfully"I've reached the limit of what I can help with here. Here are some resources that might help: [links]"

Anti-pattern: The cliff-edge fallback - AI works perfectly until it doesn't, then shows a generic "Something went wrong" error with no path forward.


The Blast Radius Audit

For every AI feature, map the blast radius of failure:

QuestionWhat to Document
What's the worst output the AI could produce?Specific harmful scenarios, not abstract risks
Who is harmed if the AI is wrong?End user, downstream consumers of the output, third parties
Is the harm reversible?Can the user undo, correct, or recover from a bad output?
How quickly is the error detectable?Immediately (user sees it), delayed (downstream impact), or hidden (user doesn't know)?
What safeguards exist?Human review, verification prompts, confidence gates, output constraints

Anti-Patterns

PatternWhy It Fails
Hiding uncertainty behind confident languageCreates automation bias; users can't calibrate trust
Showing a spinner then delivering a hallucinationUsers equate "thinking time" with reliability - longer processing implies more trustworthy answers
Generic error messages ("Something went wrong")Tells the user nothing actionable. Always specify: what failed, why, and what to do next
Requiring users to detect AI errors themselvesUsers are not QA testers. Build detection into the system
Punishing users for reporting errorsIf the correction flow is cumbersome, users will stop reporting and start silently distrusting
Overcorrecting after one errorDropping confidence displays to 0 after one mistake makes the system unusable. Recalibrate, don't overreact

Quick Reference

TaskFramework ElementKey Deliverable
Design error handling for AI productFull RECOVER frameworkError type map + severity matrix + fallback hierarchy
Audit AI product for failure risksBlast Radius AuditRisk map with harm scenarios and safeguards
Design hallucination preventionHallucination Defense Playbook3-layer defense (prevention, detection, recovery)
Calibrate uncertainty languageHedging SpectrumLanguage guidelines matched to confidence levels
Design safe fallback flowSafe Fallback Hierarchy5-level fallback chain with user experience specs

Integration

Works with: ai-trust-transparency (how errors affect trust), ai-conversation-architect (error recovery in dialogue), ai-safety-guardrails (preventing harmful errors), ai-feedback-loops (learning from error reports), ai-ux-eval (scores the recoverability dimension).

Preguntas frecuentes

¿Qué hace la habilidad de IA Ai Error Resilience?

Diseña experiencias que gestionen con elegancia los fallos de los productos de IA: alucinaciones, incertidumbre, resultados incorrectos y casos límite. Úsalo para diseñar experiencias de usuario ante alucinaciones de IA, gestionar errores de IA, diseñar para la incertidumbre, degradar el servicio con elegancia, recuperarse de fallos de IA, definir umbrales de confianza y ofrecer alternativas seguras.

¿Por qué usar Ai Error Resilience en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Ai Error Resilience está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Ai Error Resilience en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/varunk130/ai-ux-skill-library/tree/main/skills/ai-error-resilience. TypingMind lee el archivo SKILL.md de esa carpeta e instala su contenido como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Ai Error Resilience?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Ai Error Resilience?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Ai Error Resilience con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Ai Error Resilience?

Sí. varunk130 la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇