Sf Debug

Captures and analyzes Salesforce debug logs through the Tooling API — trace flag setup, log retrieval, parsing for exceptions, SOQL-in-loop detection, CPU/heap/limit analysis, and row-lock diagnosis — all MCP-first against the live org. Use when the user hits an error in Salesforce, mentions debug logs, governor limits, "too many SOQL queries", CPU timeouts, UNABLE_TO_LOCK_ROW, flow errors, or asks why something failed in the org. Do NOT use for writing or refactoring Apex (use sf-apex), generating or running test classes (use sf-test), or a broad org-wide quality inventory (use sf-audit). Usage: /sf-debug [trace|logs|analyze|limits] {user|class|logId} ...

kugamon 8f6f78b 6 files · 24.8 KB Updated

File contents

kugamon/salesforce-core-skills/tree/main/plugins/salesforce-core/skills/sf-debug commit 8f6f78bae5

Frequently asked questions

npx skillmds@latest add kugamon/sf-debug