This generates complete Apex test classes with proper structure and runs test-fix loops until coverage targets are met. It enforces TestDataFactory patterns, bulkifies to 251+ records to cross governor boundaries, and uses modern Assert syntax with meaningful failure messages. The workflow is systematic: gather context, generate both .cls and .cls-meta.xml files, run tests narrow to wide, analyze failures, fix in max 3 iterations. Most useful when you need to hit 75% deploy coverage or debug failing tests without manual back-and-forth. The skill won't touch production Apex code or LWC tests, just test class generation and the disciplined loop to get them green.
npx skills add https://github.com/forcedotcom/sf-skills --skill generating-apex-test