Individual skill
platform-apex-test-run
Apex test execution, coverage analysis, and test-fix loops with 120-point scoring. Use when the user runs Apex tests, checks code coverage, fixes failing tests, or touches *Test.cls / *_Test.cls files. DO NOT TRIGGER when writing Apex production code (use platform-apex-generate), Agentforce agent testing (use agentforce-test), or Jest/LWC tests (use experience-lwc-generate).
skills/platform-apex-test-run/SKILL.md
Source commit a8a18ce1e4ba12e69b4073eab98ce31bfbd8271e
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 4, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 1,151
- Repository last updated
- Nov 6, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
README.mddoc · 3,047 bytesSKILL.mdcore · 7,521 bytesassets/basic-test.clsasset · 12,989 bytesassets/bulk-test.clsasset · 11,548 bytesassets/dml-mock.clsasset · 12,933 bytesassets/mock-callout-test.clsasset · 13,959 bytesassets/stub-provider-example.clsasset · 12,512 bytesassets/test-data-factory.clsasset · 14,644 bytesreferences/cli-commands.mddoc · 5,830 bytesreferences/mocking-patterns.mddoc · 13,559 bytesreferences/performance-optimization.mddoc · 7,672 bytesreferences/test-fix-loop.mddoc · 2,012 bytesreferences/test-patterns.mddoc · 4,274 bytesreferences/testing-best-practices.mddoc · 15,943 bytesscripts/parse-test-results.pyruns · 13,060 bytes
Read excerpt
# platform-apex-test-run: Salesforce Test Execution & Coverage Analysis
Use this skill when the user needs **Apex test execution and failure analysis**: running tests, checking coverage, interpreting failures, improving coverage, and managing a disciplined test-fix loop for Salesforce code.
## When This Skill Owns the Task
Use `platform-apex-test-run` when the work involves:
- `sf apex run test` workflows
- Apex unit-test failures
- code coverage analysis
- identifying uncovered lines and missing test scenarios
- structured test-fix loops for Apex code
Delegate elsewhere when the user is: