
Debugging Apex Logs
This is a structured approach to reading Salesforce debug logs when you hit governor limits, stack traces, or performance issues. It walks you through retrieving logs with the CLI, analyzing them in a specific order (exceptions first, then limits, then SOQL/DML patterns), and classifying severity before recommending a fix. The output format is rigid but practical: what failed, where, why, severity, fix, and how to verify. It explicitly delegates code generation to other skills and stays focused on diagnosis. The reference files include common patterns like SOQL-in-loop and before/after fix examples. Useful if you want a checklist instead of guessing why your transaction blew up at 9,000ms CPU.
- skills.sh installs
- 3K
- GitHub stars
- 1.2K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add forcedotcom/sf-skills --skill debugging-apex-logs --agent claude-codeInstalls into .claude/skills of the current project.
Files
This is a structured approach to reading Salesforce debug logs when you hit governor limits, stack traces, or performance issues. It walks you through retrieving logs with the CLI, analyzing them in a specific order (exceptions first, then limits, then SOQL/DML patterns), and classifying severity before recommending a fix. The output format is rigid but practical: what failed, where, why, severity, fix, and how to verify. It explicitly delegates code generation to other skills and stays focused on diagnosis. The reference files include common patterns like SOQL-in-loop and before/after fix examples. Useful if you want a checklist instead of guessing why your transaction blew up at 9,000ms CPU.
Browse the repository on GitHubSponsors
Details
- Repository
- github.com/forcedotcom/sf-skills
- Categories
- Debugging, Sales & Marketing
- First seen
- Jun 3, 2026
More from forcedotcom/sf-skills
All 158- Deploying Metadata3K
- Fetching Salesforce Docs3K
- Running Apex Tests3K
- Handling Sf Data2.9K
- Building Sf Integrations2.9K
- Generating Mermaid Diagrams2.8K
- Configuring Connected Apps2.8K
- Generating Visual Diagrams2.8K
- Getting Datacloud Schema2.6K
- Developing Datacloud Code Extension2.5K
- Retrieving Datacloud2.5K
- Connecting Datacloud2.5K
- Activating Datacloud2.5K
- Harmonizing Datacloud2.5K
- Orchestrating Datacloud2.5K
- Preparing Datacloud2.5K
- Segmenting Datacloud2.5K
- Deploying Omnistudio Datapacks2.4K
- Building Omnistudio Integration Procedure2.4K
- Building Omnistudio Callable Apex2.4K
- Building Omnistudio Omniscript2.4K
- Building Omnistudio Datamapper2.4K
- Building Omnistudio Flexcard2.4K
- Analyzing Omnistudio Dependencies2.4K