mirror of
https://github.com/mattpocock/skills.git
synced 2026-07-29 02:52:42 +07:00
tdd: reshape into reference-only with pre-agreed seams
The red → green → refactor loop is anchored by leading words the model already holds, so the step-by-step Workflow mostly restated the loop and duplicated the horizontal-slicing anti-pattern. Drop the Workflow and per-cycle checklist; fold their durable idea (vertical slices / tracer bullets) into Anti-patterns and a short Rules-of-the-loop list. Introduce **seam** as the leading word for where tests go, collapsing the old Philosophy "public interfaces" prose and the Planning "confirm interface / behaviors" handshake into one rule: test only at pre-agreed seams, confirmed with the user before any test is written. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
43ea0884b0
commit
e81f97660a
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"mattpocock-skills": patch
|
||||
---
|
||||
|
||||
Reshape the `tdd` skill into reference-only. The red → green → refactor loop is anchored by leading words the model already holds, so the step-by-step Workflow was largely restating the loop and duplicating the horizontal-slicing anti-pattern. Dropped the Workflow and per-cycle checklist; folded their one durable idea — vertical slices / tracer bullets — into the Anti-patterns section and a short Rules-of-the-loop list. Introduced **seam** as the leading word for where tests go, collapsing the old Philosophy "public interfaces" prose and the Planning "confirm interface / behaviors" handshake into one rule: test only at pre-agreed seams, confirmed with the user before any test is written.
|
||||
Reference in New Issue
Block a user