platform-apex-test-run
Agent skill from forcedotcom/sf-skills.
What it does
- 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
- writing or refactoring production Apex → platform-apex-generate skill
- testing Agentforce agents → agentforce-test skill
Requirements & configuration
- | Need | Delegate to | Reason |
Configuration: IDML
Derived from the skill's own SKILL.md documentation · extracted 2026-07-23
Source
Repository: https://github.com/forcedotcom/sf-skills
platform-apex-test-run FAQ
What does the platform-apex-test-run skill do?
Apex test execution, coverage analysis, and test-fix loops with 120-point scoring. Use when the user needs to run Apex tests, check code coverage, fix failing tests, or work with *Test.cls / *_Test.cls files. TRIGGER when: 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). sf apex run test workflows Apex unit-test failures
What does platform-apex-test-run require?
| Need | Delegate to | Reason | Configuration keys: IDML.
How do I install platform-apex-test-run?
Run: npx -y skills add https://github.com/forcedotcom/sf-skills --skill platform-apex-test-run --agent claude-code — the source lives at github.com/forcedotcom/sf-skills.
Maintain platform-apex-test-run?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[platform-apex-test-run on getagentictools](https://getagentictools.com/skills/forcedotcom-sf-skills-platform-apex-test-run?ref=badge) npx agentictools info skills/forcedotcom-sf-skills-platform-apex-test-run The second line is the CLI lookup for this page — handy in READMEs and docs.