Skip to content

skills(tdd): slim the skill to its behavior-shaping core - #124

Merged
SSFSKIM merged 1 commit into
mainfrom
tdd-slim
Sep 7, 2026
Merged

SSFSKIM merged 1 commit into
mainfrom
tdd-slim

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Sep 7, 2026

Copy link
Copy Markdown
Owner

Cuts the TDD skill from 76 to 38 lines, keeping only the lines that change behavior: watch the failure, minimal code then refactor on green, discard implementation written before its test, bug fixes start with a reproducing test, and the writing-good-tests reference. Removed: RED/GREEN/REFACTOR narration, the why-test-first essay, the when-stuck table.

Micro-eval, 5 reps per arm, one feature task under time pressure, with an instrumented test runner that logs whether the implementation existed at each run:

Arm Red-first
sonnet, skill listed but not loaded 0/5
sonnet + current skill 5/5
sonnet + this version 5/5
opus, plugin fully disabled 4/5
opus, plugin disabled + this version 5/5
opus / GPT Sol, plugin listed 5/5 each, self-loaded the skill in 9 of 10 runs

Not run: the full pressure-scenario suite. This shows the slim version is not worse on the core failure, not that it is better.

Cut the cycle narration, the why-test-first essay, and the when-stuck table:
material a capable reader derives itself. Kept what changes behavior — watch
the failure, minimal code then refactor, discard test-after implementation,
bug fix starts with a reproducing test, and the writing-good-tests reference.

Micro-eval (5 reps/arm, one feature task under time pressure, instrumented
runner): sonnet without the skill 0/5 red-first; sonnet with current skill
5/5; sonnet with this version 5/5; opus with plugin disabled 4/5; opus with
plugin disabled plus this version 5/5. Bump to 7.72.8.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant