sf-debugging
CommunityDiagnose and fix Salesforce runtime errors
Authorjiten-singh-shahi
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps engineers rapidly diagnose runtime failures across the Salesforce platform by guiding log capture, interpretation, and targeted remediation steps to resolve Apex exceptions, governor limit breaches, Flow faults, LWC errors, and failing integrations.
Core Features & Use Cases
- Debug log capture & streaming: Steps for streaming and retrieving debug logs via the Salesforce CLI, Developer Console, and Setup UI.
- Performance and SOQL analysis: Guidance on reading SOQL query plans, identifying CPU and SOQL hotspots, and optimizing queries or indexing choices.
- Apex and Flow troubleshooting: Replay debugging, anonymous Apex techniques, checkpoint heap inspection, and Flow debug/run-as workflows with rollback options.
- LWC and integration diagnostics: Browser devtools practices, Lightning debug mode, callout payload logging, and inspecting request/response entries in logs.
- Use case: Reproduce an intermittent System.LimitException, stream the debug log, locate the offending SOQL/DML pattern, and recommend code or design fixes.
Quick Start
Use the sf-debugging skill to stream debug logs from my org, analyze the log for slow SOQL or DML operations, and provide a prioritized list of fixes.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: sf-debugging Download link: https://github.com/jiten-singh-shahi/salesforce-claude-code/archive/main.zip#sf-debugging Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.