Logo di Mutation Testing

Mutation Testing

Community
Integralist
mutation-testing

Check whether a test suite catches behaviour changes by running mutation tests. Use when the user asks about mutation testing, surviving mutants, mutation scores, or whether tests would catch a regression.

Panoramica

AutoreIntegralist
Repositoryagent-skills
Nome della skillmutation-testing
Stelle
26
Fork
1
File inclusi
Solo istruzioni
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 Integralist su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Mutation Testing 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/Integralist/agent-skills/tree/main/.agents/skills/mutation-testing
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Nuova 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 nella cartella delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Integralist/agent-skills.git /tmp/agent-skills
mkdir -p .claude/skills
cp -r /tmp/agent-skills/.agents/skills/mutation-testing .claude/skills/mutation-testing
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Mutation Testing 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 Mutation Testing 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 Mutation Testing 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à.

Check whether tests catch deliberate behaviour changes. Aim to find real gaps in their assertions, not to chase a score. For Go, read the go-testing skill for test style, contracts, and commands. Use the mutation tool and syntax from the project's configured runner or documentation.

  1. Choose a narrow scope. Pick one package, function, or behaviour. Read its contract and tests so every mutant has a clear owner.
  2. Prove the baseline. Run the repository's documented test command for that scope. Diagnose any test error before mutating; results are meaningful only when the unmodified tests pass.
  3. Choose a mutation method. Use an existing configured runner, following its documentation. Keep its target and test command scoped; don't invent flags or trust every generated mutant. If there is no runner, ask before installing one. For a small investigation, make a few temporary, behaviour-changing edits by hand.
  4. Classify each result. Confirm the test command actually ran. A mutant is caught only when a relevant test fails because an observable contract changed. Passing tests mean it survived. Build errors, runner errors, and timeouts are inconclusive. Mark each mutant caught, survived, or inconclusive.
  5. Review survivors. Exclude a mutant only with a reason: it preserves behaviour (equivalent) or falls outside the supported contract. Rerun flaky or infrastructure-dependent mutants before deciding. Each remaining survivor is a real test gap.
  6. Close real gaps. For each reachable, behaviour-changing survivor, add or improve a test through the public contract. Prove it fails against the mutant and passes against the original. Keep distinct contract checks; never weaken tests or change production behaviour solely to raise the score.
  7. Restore and verify. Let the runner restore its changes, or revert only your temporary edits. Preserve all pre-existing working-tree changes. Inspect the diff and rerun the baseline.

Report. Give the scope and commands, then counts of caught, survived, excluded, and inconclusive mutants. Calculate the score as caught ÷ (caught + survived), state that denominator and the exclusion rule, and label it as your calculation if the runner uses another formula. Use N/A when the denominator is zero. Name meaningful survivors and the behaviour each exposed. End with the baseline result and whether every temporary mutation was restored.

Domande frequenti

Cosa fa la skill IA Mutation Testing?

Check whether a test suite catches behaviour changes by running mutation tests. Use when the user asks about mutation testing, surviving mutants, mutation scores, or whether tests would catch a regression.

Perché usare Mutation Testing su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Mutation Testing è 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 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 Mutation Testing in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/Integralist/agent-skills/tree/main/.agents/skills/mutation-testing. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Mutation Testing?

Qualsiasi modello che colleghi in 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 Mutation Testing?

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

La skill IA Mutation Testing è gratuita?

È pubblicata su GitHub da Integralist. Consulta il repository per i termini di licenza. 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, modelli 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.

Vedi tutti

Crea subito la tua area di lavoro IA

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