running-apex-tests
Originally fromforcedotcom/sf-skills
Installation
SKILL.md
running-apex-tests: 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 running-apex-tests when the work involves:
sf apex run testworkflows- 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:
- writing or refactoring production Apex →
generating-apexskill - testing Agentforce agents →
testing-agentforceskill - testing LWC with Jest → generating-lwc-components