Skip to content
Kitbay
Submit

platform-apex-logs-debug

Apache-2.0Updated on Nov 6, 20261,156GitHub stars

A Salesforce skill for analysing debug logs and troubleshooting Apex problems.

What the skill teaches

A Salesforce skill for analysing debug logs and troubleshooting Apex problems. The agent retrieves logs from the org with the sf CLI, works through them in a set order, classifies how severe each issue is, and recommends the smallest change that fixes it, scoring the analysis on a 100-point scale. It covers governor limit errors, stack traces and common patterns such as SOQL or DML inside loops and null pointer errors, with bundled Apex examples of fixes. Running tests, writing new Apex and tracing Agentforce sessions are handled by other skills. It uses the sf CLI and jq.

Capabilities

  • Retrieve and analyse Salesforce debug logs
  • Diagnose governor limit errors and stack traces
  • Classify issue severity
  • Recommend minimal fixes with Apex examples