Test-file craft: red-green vertical slices, seams not internals, tautological tests banned, how to assert and mock. Use when writing or changing a test file, adding a helper that needs coverage, or deciding whether new code needs a test. Do not use to pick unit vs integration vs e2e (test-strategy), or for production-only edits with no test impact.