This generates Apex test classes following Salesforce best practices: one behavior per test method, 251+ record bulk testing to cross trigger boundaries, TestDataFactory patterns for isolated test data, and proper use of Test.startTest/stopTest pairs. It enforces the modern Assert class over legacy System.assert methods and includes disciplined test-fix loops with coverage analysis. The skill recognizes *Test.cls files and test-related workflows but deliberately hands off production Apex code to platform-apex-generate. Honest take: the one-behavior-per-method rule and mandatory separation of null versus empty input scenarios will generate more granular test classes than typical hand-rolled suites, which helps debugging but increases file count.
npx -y skills add forcedotcom/sf-skills --skill platform-apex-test-generate --agent claude-codeInstalls into .claude/skills of the current project.
Select a file.
wshobson/agents
github/awesome-copilot