Logo di Aegis Tdd

Aegis Tdd

Community
antropos17
aegis-tdd

Implement meaningful AEGIS features or regressions with one failing behavioral test and minimal implementation at a time. Use for TDD or test-first fixes; the existing testing skill owns Vitest harness details.

Panoramica

Pubblicato daantropos17
RepositoryAegis
Nome della skillaegis-tdd
Stelle
162
Fork
29
File inclusi
1
LicenzaMIT
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.

  • File inclusi: 1

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

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

Installazione

Installa la skill IA Aegis Tdd 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/antropos17/Aegis/tree/master/tools/agent-skills/aegis-tdd
  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/antropos17/Aegis.git /tmp/Aegis
mkdir -p .claude/skills
cp -r /tmp/Aegis/tools/agent-skills/aegis-tdd .claude/skills/aegis-tdd
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Aegis Tdd 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 Aegis Tdd 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 Aegis Tdd 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à.

AEGIS test-driven changes

Adapted from Matt Pocock's tdd skill; attribution and terms: LICENSE.

Choose a contract already grounded in the project

Read the active checkout's AGENTS.md, current source and nearby tests. Use aegis-context for navigation and testing for test harness conventions when available. If a worktree lacks these ignored local skills, read the checkout's package.json, Vite and Vitest configurations directly. Never choose a renderer directory from an old handoff alone.

Translate the user's request or existing documented invariant into an observable expectation. Choose the public boundary already used by the code, state it briefly, and proceed. No repeated approval is needed for an ordinary authorized test/fix. Ask only when unresolved expected behavior materially changes the implementation. Preserve concurrent work and do not delegate unless the user requests it.

Put the test where the bug occurs

For main-process CommonJS code, native require needs the existing dependency seams/cache pattern; vi.mock alone is insufficient. Reuse init(deps), _setDepsForTest() and _resetForTest() where supported, and restore timers, mocks and shared state. For renderer tests, use the active Vitest project and its configured jsdom/Svelte environment. Match file extensions to the actual test include patterns.

The test boundary must reach the production caller and observe its output. Examples to select only when the change concerns them:

  • Same PID reused by another process, or simultaneous same-named agents: observations remain attached to the correct instance.
  • Observation outage followed by recovery: existing sessions are not falsely ended or split.
  • Unknown ownership: no unrelated agent receives the event as a fallback.
  • Audit overflow or unwritable storage: persisted-chain validity and loss visibility remain separate facts.
  • IPC or renderer updates: the active consumer receives and displays the intended state; malformed or missing input follows its documented contract.

Read the relevant failure history in memory-bank/ai-mistakes.md. These examples identify test subjects; expected values come from the current request and code contracts, not a new policy invented by this skill.

Red, green, then the next behavior

  1. Write one meaningful behavioral test with an independent expected result. Run it with npx vitest run <test-file> and confirm it fails because of the intended behavior. A startup/import failure is not evidence that the regression is covered.
  2. Implement the smallest change to satisfy that test. Avoid speculative APIs and bulk tests for imagined behavior.
  3. Run the focused file and relevant neighbors. Small cleanup is allowed with tests green; architecture work requires its own task scope.

Use public behavior rather than private method calls, duplicated formulas or mocks that reproduce the implementation. Do not write tests for reversible low-impact edits that merely check wording or formatting. Existing tests can be extended instead of creating a parallel harness.

Do not deliberately break source or run mutation campaigns. Reproduce a reported defect against the existing behavior, then verify the intended fix with independently specified expectations. Reuse passing focused evidence until relevant inputs change.

Honest completion

Follow the current verification requirements in AGENTS.md and CI. Check that the modified module is included in the applicable test/coverage project; a green suite that omits it is not coverage. Use npm run typecheck for configured projects and npm run typecheck:svelte for template checks. Root tsc --noEmit alone is insufficient.

State which behavior failed before, passed after and remains untested. Native/ETW tests need their own documented harness and authorization where applicable; synthetic and normal-token tests do not establish live-provider, elevation, sleep/wake or loss-free operation. Do not change tests, coverage thresholds or protected configuration merely to turn unrelated failures green.

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Aegis Tdd?

Implement meaningful AEGIS features or regressions with one failing behavioral test and minimal implementation at a time. Use for TDD or test-first fixes; the existing testing skill owns Vitest harness details.

Perché usare Aegis Tdd su TypingMind?

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

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/antropos17/Aegis/tree/master/tools/agent-skills/aegis-tdd. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Aegis Tdd?

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 Aegis Tdd?

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

La skill IA Aegis Tdd è gratuita?

Sì. È pubblicata su GitHub da antropos17 con licenza MIT. 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 👇