npx claudepluginhub darkroomengineering/cc-settingsThis skill uses the workspace's default tool permissions.
A test-first discipline that produces tests which describe **behavior** through public interfaces, not implementation. Such tests survive refactors. Tests coupled to internals do not — they break the moment you rename a function and pass when behavior actually breaks.
Guides test-driven development using red-green-refactor cycle with vertical slices, integration tests via public APIs, and anti-horizontal slicing. For TDD features, bugs, or test-first dev.
Guides TDD with red-green-refactor loop using vertical slicing, integration tests through public interfaces, and avoiding implementation-coupled tests for features and bug fixes.
Guides TDD workflow with red-green-refactor cycle: plan interfaces, tracer bullet tests, minimal implementation to green, refactor under tests. For explicit TDD requests only.
Share bugs, ideas, or general feedback.
A test-first discipline that produces tests which describe behavior through public interfaces, not implementation. Such tests survive refactors. Tests coupled to internals do not — they break the moment you rename a function and pass when behavior actually breaks.
Before exploring the codebase, follow ../context-doc/DOMAIN-AWARENESS.md. Test names and interface vocabulary should match the project's CONTEXT.md.
Do not write all tests first, then all implementation. That produces tests describing imagined behavior. They test the shape of things (data structures, function signatures) instead of user-facing capability. They go insensitive to real changes — they pass when behavior breaks and fail when behavior is fine.
WRONG (horizontal):
RED: test1, test2, test3, test4, test5
GREEN: impl1, impl2, impl3, impl4, impl5
RIGHT (vertical):
RED→GREEN: test1 → impl1
RED→GREEN: test2 → impl2
...
Each cycle responds to what you learned from the previous one. You can only write the right test for behavior N after implementing behavior N−1.
Before writing any code:
Ask: "What should the public interface look like? Which behaviors are most important?"
Write one test confirming one thing about the system:
RED: test for first behavior → fails
GREEN: minimal code to pass → passes
This proves the path works end-to-end. Don't move on until it passes.
For each remaining behavior:
RED: next test → fails
GREEN: minimal code to pass → passes
Rules:
After all tests pass, look for cleanup:
CONTEXT.mdNever refactor while red. Get to green first.
For these, use /build (scaffold-then-test) or /fix (existing-bug pipeline) instead.