
Sf Testing
This is your tool for running Apex tests, diagnosing failures, and improving coverage in Salesforce. It handles the full test-fix loop: executing tests via SF CLI, parsing results, identifying uncovered lines, and recommending next steps. Works across single classes, suites, or org-wide runs. The 120-point scoring system helps you assess test quality beyond just pass/fail. It knows when to stay narrow during debugging and when to widen for regression testing. Delegates production code fixes to sf-apex and LWC testing to sf-lwc, staying focused on the Apex test execution layer. Strong on coverage analysis and structured fix loops, less useful if you just need to write tests from scratch.
- skills.sh installs
- 1.4K
- GitHub stars
- 422
- last updated
- Jul 14, 2026
Install
$ npx -y skills add jaganpro/sf-skills --skill sf-testing --agent claude-codeInstalls into .claude/skills of the current project.
Files
sf-testing: 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 sf-testing 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 → sf-apex
- testing Agentforce agents → sf-ai-agentforce-testing
- testing LWC with Jest → sf-lwc
Required Context to Gather First
Ask for or infer:
- target org alias
- desired test scope: single class, specific methods, suite, or local tests
- coverage threshold expectation
- whether the user wants diagnosis only or a test-fix loop
- whether related test data factories already exist
Recommended Workflow
Sponsors
Details
- Repository
- github.com/jaganpro/sf-skills
- Category
- Testing & QA
- First seen
- Apr 16, 2026
More from jaganpro/sf-skills
All 37- Sf Data1.4K
- Sf Integration1.4K
- Sf Diagram Mermaid1.4K
- Sf Connected Apps1.4K
- Sf Ai Agentscript1.4K
- Sf Diagram Nanobananapro1.3K
- Sf Ai Agentforce1.3K
- Sf Ai Agentforce Testing1.3K
- Sf Ai Agentforce Observability1.3K
- Sf Docs1.2K
- Sf Ai Agentforce Persona1.2K
- Sf Datacloud1K
- Sf Industry Commoncore Omniscript993
- Sf Industry Commoncore Datamapper990
- Sf Industry Commoncore Omnistudio Analyze989
- Sf Industry Commoncore Flexcard987
- Sf Datacloud Retrieve985
- Sf Datacloud Connect983
- Sf Industry Commoncore Integration Procedure983
- Sf Datacloud Prepare982
- Sf Datacloud Segment979
- Sf Datacloud Harmonize976
- Sf Datacloud Act975
- Sf Industry Commoncore Callable Apex954