Skip to content

forcedotcom/sf-skills / skills/dx-apexguru-scan

dx-apexguru-scan

Verified

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.

Security report

Verified

Static analysis of one exact version. It reduces risk and shows evidence; it does not certify that a skill is safe.

Commit
b09f91fe832e19b1f8c5eddd3bfb418640d997b4
Content hash
d231fcc17ac24ae93aee5144136f39be60c61295feb7d2417c2cf43fdd80d753
Scanned
2026-11-21
Scanner version
skillxone-scan-1.0.0
Policy version
0.1-draft
Decision
Every required check completed with no open blocking or medium findings.
Verification expires
2026-12-21

Findings (12 info)

  • infoINT-CHANGED-SINCE-VERIFIEDscripts/build-zip.sh

    This file was changed since the last verified version.

    Suggested fix: None required. Review the change if you trusted the earlier version.

    Report as false positive

  • infoINT-EXECUTABLE-SCRIPTscripts/build-zip.sh:1

    The skill ships an executable script. Review it before allowing an agent to run it.

    #!/usr/bin/env bash

    Suggested fix: None required. Informational.

    Report as false positive

  • infoINT-CHANGED-SINCE-VERIFIEDscripts/decode-report.js

    This file was changed since the last verified version.

    Suggested fix: None required. Review the change if you trusted the earlier version.

    Report as false positive

  • infoINT-EXECUTABLE-SCRIPTscripts/decode-report.js:1

    The skill ships an executable script. Review it before allowing an agent to run it.

    #!/usr/bin/env node

    Suggested fix: None required. Informational.

    Report as false positive

  • infoINT-CHANGED-SINCE-VERIFIEDscripts/resolve-token.sh

    This file was changed since the last verified version.

    Suggested fix: None required. Review the change if you trusted the earlier version.

    Report as false positive

  • infoINT-EXECUTABLE-SCRIPTscripts/resolve-token.sh:1

    The skill ships an executable script. Review it before allowing an agent to run it.

    #!/usr/bin/env bash

    Suggested fix: None required. Informational.

    Report as false positive

  • infoINT-CHANGED-SINCE-VERIFIEDscripts/run-scan.sh

    This file was changed since the last verified version.

    Suggested fix: None required. Review the change if you trusted the earlier version.

    Report as false positive

  • infoINT-EXECUTABLE-SCRIPTscripts/run-scan.sh:1

    The skill ships an executable script. Review it before allowing an agent to run it.

    #!/usr/bin/env bash

    Suggested fix: None required. Informational.

    Report as false positive

  • infoINT-EXECUTABLE-SCRIPTscripts/scan.sh:1

    The skill ships an executable script. Review it before allowing an agent to run it.

    #!/usr/bin/env bash

    Suggested fix: None required. Informational.

    Report as false positive

  • infoINT-CHANGED-SINCE-VERIFIEDscripts/validate-token.js

    This file was changed since the last verified version.

    Suggested fix: None required. Review the change if you trusted the earlier version.

    Report as false positive

  • infoINT-CHANGED-SINCE-VERIFIEDSKILL.md

    This file was changed since the last verified version.

    Suggested fix: None required. Review the change if you trusted the earlier version.

    Report as false positive

  • infoNET-UPLOAD-LOCAL-DATASKILL.md:33

    A local file is sent to a remote host. Severity lowered from medium because the surrounding text warns against it.

    curl -X POST https://api.salesforce.com/... -F file=@x.zip

    Suggested fix: Make uploads explicit to the user, name the destination, and never send files the task does not need.

    Report as false positive

Checks run

  • prompt-injection
  • dangerous-commands
  • credentials
  • network
  • file-access
  • integrity

Checks skipped

  • dependencies: No dependency manifest in the skill directory.
  • gitleaks: gitleaks is not installed on this host.
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall