Logotipo de Forgiveness

Forgiveness

Comunidad
Deibler
forgiveness

Use this skill whenever a design lets users do something they might regret — delete, send, publish, charge, transfer, archive, overwrite, irrecoverably commit. Trigger when designing destructive actions, undo systems, confirmation dialogs, soft-delete recovery, draft-saving, transaction reversal, "are you sure?" patterns, or any flow where a wrong move costs the user time, data, money, or trust. Trigger when the user mentions "users keep deleting things," "we get support tickets about lost data," "is this dangerous?", or when reviewing destructive UI. Forgiveness is one of the central principles in 'Universal Principles of Design' (Lidwell, Holden, Butler 2003) and one of Nielsen's 10 heuristics ("user control and freedom").

Descripción general

EditorDeibler
Repositoriouniversal-design-principles
Nombre de la habilidadforgiveness
Estrellas
9
Forks
3
Archivos incluidos
1
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando una petición es realmente relevante.

  • 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.

  • 1 archivos incluidos

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

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

Instalación

Instala la habilidad de IA Forgiveness 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/Deibler/universal-design-principles/tree/main/plugins/interaction-and-control-principles/skills/forgiveness
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → Desde 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/Deibler/universal-design-principles.git /tmp/universal-design-principles
mkdir -p .claude/skills
cp -r /tmp/universal-design-principles/plugins/interaction-and-control-principles/skills/forgiveness .claude/skills/forgiveness
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Forgiveness 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 es relevante, 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 Forgiveness 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 Forgiveness 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 relevante, 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á.

Forgiveness

Forgiveness is the property of a design that helps users avoid mistakes and recover gracefully from the ones they make. The opposite — an unforgiving design — punishes errors with lost work, irreversible changes, or hostile error states. Since human error is inevitable, forgiving design is what determines whether the product is pleasant to use over time or a constant source of low-grade anxiety.

Definition (in our own words)

A forgiving design recognizes that users will make mistakes — slips (correct intent, wrong action), mistakes (wrong intent because of wrong model), and accidents (the cat walked across the keyboard). It builds in mechanisms to prevent errors before they happen, minimize their consequences when they do happen, and recover from them when prevention and minimization both fail. The principle's central insight: error is a property of the design, not of the user. A design that produces lots of user error is a poorly-designed design, even if every user "could have been more careful."

Origins and research lineage

  • Lidwell, Holden & Butler, Universal Principles of Design (2003) compactly articulated the principle and identified six strategies for incorporating forgiveness: good affordances, reversibility of actions, safety nets, confirmation, warnings, and help. The book noted an inverse relationship: stronger affordances and reversibility reduce the need for confirmations, warnings, and help.
  • Donald Norman, The Design of Everyday Things (1988, revised 2013) emphasized that "designing for error" is a core design responsibility, not an afterthought. Norman drew heavily on safety-engineering literature.
  • James Reason, Human Error (Cambridge University Press, 1990). The standard reference work in human-error research, originally grounded in industrial-safety analysis (aviation, nuclear, medical). Reason's slip/mistake distinction (a slip is a wrong action despite correct intent; a mistake is a correct action of a wrong intent) shapes most modern error-recovery thinking.
  • Jakob Nielsen, "10 Usability Heuristics" (1994 onward). Two of the ten heuristics directly concern forgiveness: "User control and freedom" (undo, escape) and "Help users recognize, diagnose, and recover from errors."
  • Aviation and medical safety design have shaped the understanding of how to build forgiveness into systems where errors are catastrophic. Crumple zones, fuse boxes, double-confirmation for destructive surgical commands, and "five rights" of medication administration are all forgiveness patterns from these domains.

The forgiveness ladder

Roughly ordered from preferred to least preferred — preferred ones reduce the need for the others:

1. Good affordances (prevent the error)

If the design makes the wrong action impossible or hard to do by accident, the error never occurs. A USB connector that can't be inserted upside-down (USB-C). A dialog where the destructive button is small and far from the safe one. A control that's only enabled when the operation makes sense.

This is the highest level of forgiveness because it requires no user attention or recovery — the error is structurally prevented.

2. Reversibility (recover from the error)

If the user can undo, the error costs only the time to notice and reverse. Cmd-Z is the canonical example; soft-delete with a recovery window is its data-layer counterpart. Version history is its document counterpart.

Reversibility is preferred to confirmation because it doesn't punish exploration. Users who feel safe to try things learn faster and use the product more confidently.

3. Safety nets (catch catastrophic errors)

A system or feature that minimizes damage when an error does happen and isn't reversible. Crumple zones in cars. Auto-saving drafts. Trash with a recovery window. Backup systems. The pilot's ejection seat in a fighter jet.

Safety nets are insurance against the unanticipated. They cost design and engineering effort but pay off when prevention and reversibility weren't enough.

4. Confirmation (require deliberate intent for destructive actions)

The user is asked to verify before a high-stakes action commits. "Are you sure you want to delete?" "Type DELETE to confirm." "Enter your password to authorize."

Confirmation is the most-overused forgiveness mechanism and the easiest to abuse. Confirmations applied to routine reversible actions get dismissed on autopilot, training users to ignore them when they finally apply to a real destructive action.

5. Warnings (signal danger before it happens)

Visual or auditory cues that something dangerous is about to happen. A "you have unsaved changes" prompt before navigating away. A warning label on industrial equipment. A road sign for a sharp curve.

Warnings work when applied sparingly to genuinely high-consequence moments. They become wallpaper when applied to everything.

6. Help (assist recovery after the error)

Documentation, error messages with remediation steps, support chat, recovery flows. The lowest-preferred level because it kicks in after the error has already happened and disrupted the user's task.

A useful diagnostic: the amount of help required is inversely proportional to the quality of the design. If users need extensive help to use your product, the help is compensating for missing forgiveness at the higher levels.

When to apply

  • Every destructive action. Delete, archive, transfer, send, publish, overwrite — each needs at least one level of forgiveness.
  • Every irreversible change. Account deletion, ownership transfer, plan downgrade, contract acceptance.
  • Every high-stakes input. Payment forms, address submissions for shipping, password setting.
  • Every flow where users invest time. Forms, drafts, edits — saving / auto-saving as forgiveness for navigation away.
  • Anywhere users have reported loss. "I lost my data" tickets are prima facie evidence of missing forgiveness.

When NOT to over-apply

  • Routine reversible actions. Don't confirm "Save" — saving is the whole point. Don't confirm "Apply filter" — the user can change the filter again.
  • High-frequency low-stakes actions. Confirmation fatigue is real. The user who dismisses 50 routine confirmations a day will dismiss the destructive one too.
  • Operations the user has just initiated themselves. If the user clicked "Delete," they probably meant to. Confirmation is for actions where the user might have not meant to (autopilot click, accidental keystroke).

The goal isn't maximum confirmation; it's appropriate friction calibrated to the action's stakes.

Worked examples

Example 1: a soft-delete with undo (the modern default)

Most modern apps prefer reversibility over confirmation for routine destructive actions.

html
<button onclick="archive(item)">Archive</button>

<script>
async function archive(item) {
  const previous = items.slice();
  items = items.filter(i => i.id !== item.id);
  render();
  await api.archive(item.id);
  showToast(`"${item.name}" archived`, {
    action: { label: 'Undo', onClick: () => unarchive(item, previous) },
    duration: 7000,
  });
}

function unarchive(item, previous) {
  items = previous;
  render();
  api.unarchive(item.id);
}
</script>

The action is one click; if wrong, one click in the toast restores. Most users never need the undo; the few who do have a 7-second window. No confirmation dialog, no friction on the common path.

Example 2: type-to-confirm for irreversible destruction

Some actions genuinely can't be undone (or shouldn't be made undoable for security/compliance reasons). For these, raise friction deliberately.

html
<button onclick="openDeleteDialog()">Delete account</button>

<dialog id="delete-dialog">
  <h2>Delete account permanently?</h2>
  <p>This deletes your account, all your projects (12), and revokes access for your team (38 members). It cannot be undone.</p>
  <p>To confirm, type your account email below:</p>
  <input id="confirm-input" placeholder="you@example.com" />
  <div class="actions">
    <button onclick="closeDialog()">Cancel</button>
    <button id="confirm-btn" disabled class="destructive">
      Delete account permanently
    </button>
  </div>
</dialog>

<script>
const input = document.getElementById('confirm-input');
const btn = document.getElementById('confirm-btn');
input.addEventListener('input', () => {
  btn.disabled = input.value !== currentUser.email;
});
</script>

The user must (a) intend to open the dialog, (b) read the consequences laid out, (c) actively type their email, (d) click the destructive button. Each step is a chance to step back. For genuinely irreversible high-stakes actions, this stack is appropriate.

Example 3: auto-save as a safety net

A form that auto-saves drafts protects the user from navigation accidents, browser crashes, and second-guessing.

html
<form id="post-editor">
  <input name="title" placeholder="Title" />
  <textarea name="body" placeholder="Write your post..."></textarea>
  <p class="save-status" aria-live="polite">All changes saved</p>
  <button>Publish</button>
</form>

<script>
const form = document.getElementById('post-editor');
const status = form.querySelector('.save-status');

form.addEventListener('input', debounce(async () => {
  status.textContent = 'Saving...';
  await api.saveDraft(serialize(form));
  status.textContent = `Saved at ${formatTime(new Date())}`;
}, 600));
</script>

The user never thinks about saving; the system saves continuously. If they navigate away, the draft survives. If they refresh, the draft restores. The "Publish" button is the only commit; everything else is reversible.

Example 4: warning before navigation away with unsaved changes

When the user has unsaved work and tries to leave, a warning is appropriate friction.

js
window.addEventListener('beforeunload', (e) => {
  if (form.dataset.dirty === 'true') {
    e.preventDefault();
    e.returnValue = '';  // browsers show their own confirmation
  }
});

The browser's native dialog appears. The user can cancel and stay, or confirm and lose changes. If you've also implemented auto-save, this dialog appears only briefly between auto-saves — and the saved draft is still there if they leave.

Example 5: error message that aids recovery

A poorly-designed error message says "Error 503." A forgiving error message names the problem, explains what went wrong, and offers the next step.

html
<div class="error-card">
  <h3>We couldn't process your payment</h3>
  <p>
    Your card (ending in 4242) was declined. This usually means insufficient
    funds or a billing-address mismatch.
  </p>
  <p>
    <button>Try a different card</button>
    <a href="/help/declined-payments">Why was my card declined?</a>
  </p>
</div>

The error doesn't blame the user; it explains, offers an action, and provides a path to deeper help.

Cross-domain examples

Aviation: the ejection seat

The ultimate safety net. The pilot can't undo a structural failure, but they can leave the aircraft. The seat itself is a forgiveness mechanism — designed for the moment everything else has failed.

Cars: crumple zones

The front and rear of a car are deliberately weakened to absorb collision energy through controlled deformation, protecting the cabin and occupants. This is "weakest link" applied to forgiveness — the chosen failure point preserves what matters.

Medical: pill organizers and barcoded medications

Medication errors are a leading cause of preventable hospital harm. Forgiveness mechanisms include weekly pill organizers (good affordance — visible state of taken vs. untaken), barcode scanning (verification), and the "five rights" workflow (right patient, right drug, right dose, right route, right time).

Industrial: lockout-tagout

Before maintenance on hazardous equipment, workers physically lock and tag the energy source so it can't be activated until the lock is removed. A forcing function that prevents accidental energizing — a pure prevention strategy.

Word processors: undo / redo / version history

Microsoft Word and successors normalized undo as standard. Modern systems extend this to version history (Google Docs, Notion) — the user can not only undo recent changes but visit any prior state.

Email: "Undo Send"

Gmail introduced an "Undo send" feature with a default 5-second window (configurable up to 30). The send doesn't actually go out for that period; cancel reverses it. A reversibility mechanism applied to a previously-irreversible action.

Anti-patterns

  • Confirmation fatigue. Confirming routine actions ("Save?", "Apply?", "Open?") trains users to dismiss confirmations on autopilot. When a real destructive confirmation appears, they dismiss that too.
  • Modal traps without escape. A "Are you sure?" with no Cancel, no Esc, no backdrop click. The user can only proceed.
  • Cryptic error messages. "Error: ENOENT" or "Operation failed" with no explanation. The user can't recover.
  • Pre-selected destructive option. A confirmation dialog with "Delete" pre-selected so Enter triggers it. Users hit Enter on autopilot.
  • No undo for routine actions. Apps where every change is committed immediately and irreversibly. Users learn fear, not confidence.
  • Soft-delete that's not recoverable. "Archive" that quietly purges 30 days later with no recovery window or explanation.
  • Help as the only forgiveness layer. "If you have problems, contact support." The user has already lost their work.

Heuristics

  1. The "what if they didn't mean it?" test. For each destructive action, ask: how does the user recover if they didn't mean to do this? If the answer is "they can't," you need at minimum strong confirmation; ideally reversibility.
  2. The confirmation count. Count how many confirmation dialogs a typical user encounters in a typical session. > 3 → likely confirmation fatigue. Replace some with undo.
  3. The error-message audit. Every error message in your app should answer (a) what happened, (b) why, (c) what to do next. Audit a sample; fix the ones that don't.
  4. The "lose your work" test. Try every plausible way a user might lose work: navigate away, close tab, refresh, lose connection, browser crash. For each, does the system recover? If yes, forgiveness is strong.

Related principles

  • affordance — good affordances prevent errors; this is the highest level of forgiveness.
  • constraint — constraints prevent invalid actions structurally.
  • errors — slip vs. mistake distinction shapes which forgiveness mechanism applies.
  • feedback-loop — feedback after an action lets the user catch errors quickly.
  • factor-of-safety (process) — engineering version of the same idea: design with margin so normal operation isn't at the edge of failure.
  • weakest-link (process) — crumple-zone logic; deliberately failing at a chosen point.
  • accessibility-understandable (process) — error identification and recovery are accessibility requirements.

Sub-aspect skills

  • forgiveness-undo-and-soft-delete — designing reversibility: undo systems, soft delete, version history, the "Undo Send" pattern.
  • forgiveness-confirmation-and-prevention — when confirmation is appropriate, how to design it, and how to prevent confirmation fatigue.

Closing

Forgiveness is the principle that determines whether a product is loved or feared. Loved products let users explore, undo, and recover; users develop confidence and use them daily without anxiety. Feared products punish exploration; users develop anxious habits and stick to the obvious paths. Build for the loved version: prevent first, reverse second, confirm only when you must.

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Se ofrecen como archivos de lectura y nunca se ejecutan.

Preguntas frecuentes

¿Qué hace la habilidad de IA Forgiveness?

Use this skill whenever a design lets users do something they might regret — delete, send, publish, charge, transfer, archive, overwrite, irrecoverably commit. Trigger when designing destructive actions, undo systems, confirmation dialogs, soft-delete recovery, draft-saving, transaction reversal, "are you sure?" patterns, or any flow where a wrong move costs the user time, data, money, or trust. Trigger when the user mentions "users keep deleting things," "we get support tickets about lost data," "is this dangerous?", or when reviewing destructive UI. Forgiveness is one of the central princ...

¿Por qué usar Forgiveness en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Forgiveness 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 Forgiveness en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/Deibler/universal-design-principles/tree/main/plugins/interaction-and-control-principles/skills/forgiveness. TypingMind lee su archivo SKILL.md, empaqueta sus archivos y la instala como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Forgiveness?

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 Forgiveness?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Forgiveness 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 Forgiveness?

Deibler la ha publicado en GitHub. Consulta el repositorio para conocer las condiciones de la licencia. 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 todos

Crea ya tu propio espacio de trabajo IA

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