woostack-tdd
woostack-tdd
Two roles in one skill. (1) The canonical TDD doctrine home — the kernel below is stated
once here and linked, never restated, by woostack-plan,
woostack-execute, woostack-debug,
and bootstrap patterns.md §7, honoring the repo's
"cross-link, do not duplicate" rule. (2) The 14th public command — /woostack-tdd <target>
adds the appropriate tests to an existing block of code, a PR, a spec, or a plan. It writes tests
to the working tree and hands to woostack-commit; it never commits,
merges, or touches a spec's status:/branch:, and owns no approval gate.
The TDD kernel
The canonical test-driven-development discipline for all of woostack. Other skills link this section; they do not restate it.
Red → Green → Refactor. For code woostack is authoring, the test comes first: