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-code

Installs 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:

  • .log files 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:


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

Recommended

More Debugging
1sickn33 avatarsystematic-debuggingsickn33/antigravity-awesome-skillssystematic debugging1.3Kskills.sh installs
2cxuu avatargo-performancecxuu/golang-skillsUse when optimizing Go code, investigating slow performance, or writing performance-critical sections. Also use when a user mentions slow Go code, string concat1.3Kskills.sh installs
3flutter avatarflutter-performanceflutter/skillsflutter performance1.2Kskills.sh installs
4ruvnet avatarperformance-analysisruvnet/rufloComprehensive performance analysis, bottleneck detection, and optimization recommendations for Claude Flow swarms1.2Kskills.sh installs
5ruvnet avataragent-performance-monitorruvnet/rufloAgent skill for performance-monitor - invoke with $agent-performance-monitor1.2Kskills.sh installs
6rudrankriyam avatarasc-crash-triagerudrankriyam/asc-skillsasc crash triage1.1Kskills.sh installs