What problem does it solve?
This Skill helps you execute Salesforce Apex unit tests, diagnose failing tests with actionable root-cause guidance, and improve code coverage through an agentic test-fix loop.
Core Features & Use Cases
- Apex test execution & coverage analysis: Run single classes or broader suites with coverage metrics, then interpret which lines/classes are under-covered.
- Failure analysis for faster debugging: Parse failures into error type, affected test method/class, stack trace context, and recommended next actions.
- Agentic test-fix loop: Iteratively propose fixes (delegating code changes to sf-apex) and rerun until tests pass or the iteration limit is reached.
- Best-practice scoring & validation: Apply a structured 120-point rubric across coverage, assertions, bulk testing, isolation, negative tests, and documentation quality.
Quick Start
Tell the agent: Run Apex tests in my org dev, show the coverage report, and fix any failing tests automatically.