Logo di Prove It Can Fail

Prove It Can Fail

Community
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).

Panoramica

Pubblicato darandommonicle
Repositoryclaude-skills
Nome della skillprove-it-can-fail
Stelle
27
Fork
3
File inclusi
Solo istruzioni
LicenzaApache-2.0
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da randommonicle su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Prove It Can Fail in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/randommonicle/claude-skills/tree/main/prove-it-can-fail
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Prove It Can Fail in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Prove It Can Fail non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Prove It Can Fail non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello 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.

Domande frequenti

Cosa fa la skill 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).

Perché usare Prove It Can Fail su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Prove It Can Fail è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Prove It Can Fail in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/randommonicle/claude-skills/tree/main/prove-it-can-fail. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Prove It Can Fail?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Prove It Can Fail?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Prove It Can Fail: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Prove It Can Fail è gratuita?

Sì. È pubblicata su GitHub da randommonicle con licenza Apache-2.0. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇