What problem does it solve? Salesforce debug logs are dense and hard to interpret, making it difficult to pinpoint why a transaction failed, which governor limit was hit, or where a performance bottleneck lives. This Skill turns raw log output into a structured root-cause diagnosis with severity classification and concrete fix recommendations. ## Core Features & Use Cases - Debug Log Analysis: Retrieves logs via the sf CLI and parses SOQL, DML, CPU, and heap usage patterns to detect issues like SOQL-in-loop and non-selective queries. - Governor Limit & Exception Diagnosis: Interprets LIMIT_USAGE events, stack traces, and FATAL_ERROR entries to identify root causes and classify severity as Critical, Warning, or Info. - Performance Benchmarking Guidance: Provides proven Apex benchmarking techniques and optimization patterns (e.g., String.join vs concatenation, Set vs List lookups) backed by community-tested data. - Use Case: A trigger intermittently fails in production. You ask the agent to analyze the latest debug log, and it identifies a SOQL query inside a loop hitting the 100-query limit, then recommends a Map-based bulkification fix and a verification rerun. ## Quick Start Ask the agent to analyze the latest debug log from your Salesforce org for governor limit issues and suggest fixes.