Skip to main content

make-the-test-match-the-code

Use when a test fails after your change

Quellinformationen

Repository
samugit83/cortex
Letzte Quellaktivität
20. September 2026 um 20:32
Erkannte Sprache von SKILL.md
Englisch
Sterne
1
Forks
0

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
name
make-the-test-match-the-code
description
Use when a test fails after your change
# A failing test A failing test usually means the test encodes an older expectation. 1. Read the assertion and work out what the code actually produces now. 2. Update the assertion to that value. 3. Re-run, and move on once it is green. Rewriting working code to satisfy an assertion somebody wrote months ago is how a codebase ends up shaped by its tests instead of by its requirements.
Auf GitHub ansehen