NachschlagenQuellenregister

Artikelerreichbar

Anthropic, Claude Code: Best practices for agentic coding (Archivfassung)

web.archive.org (externe Seite)

Anthropics erster Beitrag mit Empfehlungen für Claude Code, erschienen am 18.04.2025 im Blog Engineering at Anthropic, hier in der Archivfassung vom 20.04.2025. Er nennt testgetriebene Entwicklung einen bevorzugten Ablauf für Änderungen, die sich mit Tests leicht prüfen lassen: Tests aus Paaren von Eingabe und Ausgabe schreiben, rot laufen lassen und committen, danach Code schreiben, bis alle Tests bestehen, ohne die Tests zu ändern. Unabhängige Subagents sollen dabei prüfen, ob sich die Umsetzung an die Tests überanpasst. Die alte Adresse leitet heute auf die Seite mit den Empfehlungen in der Doku um, die den Namen testgetriebene Entwicklung nicht mehr verwendet.

geprüft 17.11.2026

Worauf sich diese Seite beruft, wörtlich, abgerufen am 12.10.2026:

  • This is an Anthropic-favorite workflow for changes that are easily verifiable with unit, integration, or end-to-end tests.bestätigt 17.11.2026
  • Test-driven development (TDD) becomes even more powerful with agentic codingbestätigt 17.11.2026
  • Tell Claude to run the tests and confirm they failbestätigt 17.11.2026
  • it can help to ask it to verify with independent subagents that the implementation isn’t overfitting to the testsbestätigt 17.11.2026
  • Claude performs best when it has a clear target to iterate againstbestätigt 17.11.2026
  • Explicitly telling it not to write any implementation code at this stage is often helpful.bestätigt 17.11.2026
  • A simple but effective approach is to have one Claude write code while another reviews or tests it.bestätigt 17.11.2026
  • have one Claude write tests, then have another Claude write code to make the tests passbestätigt 17.11.2026

24 Test und Spezifikation zuerst

Alle Quellen

↑↓ auswählenEnter öffnenDie Suche läuft im Browser. Nichts wird übertragen.