tdd-red-green-refactor
A test-driven development skill kept in Google Labs' design.md repository and written for TypeScript and Node.js.
Was der Skill vermittelt
A test-driven development skill kept in Google Labs' design.md repository and written for TypeScript and Node.js. The agent writes one test, for example in Vitest or Jest, runs it and checks that it fails because the logic is missing rather than because of a setup error, writes the simplest code that passes, then refactors while rerunning the suite and undoing any change that turns it red. It forbids writing a batch of tests at once and editing an existing test to make failing code pass unless the requirement changed, and uses strict typing as a check against guessed solutions. A worked Vitest example is included.
Funktionen
- Write one failing test at a time
- Check that failures come from missing logic, not setup
- Refactor while keeping the suite green
- Forbid weakening tests to pass failing code
Überblick
- Herausgeber
- Google Labs
- Tool
- Testing
Installation
Das Projekt dokumentiert keine Installationsschritte, die wir bestätigen konnten. Zur Anleitung des Projekts
MCP-Server und Skills können Code auf deinem Rechner ausführen und auf deine Daten zugreifen. Prüfe den Quellcode, bevor du etwas installierst.
Details
| Angabe | Wert | Quelle |
|---|---|---|
| Typ | Skill | |
| Tool | Testing | |
| Herausgeber | Google Labs | Quelle |
| Offizieller Status | In der Dokumentation nicht angegeben | |
| Braucht API-Key oder Anmeldung | In der Dokumentation nicht angegeben | |
| Enthält Skripte | Nein | Quelle |
| Plattformen | In der Dokumentation nicht angegeben | |
| KI-Clients | In der Dokumentation nicht angegeben | |
| Lizenz | Apache-2.0 | Quelle |
| Preis | In der Dokumentation nicht angegeben | |
| Aktivität | Letzter Commit am 6. Nov. 202628.818 GitHub-SterneKeine Download-Daten verfügbar (nicht auf npm oder PyPI) | Quelle |
| Links | Repository Website |
Auch zu finden unter: Testing
Quellen
- Skill-Datei (SKILL.md)github.com/google-labs-code/design.md10. Nov. 2026
- Lizenzdatei (LICENSE)github.com/google-labs-code/design.md · Belegt: Lizenz12. Nov. 2026
- GitHub-Repositorygithub.com/google-labs-code/design.md · Belegt: Herausgeber, Aktivität, Lizenz11. Nov. 2026
- Ordner im Repository (tdd)github.com/google-labs-code/design.md · Belegt: Enthält Skripte10. Nov. 2026