platform-apex-logs-debug

Analyze Salesforce Apex debug logs to diagnose failures and governor-limit breaches.

Updated Jun 17, 2026
One-click install
npx skills add https://github.com/angryracoon/ARIEF-VISEO-DEV-ORG --skill platform-apex-logs-debug
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: platform-apex-logs-debug
Source: https://github.com/angryracoon/ARIEF-VISEO-DEV-ORG/tree/main/.agents/skills/platform-apex-logs-debug
Command: npx skills add https://github.com/angryracoon/ARIEF-VISEO-DEV-ORG --skill platform-apex-logs-debug

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It removes the guesswork from Salesforce Apex troubleshooting by turning debug logs into clear root-cause findings, severity ratings, and actionable fix guidance.

Core Features & Use Cases

  • Debug Log Analysis: Identify failures, exceptions, and transaction flow issues from Salesforce Apex logs.
  • Governor Limit Detection: Spot SOQL, DML, CPU, and heap pressure before or at the point of failure.
  • Performance Troubleshooting: Detect slow queries, repeated operations, and bottlenecks that hurt runtime behavior.
  • Use Case: A developer shares a failing trigger log, and this skill pinpoints the offending method, explains why it failed, and recommends the smallest safe fix.

Quick Start

Use the platform-apex-logs-debug skill to analyze the attached Salesforce debug log, identify the root cause, score the severity, and recommend the smallest correct fix.

Frequently Asked Questions about platform-apex-logs-debug

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find the root cause of a Salesforce Apex debug log failure?

Apex debug log analysis pinpoints the offending method, explains why the failure occurred, and recommends the smallest safe fix. It parses log events and scores severity to turn raw transaction data into clear root-cause findings.

What is the best way to detect governor limit breaches in Salesforce Apex logs?

Governor limit detection analyzes SOQL, DML, CPU, and heap pressure within Salesforce debug logs. By inspecting limit usage and parsing log events, it identifies exactly where limit pressure occurs before or at the point of failure.

How does Apex debug log analysis identify performance bottlenecks and slow queries?

Performance troubleshooting in Apex logs detects slow queries, repeated operations, and runtime bottlenecks by parsing stack traces. It applies severity scoring to highlight the most critical hotspots across synchronous and asynchronous transactions.

Can I use Apex log troubleshooting for asynchronous transactions and triggers?

Yes, Apex log troubleshooting applies to both synchronous and asynchronous transactions. Whether analyzing a failing trigger or a batch process, it parses log events to diagnose failures, exceptions, and transaction flow issues.

Why does my Apex log analysis not pinpoint the exact failing method?

Incomplete log event parsing can obscure the exact failing method. Effective Apex debug log analysis requires parsing stack traces and inspecting limit usage to accurately score severity and identify the offending method.

Do I need to understand stack traces to troubleshoot Salesforce Apex logs?

No, Apex debug log analysis removes the guesswork by parsing stack traces for you. It translates complex transaction flow data into clear root-cause findings, severity ratings, and actionable fix guidance.