Skip to content

Find code by asking what it does. A CLI for coding agents that uses Jev to discover relevant files and source context.

Sync skills from dzhng/skills@a7f6f2e

David Zhang403b12f1b94f
diff --git a/.agents/skills/write-tests/SKILL.md b/.agents/skills/write-tests/SKILL.md
index b295d2a..38ed5c3 100644
--- a/.agents/skills/write-tests/SKILL.md
+++ b/.agents/skills/write-tests/SKILL.md
@@ -70,6 +70,14 @@ which existing tests can go, use [audit-tests](../audit-tests/SKILL.md).
assertion hides the coupling and stops covering the path. Feed the function
fixed inputs, or stub the lookup so fixture ids resolve to fixed values.
Litmus: "would this break if a config value changed with no logic change?"
+- **A test sets the bounds it depends on.** Tuning data (unit stats,
+ ranges, prices, timings) is guaranteed to change: it is retuned all the
+ time, and a test that reads it, or hard-codes today's value, breaks on every
+ retune. So a boundary test (in range or out, seen or hidden, fits or
+ overflows) uses a fake whose numbers the test itself defines, and probes
+ either side of them. A test of anything else runs at the smallest setup that
+ shows the behaviour, far from any bound: it survives retuning and runs
+ faster.
- **Don't over-mock — every mock is a frozen assumption.** Mock at the system's
edges (network, clock, filesystem, third-party SDK, config lookup), never
internal collaborators. Stubbing an internal hard-codes its current contract;