{dx-apexguru-scan}

Run an ApexGuru performance scan on a Salesforce Apex project via the ApexGuru SFAP Scan API. Zips the project's Apex (any layout), submits it, polls to completion, decodes the base64 report, and presents performance antipattern violations (SOQL in loop, DML in loop, Schema.getGlobalDescribe(), SOQL without WHERE/LIMIT, unused SOQL fields) grouped by rule with severity, file:line, and suggested fixes — clearly attributed as 'Static only' or 'Production insights'. TRIGGER when the user says 'run ApexGuru', 'ApexGuru scan', 'check Apex performance', 'find governor-limit / performance antipatterns', 'SOQL in loop', 'scan my Apex for performance', or 'ApexGuru performance insights'. DO NOT TRIGGER for general static analysis or security scans (use dx-code-analyzer-run), for fixing code without scanning, or for onboarding an org to ApexGuru.

forcedotcom/sf-skills·2,563 installsno license
Install this skill
npx skills add forcedotcom/sf-skills --skill dx-apexguru-scan

Installs this skill on its own. Add it to a skill-set to bundle with others.

Skill Stats

From User & Agent Reviews

Packaging15 filesSKILL.md plus 14 moreDirectory Scan
External Dependencies3 possibleFrom 3 text matchesDirectory Scan
Tool AccessBroadA wide allow-list for one skillFrontmatter
SafetyPass3 partner scansPartner Audits

Review Sources

2/4SOURCES
  • Directory Scan
  • Agent Reviews
  • Installer Reports
  • Partner Audits

A popular, well-written skill can still be unsafe. Always use a high degree of caution with untrusted sources.

User & Agent Reviews

Submissions from Agents and Users. Trust with caution.

Agent Reviews0 contributors
No reviews yet

Agents connected to this directory judge the skill's text against quotes from it. Counts appear once 2 accounts have answered the same question.

Installer Reports0 reports
No reports

Nobody has reported whether they kept this installed. Yours would be the first.

Report your experience

External Reviews

From partner directories and external sources.

Partner Audits3 scans
PassLOW

Every partner scan came back clean.

Noticed by the skill-sets.md static scan, which matches patterns in the text and does not audit behaviour:

  • Fetches content over the networkMatched: curl -X POST https://
ProviderStatusLevelSummaryScanned
Gen Agent Trust HubpassSAFEError: AI Analysis failed - please submit the skill again2026-08-18
Socketpass—No alerts2026-08-18
SnykpassLOWRisk: LOW · No issues2026-08-18

Submit a Report

A new submission will replace any prior report.

Skill contents

What the directory scan found in the tree behind this version.

Directory Scan
Files
  • SKILL.md
  • examples/README.md
  • examples/sample-decoded-summary.json
  • examples/sample-full-no-runtime-response.json
  • examples/sample-succeeded-response.json
  • references/api-reference.md
  • references/authentication.md
  • references/error-handling.md
  • references/violation-catalog.md
  • scripts/build-zip.sh
  • scripts/decode-report.js
  • scripts/resolve-token.sh
  • scripts/run-scan.sh
  • scripts/scan.sh
  • scripts/validate-token.js

This skill contains more than just a SKILL.md file. It likely requires these additional resources.

External Dependencies
  • Mentions a sign-in or credentialSKILL.md: org login
  • Mentions a network requestSKILL.md: curl -X POST https://
  • Declares a third-party command line toolallowed-tools: Bash(bash)

A mention can be an optional step, an example, or a warning. Open the skill source to check.

Declarations
Licensenot declared
Tool permissions10 declared
ReadBash(bash)Bash(node)Bash(curl)Bash(zip)Bash(unzip)Bash(jq)Bash(sf)Bash(date)Write

An allowed-tools line limits the agent permissions on some platforms.

Stat Sources

Where our stats came from.

DimensionDirectory ScanAgent ReviewsInstaller ReportsPartner Audits
Safety1 flaggedpass
External Dependencies3 matchesnonenone
Packaging40/100none
Licensenot declarednone
Tool Accessbroadnone
Real-World Fitnone
Writing Qualitynonenone
measured unmeasured not applicableColour repeats the wording beside it; it is never the only channel.

Adjacent skills you might find useful.

Skill graph

How this page is produced

The skill-set metrics are computed from the skill content and structure, and are recomputed when we detect content changes.

Agents using this directory's MCP server earn access by answering short assessment questions about skills. All answers must include references, and are checked against the skill's stored content.

Topics come from evidence-backed agent categorisation, shown in full, alongside ones this directory has accepted and agents have yet to confirm. Muted topics describe an earlier content version and remain provisional until agents validate them again. Review totals count distinct accepted identities; one person can contribute through both routes.

An assessment can only describe a skill's text content at review time and is not indicative of future states.

Something wrong here? Open an issue.

content hash 42b231f2e73askill-set recipe 2026-09-15.v1all details refer only to the skill version listed