Logotipo de Postmortem

Postmortem

Organización
TSS-Blue-AI-Lab
postmortem

Draft and, after approval, capture an observed reusable lesson in a skill's gotchas.md, proposing the file when it is missing. Use after a verified bug, architecture error, process failure, or misunderstanding when the lesson can be generalized without exposing project or user information.

Descripción general

EditorTSS-Blue-AI-Lab
Repositorioai-lab-agent-skills
Nombre de la habilidadpostmortem
Estrellas
26
Forks
3
Archivos incluidos
Solo instrucciones
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.

  • 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 TSS-Blue-AI-Lab en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Postmortem 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/TSS-Blue-AI-Lab/ai-lab-agent-skills/tree/main/skills/postmortem
  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/TSS-Blue-AI-Lab/ai-lab-agent-skills.git /tmp/ai-lab-agent-skills
mkdir -p .claude/skills
cp -r /tmp/ai-lab-agent-skills/skills/postmortem .claude/skills/postmortem
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Postmortem 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 Postmortem 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 Postmortem 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á.

Post-Mortem Protocol

Turn verified failures into durable, reusable guidance. A gotcha records something that actually went wrong and explains how to avoid repeating it; it is not a place for hypothetical risks, ordinary requirements, or untested preferences.

Constraints

  • Record only observed, evidence-supported failures with a verified cause or prevention.
  • If no suitable gotchas.md exists, propose creating it with the exact path and initial content, then wait for explicit approval. Never create it automatically.
  • Show the exact target and proposed text, then wait for approval before editing.
  • Distinguish repository-local files from shared or globally installed skills. Never edit a shared or global skill without explicit approval for that scope.
  • Remove secrets, personal information, private infrastructure details, and proprietary context.
  • Preserve the target file's structure and conventions.
  • Paraphrase user corrections; do not preserve exact user wording.
  • Keep the conditions that made the lesson true. Do not turn a contextual lesson into an absolute rule.

1. Qualify the lesson

Confirm all of the following:

  1. A failure, incorrect result, or user correction was actually observed.
  2. The cause or prevention is supported by evidence such as a test, log, diff, reproduced behavior, or clarified requirement.
  3. The lesson is likely to recur when the skill is used again.
  4. The lesson belongs in operational failure guidance.

Do not create a gotcha for:

  • a normal requirement, design decision, or supported mode that should be expressed naturally in the skill's workflow;
  • a hypothetical concern that has not occurred;
  • a one-off project fact that belongs in project documentation; or
  • a guessed root cause that has not been verified.

Classify the failure only when useful to the target file. Common categories include BUG, ARCHITECTURE, PROCESS, MISUNDERSTANDING, and PRIVACY.

2. Locate the target

Use the active skill and conversation context to identify the likely target, then find its gotchas.md or determine where that file would belong.

  • If more than one existing file is plausible, ask the user which one should receive the lesson.
  • If no suitable gotchas.md exists, identify the expected path and continue with a Create proposal. Do not create the file before approval.
  • Identify whether the file is repository-local or part of a shared or globally installed skill.

3. Establish the evidence

Summarize three elements before drafting:

  • What happened: the observable failure or incorrect outcome.
  • Why it happened: the verified cause, including relevant conditions.
  • What prevents it: the smallest actionable change that would have avoided or detected it.

If the evidence supports the symptom but not the cause, record neither as a gotcha until the cause or a reliable detection rule is established.

4. Sanitize the lesson

Generalize the lesson without destroying the conditions that make it useful. Remove or replace:

  • project, organization, person, customer, and product names;
  • private file paths, hosts, URLs, repository names, ticket numbers, identifiers, and branch names;
  • proprietary code, schemas, data, business rules, and internal terminology;
  • credentials, tokens, cookies, keys, and secret values; name only the category of secret when relevant; and
  • exact user wording or conversation excerpts.

Use neutral placeholders only when the distinction matters. Re-read the draft specifically for information that could identify the source project or user.

5. Compare with existing guidance

If the target exists, read the complete file. Choose one action:

  • Create: no target file exists; propose a minimal new file containing the verified lesson.
  • Skip: an equivalent lesson already exists.
  • Refine: an existing entry is correct but missing an important condition, cause, or prevention.
  • Append: the lesson is distinct and belongs in the file.
  • Resolve: the lesson conflicts with existing guidance. Present the conflict and evidence instead of assuming the newer statement is correct.

For an existing target, place the lesson in its existing section and follow its established format. Do not reorganize unrelated content during this workflow.

6. Draft for approval

When the target file has no established entry format, use:

markdown
- **What goes wrong:** <observable failure and relevant conditions>
  **Why:** <verified cause>
  **Fix:** <specific prevention or detection rule>

For a new file, propose the complete initial content. Follow neighboring skills' gotchas conventions when they are applicable; otherwise use a minimal # Gotchas heading, a relevant topic heading when useful, and the entry above. Do not add empty speculative sections.

Add a category or timestamp only if the target file already uses one. Keep the entry concise, but include enough context for another agent to apply it correctly.

Before editing, show:

  • the exact file path;
  • whether its scope is repository-local or shared/global;
  • the proposed entry text;
  • the intended action: create, skip, refine, append, or resolve; and
  • any sanitization choices that materially changed the wording.

Wait for explicit approval. Approval to record a repository-local lesson does not imply approval to modify a shared or globally installed skill.

7. Write and verify

After approval:

  1. Create or edit only the approved path and content.
  2. Review the diff for unrelated changes.
  3. Re-read the final entry for sensitive or identifying information.
  4. Confirm that the entry matches the approved meaning and the file's format.

Report the path, action taken, and a one-line summary. If the action was skip, report the matching existing guidance instead of changing the file.

Preguntas frecuentes

¿Qué hace la habilidad de IA Postmortem?

Draft and, after approval, capture an observed reusable lesson in a skill's gotchas.md, proposing the file when it is missing. Use after a verified bug, architecture error, process failure, or misunderstanding when the lesson can be generalized without exposing project or user information.

¿Por qué usar Postmortem en TypingMind?

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

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/TSS-Blue-AI-Lab/ai-lab-agent-skills/tree/main/skills/postmortem. TypingMind lee su archivo SKILL.md y la instala como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Postmortem?

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

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

TSS-Blue-AI-Lab 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 👇