This walks you through writing Apex test classes the right way: one behavior per test method, bulkified with 251+ records to cross trigger batch boundaries, strict TestDataFactory patterns for all setup data, and proper assertion discipline using the Assert class with exact expected values. It enforces test-fix loops with coverage analysis and knows when to hand production code issues off to the generating-apex skill. The guidance is opinionated in the best way, like banning inline test data and range assertions when values are deterministic. Useful when you're either building new test classes from scratch or debugging coverage gaps and flaky tests that need systematic cleanup.
npx skills add https://github.com/forcedotcom/afv-library --skill generating-apex-test