KeiSeiKit-1.0/_assembler/tests/fixtures/_blocks/rule-test-first.md
Parfii-bot 0be354a920 KeiSeiKit-public — clean state
Single-commit clean baseline after security scrub of niche-tells,
project codenames, internal jargon, and contributor-email leaks.

Contents:
- 100 Rust crates (_primitives/_rust/)
- 37 agent manifests (_manifests/) + generated specs (_generated/)
- 67 user-invocable skills (skills/)
- 33 hooks (hooks/)
- Composition blocks (_blocks/)
- Documentation (docs/, README.md)
- TS adapter packages (_ts_packages/)
- Assembler (_assembler/)
- Roles (_roles/)
- Templates (_templates/)
- Forgejo CI (.forgejo/)

Author: Denis Parfionovich <info@greendragon.info>

License: see LICENSE.
2026-05-01 12:09:03 +08:00

12 lines
578 B
Markdown

# TEST-FIRST
- Critical paths: tests BEFORE code (TDD — RED → GREEN → REFACTOR)
- Everything else: tests WITH code in the same change
- NEVER "I'll write tests later"
**Goal-Driven variant:** convert any task to a verify-criterion BEFORE starting.
- "Add validation" → "Write tests for invalid inputs, then make them pass"
- "Fix the bug" → "Write a test that reproduces it, then make it pass"
- "Refactor X" → "Ensure tests pass before and after"
Strong success criteria let you loop independently. Weak criteria ("make it work") require constant clarification.