
Sf Debug
When you're staring at a Salesforce debug log trying to figure out why a transaction blew past CPU time or threw a null pointer three layers deep, this skill walks you through the diagnosis. It pulls logs via the CLI, identifies governor limit pressure, decodes stack traces, and spots the usual suspects like SOQL in loops or non-selective queries. The output format is structured: what failed, where, why, severity, fix, and how to verify. It scores itself on a 100-point rubric and knows when to hand off to sf-apex for the actual code fix or sf-testing for reproducing the issue. Solid for root cause work when you need more than grep.
- skills.sh installs
- 1.5K
- GitHub stars
- 422
- last updated
- Jul 14, 2026
Install
$ npx -y skills add jaganpro/sf-skills --skill sf-debug --agent claude-codeInstalls into .claude/skills of the current project.
Files
sf-debug: Salesforce Debug Log Analysis & Troubleshooting
Use this skill when the user needs root-cause analysis from debug logs: governor-limit diagnosis, stack-trace interpretation, slow-query investigation, heap / CPU pressure analysis, or a reproduction-to-fix loop based on log evidence.
When This Skill Owns the Task
Use sf-debug when the work involves:
.logfiles from Salesforce- stack traces and exception analysis
- governor limits
- SOQL / DML / CPU / heap troubleshooting
- query-plan or performance evidence extracted from logs
Delegate elsewhere when the user is:
- running or repairing Apex tests → sf-testing
- implementing the code fix → sf-apex
- debugging Agentforce session traces / parquet telemetry → sf-ai-agentforce-observability
Required Context to Gather First
Ask for or infer:
- org alias
- failing transaction / user flow / test name
- approximate timestamp or transaction window
- user / record / request ID if known
- whether the goal is diagnosis only or diagnosis + fix loop
Recommended Workflow
Sponsors
Details
- Repository
- github.com/jaganpro/sf-skills
- Category
- Debugging
- First seen
- Apr 16, 2026
More from jaganpro/sf-skills
All 37- Sf Deploy1.5K
- Sf Permissions1.4K
- Sf Testing1.4K
- Sf Data1.4K
- Sf Integration1.4K
- Sf Diagram Mermaid1.4K
- Sf Connected Apps1.4K
- Sf Ai Agentscript1.4K
- Sf Diagram Nanobananapro1.3K
- Sf Ai Agentforce1.3K
- Sf Ai Agentforce Testing1.3K
- Sf Ai Agentforce Observability1.3K
- Sf Docs1.2K
- Sf Ai Agentforce Persona1.2K
- Sf Datacloud1K
- Sf Industry Commoncore Omniscript993
- Sf Industry Commoncore Datamapper990
- Sf Industry Commoncore Omnistudio Analyze989
- Sf Industry Commoncore Flexcard987
- Sf Datacloud Retrieve985
- Sf Datacloud Connect983
- Sf Industry Commoncore Integration Procedure983
- Sf Datacloud Prepare982
- Sf Datacloud Segment979