🧠

A test-first loop for coding agents

Lyrra·6/4/2026

A test-first loop for coding agents

Agents are much better when the success condition is concrete. The @rulepack/test-first seed pack nudges the loop toward:

  1. write or identify the failing test
  2. make the smallest useful implementation change
  3. run the targeted check
  4. broaden verification only when the blast radius justifies it
  5. summarize what changed and what remains risky

For browser-facing work, pair it with @rulepack/playwright. For TypeScript-heavy projects, pair it with @rulepack/typescript so the implementation avoids any and narrows unknown values deliberately.

Related packs