
Debugging Apex Logs
This is a structured framework for reading Salesforce debug logs when you hit governor limits, chase down exceptions, or need to figure out why a transaction died. It walks you through retrieval, analysis order (exceptions first, then limits, then SOQL/DML patterns), and gives you a six-field output format so you deliver root cause, not symptoms. The skill explicitly delegates code generation to generating-apex and test execution to running-apex-tests, keeping scope tight on diagnosis. It includes a scoring rubric, common issue patterns like SOQL-in-loop, and reference files for CLI commands and benchmarking. If you spend time scrolling through 2MB logs trying to spot the line that burned your CPU budget, this gives you a repeatable method.
- skills.sh installs
- 532
- GitHub stars
- 705
- last updated
- Jul 14, 2026
Install
$ npx -y skills add forcedotcom/afv-library --skill debugging-apex-logs --agent claude-codeInstalls into .claude/skills of the current project.
Files
This is a structured framework for reading Salesforce debug logs when you hit governor limits, chase down exceptions, or need to figure out why a transaction died. It walks you through retrieval, analysis order (exceptions first, then limits, then SOQL/DML patterns), and gives you a six-field output format so you deliver root cause, not symptoms. The skill explicitly delegates code generation to generating-apex and test execution to running-apex-tests, keeping scope tight on diagnosis. It includes a scoring rubric, common issue patterns like SOQL-in-loop, and reference files for CLI commands and benchmarking. If you spend time scrolling through 2MB logs trying to spot the line that burned your CPU budget, this gives you a repeatable method.
Browse the repository on GitHubSponsors
Details
- Repository
- github.com/forcedotcom/afv-library
- Category
- Debugging
- First seen
- Jun 3, 2026
More from forcedotcom/afv-library
All 58- Handling Sf Data532
- Generating Mermaid Diagrams531
- Generating Visual Diagrams531
- Running Apex Tests531
- Configuring Connected Apps526
- Building Sf Integrations523
- Retrieving Datacloud523
- Activating Datacloud522
- Harmonizing Datacloud520
- Connecting Datacloud519
- Orchestrating Datacloud519
- Preparing Datacloud519
- Segmenting Datacloud518
- Building Omnistudio Flexcard511
- Analyzing Omnistudio Dependencies510
- Building Omnistudio Callable Apex509
- Building Omnistudio Integration Procedure509
- Deploying Omnistudio Datapacks509
- Modeling Omnistudio Epc Catalog509
- Building Omnistudio Omniscript508
- Building Omnistudio Datamapper507
- Trigger Refactor Pipeline470
- Generating Apex1.6K
- Generating Apex Test1.6K