Logotipo de Prove It Can Fail

Prove It Can Fail

Comunidad
randommonicle
prove-it-can-fail

Every test, seed, verification script, CI gate, or check must demonstrably be able to fail when the thing it guards is broken. Ask of each check "what does this print if the thing is broken?" Triggers when writing or reviewing any test, smoke, seed, verification file, or CI job, when marking a test skipped, and when arming a new gate. Does not fire on triaging an already-red suite (mass-red-triage) or on how tests touch shared data (safe-smokes).

Descripción general

Editorrandommonicle
Repositorioclaude-skills
Nombre de la habilidadprove-it-can-fail
Estrellas
27
Forks
3
Archivos incluidos
Solo instrucciones
LicenciaApache-2.0
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 randommonicle en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Prove It Can Fail 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/randommonicle/claude-skills/tree/main/prove-it-can-fail
  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/randommonicle/claude-skills.git /tmp/claude-skills
mkdir -p .claude/skills
cp -r /tmp/claude-skills/prove-it-can-fail .claude/skills/prove-it-can-fail
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Prove It Can Fail 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 Prove It Can Fail 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 Prove It Can Fail 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á.

Prove it can fail

A green board proves nothing unless every light on it can go red. This skill exists because nine-plus separate incidents produced green signals with no assertion behind them — including a statutory control that had never been asserted on any run, ever, and verification files that printed pass on any error. Layer: hub for test-and-check integrity (this is one of the six always-on norms; the norm line is the everyday trigger, this file is the playbook).

The question that does the work

For every check you write or review, ask: what does this output if the thing it guards is broken? If the honest answer is "still green", "a skip", or "nothing", the check is theatre. Answer it by demonstration where cheap: break the guarded thing once, watch the check go red, revert.

Rules

  1. A server reply is never a skip. Skips are for transport failures only — could not connect, no credentials. A catch-all catch { skip } hid both a never-passable gate test and a would-be-green total outage. A skipped regulated check is unverified, not green; say so in the run summary.
  2. Seeds get assertions. Fire-and-forget seeding let an RLS isolation test pass for the wrong reason (nothing was seeded, so nothing leaked). Assert the seed landed before asserting the behaviour.
  3. Negative assertions need a positive control. "User B sees nothing" is only meaningful next to "User A sees the row". Without the positive control, an empty database passes.
  4. Only the specific expected error proves a control fired. "It threw" is not "the gate caught it" — assert the error identity (a stable code, not the human-readable message).
  5. A check whose two operands share a source is theatre. A "reconciliation check" that compared a value against its own definition could never fail. Trace both operands to independent sources.
  6. Watch a newly-armed gate's first run to completion — a nightly-gated spec once merged having never executed. And after fixing a pipeline's first red step, watch the whole run go green: a second failure can be queued invisibly behind the first.
  7. Test every mutation shape the app performs against a guard — set, swap, and null are three different attacks; a guard proven against one is unproven against the others.
  8. Assert on the subject, not a document-wide pattern. A broad "no X anywhere in the output" assertion is a hidden dependency on everything else and breaks on innocent code.
  9. A passing test can encode the bug. When fixing a bug, check whether a green test pins the wrong behaviour — two tests once codified drop-this-content as correct.
  10. Assert that the subject actually ran. When a test drives an external script, binary or process, a bail before any work makes every negative assertion trivially true. A launcher suite once exited at a pre-flight path check and reported nine failures beside four VACUOUS PASSES — "does not start a turn" and "the stranger is left alone" are both true of a process that did nothing — so the green ones read as proof that the guards worked. Guard the premise: assert the subject reached the behaviour under test, and treat a bail as a harness fault reported once, not as N results. Related to rule 2, but the failure is one step earlier: there the fixture was missing, here the subject never started.

Mechanics note: a CI check that reads a snapshotted event payload (e.g. a PR body) cannot be re-run into a pass after the source is edited — close/reopen refreshes the payload.

Routes

  • Test, smoke, or seed touches a shared or live database → load safe-smokes before writing it.
  • A suite has gone broadly red and you are tempted to debug → load mass-red-triage first.
  • You are arming a deny-list, pattern gate, scanner or filter → load prove-it-can-pass as well. This skill proves the gate can refuse a violation; that one proves it lets real innocent input through and catches the violating forms nobody pictured. Six instances here were gates with green, hand-written suites.

What this skill does not do

It does not triage failures (mass-red-triage) and does not govern shared-data hygiene (safe-smokes). It governs whether a check is capable of telling you the truth.

Why

Green signals with no assertion behind them are worse than no check: they convert "unknown" into "verified" in every reader's head. Evidence: PropOS LESSONS_LEARNED 2026-07-14 (two entries), 2026-07-19 (two entries), 2026-07-15, Sessions 16, 18, 30, 33; ASH LESSONS_LEARNED 2026-06-09 and 2026-06-04.

Additions from the misses-log sweep (2026-10-22)

  • A reference frozen when written alarms on history. A monitor judges "new" by each item's own timestamp in a rolling window, never against a count captured when it was written. (AI domain L-092.)
  • A gate never compares against evidence a later step produces. Check, for each artefact a gate reads, that the run order creates it first. (passive income L-059.)
  • Restore a mutation by reverse edit or a copy, never by checkout. git checkout -- <file> after a red-proof also discards uncommitted work in that file and may rewrite its line endings. (AI domain L-145.)

Additions from the misses-log sweep (2026-11-01)

  • A rule is a list of patterns, and a can-fail proof on one alternative says nothing about the others. Every alternative of a pattern, every branch of an |, every member of a keyword list gets its own must-flag case, and a structural test asserts that each listed alternative has one. Breaking a single alternative and seeing one case red is the proof that was given and was wrong. (Library 44; enumerate-the-set is the general form.)
  • The mutation-restore rule covers any tree-wide checkout or reset, not one file. Rule at line 79 above names git checkout -- <file>; the same loss happens through git checkout -- ., git restore, git reset --hard, git stash and a branch switch, and it reaches work that has nothing to do with the mutation. (Library 44; Rimagent 2026-10-29, which recurred a week after line 79 landed.)
  • Commit the builder's work before mutation testing. The proof deliberately breaks something and then restores it, so run it from a committed tree. Uncommitted work has no reflog entry and no fsck --unreachable record once a hard reset has taken it.

Preguntas frecuentes

¿Qué hace la habilidad de IA Prove It Can Fail?

Every test, seed, verification script, CI gate, or check must demonstrably be able to fail when the thing it guards is broken. Ask of each check "what does this print if the thing is broken?" Triggers when writing or reviewing any test, smoke, seed, verification file, or CI job, when marking a test skipped, and when arming a new gate. Does not fire on triaging an already-red suite (mass-red-triage) or on how tests touch shared data (safe-smokes).

¿Por qué usar Prove It Can Fail en TypingMind?

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

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/randommonicle/claude-skills/tree/main/prove-it-can-fail. 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 Prove It Can Fail?

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 Prove It Can Fail?

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

Sí. randommonicle la ha publicado en GitHub bajo la licencia Apache-2.0. 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 👇