[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CB995RJS63N8NCGRPTBXQY":3,"skill-same:01M7CB995RJS63N8NCGRPTBXQY":57},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":29,"commitSha":30,"skillDirectory":31,"forksCount":32,"repositoryHtmlUrl":33,"repositoryHomepageUrl":6,"ownerHtmlUrl":34,"ownerBlogUrl":6,"ownerDescription":35,"updatedAt":36,"install":37,"resources":50},"01M7CB995RJS63N8NCGRPTBXQY","sf-debug",null,"Salesforce debug log analysis and troubleshooting with 100-point scoring. TRIGGER when: user analyzes debug logs, hits governor limits, reads stack traces, or touches .log files from Salesforce orgs. DO NOT TRIGGER when: running Apex tests (use sf-testing), fixing Apex code (use sf-apex), or Agentforce session tracing (use sf-ai-agentforce-observability).","om-scogo\u002Fskillsh-scraper","om-scogo","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160466840?v=4","01M79AWB6DFVCQ7RK70CS34B96","Om Achrekar","01M79AWB6ZM9SKR8KDH1WSSM22",0,"MIT","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fjaganpro-sf-skills\u002Fsf-debug\u002FSkill.md",[],[],"2026-11-15 14:19:17",false,"---\nname: sf-debug\ndescription: >\n  Salesforce debug log analysis and troubleshooting with 100-point scoring.\n  TRIGGER when: user analyzes debug logs, hits governor limits, reads stack traces,\n  or touches .log files from Salesforce orgs.\n  DO NOT TRIGGER when: running Apex tests (use sf-testing), fixing Apex code\n  (use sf-apex), or Agentforce session tracing (use sf-ai-agentforce-observability).\nlicense: MIT\nmetadata:\n  version: \"1.1.0\"\n  author: \"Jag Valaiyapathy\"\n  scoring: \"100 points across 5 categories\"\n---\n\n# sf-debug: Salesforce Debug Log Analysis & Troubleshooting\n\nUse this skill when the user needs **root-cause analysis from debug logs**: governor-limit diagnosis, stack-trace interpretation, slow-query investigation, heap \u002F CPU pressure analysis, or a reproduction-to-fix loop based on log evidence.\n\n## When This Skill Owns the Task\n\nUse `sf-debug` when the work involves:\n- `.log` files from Salesforce\n- stack traces and exception analysis\n- governor limits\n- SOQL \u002F DML \u002F CPU \u002F heap troubleshooting\n- query-plan or performance evidence extracted from logs\n\nDelegate elsewhere when the user is:\n- running or repairing Apex tests → [sf-testing](..\u002Fsf-testing\u002FSKILL.md)\n- implementing the code fix → [sf-apex](..\u002Fsf-apex\u002FSKILL.md)\n- debugging Agentforce session traces \u002F parquet telemetry → [sf-ai-agentforce-observability](..\u002Fsf-ai-agentforce-observability\u002FSKILL.md)\n\n---\n\n## Required Context to Gather First\n\nAsk for or infer:\n- org alias\n- failing transaction \u002F user flow \u002F test name\n- approximate timestamp or transaction window\n- user \u002F record \u002F request ID if known\n- whether the goal is diagnosis only or diagnosis + fix loop\n\n---\n\n## Recommended Workflow\n\n### 1. Retrieve logs\n```bash\nsf apex list log --target-org \u003Calias> --json\nsf apex get log --log-id \u003Cid> --target-org \u003Calias>\nsf apex tail log --target-org \u003Calias> --color\n```\n\n### 2. Analyze in this order\n1. entry point and transaction type\n2. exceptions \u002F fatal errors\n3. governor limits\n4. repeated SOQL \u002F DML patterns\n5. CPU \u002F heap hotspots\n6. callout timing and external failures\n\n### 3. Classify severity\n- **Critical** — runtime failure, hard limit, corruption risk\n- **Warning** — near-limit, non-selective query, slow path\n- **Info** — optimization opportunity or hygiene issue\n\n### 4. Recommend the smallest correct fix\nPrefer fixes that are:\n- root-cause oriented\n- bulk-safe\n- testable\n- easy to verify with a rerun\n\nExpanded workflow: [references\u002Fanalysis-playbook.md](references\u002Fanalysis-playbook.md)\n\n---\n\n## High-Signal Issue Patterns\n\n| Issue | Primary signal | Default fix direction |\n|---|---|---|\n| SOQL in loop | repeating `SOQL_EXECUTE_BEGIN` in a repeated call path | query once, use maps \u002F grouped collections |\n| DML in loop | repeated `DML_BEGIN` patterns | collect rows, bulk DML once |\n| Non-selective query | high rows scanned \u002F poor selectivity | add indexed filters, reduce scope |\n| CPU pressure | CPU usage approaching sync limit | reduce algorithmic complexity, cache, async where valid |\n| Heap pressure | heap usage approaching sync limit | stream with SOQL for-loops, reduce in-memory data |\n| Null pointer \u002F fatal error | `EXCEPTION_THROWN` \u002F `FATAL_ERROR` | guard null assumptions, fix empty-query handling |\n\nExpanded examples: [references\u002Fcommon-issues.md](references\u002Fcommon-issues.md)\n\n---\n\n## Output Format\n\nWhen finishing analysis, report in this order:\n\n1. **What failed**\n2. **Where it failed** (class \u002F method \u002F line \u002F transaction stage)\n3. **Why it failed** (root cause, not just symptom)\n4. **How severe it is**\n5. **Recommended fix**\n6. **Verification step**\n\nSuggested shape:\n\n```text\nIssue: \u003Csummary>\nLocation: \u003Cclass \u002F line \u002F transaction>\nRoot cause: \u003Cexplanation>\nSeverity: Critical | Warning | Info\nFix: \u003Cspecific action>\nVerify: \u003Ctest or rerun step>\n```\n\n---\n\n## Cross-Skill Integration\n\n| Need | Delegate to | Reason |\n|---|---|---|\n| Implement Apex fix | [sf-apex](..\u002Fsf-apex\u002FSKILL.md) | code change generation \u002F review |\n| Reproduce via tests | [sf-testing](..\u002Fsf-testing\u002FSKILL.md) | test execution and coverage loop |\n| Deploy fix | [sf-deploy](..\u002Fsf-deploy\u002FSKILL.md) | deployment orchestration |\n| Create debugging data | [sf-data](..\u002Fsf-data\u002FSKILL.md) | targeted seed \u002F repro data |\n\n---\n\n## Reference Map\n\n### Start here\n- [references\u002Fanalysis-playbook.md](references\u002Fanalysis-playbook.md)\n- [references\u002Fcommon-issues.md](references\u002Fcommon-issues.md)\n- [references\u002Fcli-commands.md](references\u002Fcli-commands.md)\n\n### Deep references\n- [references\u002Fdebug-log-reference.md](references\u002Fdebug-log-reference.md)\n- [references\u002Flog-analysis-tools.md](references\u002Flog-analysis-tools.md)\n- [references\u002Fbenchmarking-guide.md](references\u002Fbenchmarking-guide.md)\n\n### Rubric\n- [references\u002Fscoring-rubric.md](references\u002Fscoring-rubric.md)\n\n---\n\n## Score Guide\n\n| Score | Meaning |\n|---|---|\n| 90+ | Expert analysis with strong fix guidance |\n| 80–89 | Good analysis with minor gaps |\n| 70–79 | Acceptable but may miss secondary issues |\n| 60–69 | Partial diagnosis only |\n| \u003C 60 | Incomplete analysis |\n","# sf-debug: Salesforce Debug Log Analysis & Troubleshooting\n\nUse this skill when the user needs **root-cause analysis from debug logs**: governor-limit diagnosis, stack-trace interpretation, slow-query investigation, heap \u002F CPU pressure analysis, or a reproduction-to-fix loop based on log evidence.\n\n## When This Skill Owns the Task\n\nUse `sf-debug` when the work involves:\n- `.log` files from Salesforce\n- stack traces and exception analysis\n- governor limits\n- SOQL \u002F DML \u002F CPU \u002F heap troubleshooting\n- query-plan or performance evidence extracted from logs\n\nDelegate elsewhere when the user is:\n- running or repairing Apex tests → [sf-testing](..\u002Fsf-testing\u002FSKILL.md)\n- implementing the code fix → [sf-apex](..\u002Fsf-apex\u002FSKILL.md)\n- debugging Agentforce session traces \u002F parquet telemetry → [sf-ai-agentforce-observability](..\u002Fsf-ai-agentforce-observability\u002FSKILL.md)\n\n---\n\n## Required Context to Gather First\n\nAsk for or infer:\n- org alias\n- failing transaction \u002F user flow \u002F test name\n- approximate timestamp or transaction window\n- user \u002F record \u002F request ID if known\n- whether the goal is diagnosis only or diagnosis + fix loop\n\n---\n\n## Recommended Workflow\n\n### 1. Retrieve logs\n```bash\nsf apex list log --target-org \u003Calias> --json\nsf apex get log --log-id \u003Cid> --target-org \u003Calias>\nsf apex tail log --target-org \u003Calias> --color\n```\n\n### 2. Analyze in this order\n1. entry point and transaction type\n2. exceptions \u002F fatal errors\n3. governor limits\n4. repeated SOQL \u002F DML patterns\n5. CPU \u002F heap hotspots\n6. callout timing and external failures\n\n### 3. Classify severity\n- **Critical** — runtime failure, hard limit, corruption risk\n- **Warning** — near-limit, non-selective query, slow path\n- **Info** — optimization opportunity or hygiene issue\n\n### 4. Recommend the smallest correct fix\nPrefer fixes that are:\n- root-cause oriented\n- bulk-safe\n- testable\n- easy to verify with a rerun\n\nExpanded workflow: [references\u002Fanalysis-playbook.md](references\u002Fanalysis-playbook.md)\n\n---\n\n## High-Signal Issue Patterns\n\n| Issue | Primary signal | Default fix direction |\n|---|---|---|\n| SOQL in loop | repeating `SOQL_EXECUTE_BEGIN` in a repeated call path | query once, use maps \u002F grouped collections |\n| DML in loop | repeated `DML_BEGIN` patterns | collect rows, bulk DML once |\n| Non-selective query | high rows scanned \u002F poor selectivity | add indexed filters, reduce scope |\n| CPU pressure | CPU usage approaching sync limit | reduce algorithmic complexity, cache, async where valid |\n| Heap pressure | heap usage approaching sync limit | stream with SOQL for-loops, reduce in-memory data |\n| Null pointer \u002F fatal error | `EXCEPTION_THROWN` \u002F `FATAL_ERROR` | guard null assumptions, fix empty-query handling |\n\nExpanded examples: [references\u002Fcommon-issues.md](references\u002Fcommon-issues.md)\n\n---\n\n## Output Format\n\nWhen finishing analysis, report in this order:\n\n1. **What failed**\n2. **Where it failed** (class \u002F method \u002F line \u002F transaction stage)\n3. **Why it failed** (root cause, not just symptom)\n4. **How severe it is**\n5. **Recommended fix**\n6. **Verification step**\n\nSuggested shape:\n\n```text\nIssue: \u003Csummary>\nLocation: \u003Cclass \u002F line \u002F transaction>\nRoot cause: \u003Cexplanation>\nSeverity: Critical | Warning | Info\nFix: \u003Cspecific action>\nVerify: \u003Ctest or rerun step>\n```\n\n---\n\n## Cross-Skill Integration\n\n| Need | Delegate to | Reason |\n|---|---|---|\n| Implement Apex fix | [sf-apex](..\u002Fsf-apex\u002FSKILL.md) | code change generation \u002F review |\n| Reproduce via tests | [sf-testing](..\u002Fsf-testing\u002FSKILL.md) | test execution and coverage loop |\n| Deploy fix | [sf-deploy](..\u002Fsf-deploy\u002FSKILL.md) | deployment orchestration |\n| Create debugging data | [sf-data](..\u002Fsf-data\u002FSKILL.md) | targeted seed \u002F repro data |\n\n---\n\n## Reference Map\n\n### Start here\n- [references\u002Fanalysis-playbook.md](references\u002Fanalysis-playbook.md)\n- [references\u002Fcommon-issues.md](references\u002Fcommon-issues.md)\n- [references\u002Fcli-commands.md](references\u002Fcli-commands.md)\n\n### Deep references\n- [references\u002Fdebug-log-reference.md](references\u002Fdebug-log-reference.md)\n- [references\u002Flog-analysis-tools.md](references\u002Flog-analysis-tools.md)\n- [references\u002Fbenchmarking-guide.md](references\u002Fbenchmarking-guide.md)\n\n### Rubric\n- [references\u002Fscoring-rubric.md](references\u002Fscoring-rubric.md)\n\n---\n\n## Score Guide\n\n| Score | Meaning |\n|---|---|\n| 90+ | Expert analysis with strong fix guidance |\n| 80–89 | Good analysis with minor gaps |\n| 70–79 | Acceptable but may miss secondary issues |\n| 60–69 | Partial diagnosis only |\n| \u003C 60 | Incomplete analysis |\n",{"name":5,"license":15,"metadata":24,"description":28},{"author":25,"scoring":26,"version":27},"Jag Valaiyapathy","100 points across 5 categories","1.1.0","Salesforce debug log analysis and troubleshooting with 100-point scoring. TRIGGER when: user analyzes debug logs, hits governor limits, reads stack traces, or touches .log files from Salesforce orgs. DO NOT TRIGGER when: running Apex tests (use sf-testing), fixing Apex code (use sf-apex), or Agentforce session tracing (use sf-ai-agentforce-observability).\n","main","8859218955d9504cd18b59e7892100718039d3b4","data\u002Fskills\u002Fjaganpro-sf-skills\u002Fsf-debug",1,"https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper","https:\u002F\u002Fgithub.com\u002Fom-scogo","SDE-1 @ Scogo ","2026-07-18 12:22:46",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add om-scogo\u002Fskillsh-scraper --skill sf-debug",{"tool":43,"command":44},"bunx","bunx skills add om-scogo\u002Fskillsh-scraper --skill sf-debug",{"tool":46,"command":47},"pnpm","pnpm dlx skills add om-scogo\u002Fskillsh-scraper --skill sf-debug","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fjaganpro-sf-skills\u002Fsf-debug\u002FSkill.md",true,[51],{"path":52,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":55,"sourceHtmlUrl":56},"metadata.json","REFERENCE","参考文档",407,"https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fjaganpro-sf-skills\u002Fsf-debug\u002Fmetadata.json",[58,65,70,77,82,89],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M7D6MC9FAAEV4CMNYX8W7JTG","arxiv-search","Search arXiv physics, math, and computer science preprints using natural language queries. Powered by Valyu semantic search.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fyorkeccak-scientific-skills\u002Farxiv-search\u002Fskills\u002Farxiv-search\u002FSKILL.md",[],[],{"skillNo":66,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7D6M85CKKN87TA98VCQV4H7","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fyorkeccak-scientific-skills\u002Farxiv-search\u002FSkill.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7D4ZTCS4DR3CE4JY06X84T2","working-with-legacy-code","Safely change and test untested codebases using Feathers' \"Working Effectively with Legacy Code\". Use when the user mentions \"legacy code\", \"no tests\", \"untested codebase\", \"how do I test this\", \"seams\", \"characterization tests\", \"golden master\", \"sprout method\", \"afraid to change this code\", \"monster method\", \"dependency breaking\", or \"inherited a messy codebase\". Also trigger when changing code without tests safely, getting a class under test when constructors, statics, or singletons block it, adding features to tangled modules, or planning incremental test coverage for an old codebase. Covers the legacy-code change algorithm, seams, characterization tests, sprout\u002Fwrap, and dependency-breaking techniques. For refactoring code that already has tests, see refactoring-patterns. For day-to-day code quality, see clean-code.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fworking-with-legacy-code\u002Fworking-with-legacy-code\u002FSKILL.md",[],[],{"skillNo":78,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7D4ZHZKJD2RSNGAF63V14P4","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fworking-with-legacy-code\u002FSkill.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7D4ZB4CJBFW5JE67CPH2QRV","web-typography","Select, pair, and implement typefaces for web projects. Use when the user mentions \"font pairing\", \"which typeface\", \"line height\", \"responsive typography\", \"web font loading\", \"type hierarchy\", \"variable fonts\", \"FOUT\u002FFOIT\", \"typographic scale\", or \"the text is hard to read\". Also trigger when choosing between system fonts and web fonts, optimizing font-loading performance, or designing readable long-form content. Covers readability evaluation, CSS implementation, and performance optimization. For overall UI design systems, see refactoring-ui. For dramatic typographic experiences, see top-design.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fweb-typography\u002Fweb-typography\u002FSKILL.md",[],[],{"skillNo":90,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M7D4Z4MVYVY3NMJ18BNV6WNA","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fweb-typography\u002FSkill.md",[],[]]