dx-code-analyzer-run
A Salesforce skill for running Salesforce Code Analyzer scans and working with the results.
What the skill teaches
A Salesforce skill for running Salesforce Code Analyzer scans and working with the results. It supports all of the tool's engines, including PMD, ESLint, copy-paste detection, RetireJS, Flow, the graph engine and ApexGuru, and can target files, folders or a git diff by category and severity. The skill requires the agent to use bundled Node scripts to summarise, filter and query results, list rules, explain what a rule means, find fixable violations and apply fixes once the user confirms, instead of reading large result files directly. Installation, configuration and custom rules are handled by other skills.
Capabilities
- Run Code Analyzer scans on files, folders or a git diff
- Summarise and filter scan results
- Explain what a Code Analyzer rule means
- Apply fixes after the user confirms
About
- Publisher
- Salesforce
- Tool
- Salesforce
Install
- Run this to add it to Any client:
npx skills add forcedotcom/sf-skills
What's inside
- examples/README.md
- examples/basic-scan-output.json
- examples/command-variations.md
- examples/fix-application-before-after.md
- examples/large-scan-output.json
- examples/security-focused-output.json
- references/command-examples.md
- references/engine-reference.md
- references/error-handling.md
- references/flag-reference.md
- references/post-scan-workflows.md
- references/quick-start.md
- references/special-behaviors.md
- references/vendor-file-handling.md
- scripts/apply-fixes.js
- scripts/describe-rule.js
- scripts/discover-fixes.js
- scripts/filter-violations.js
- scripts/list-rules.js
- scripts/parse-results.js
- scripts/query-results.js
- scripts/summarize-fixes.js
- scripts/verify-execution.sh
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
This skill includes scripts that your agent may run.
Details
| Fact | Value | Source |
|---|---|---|
| Type | Skill | |
| Tool | Salesforce | |
| Publisher | Salesforce | source |
| Official status | OfficialSalesforce's developer documentation for its skills and plugins links to the forcedotcom/sf-skills repository | source |
| Needs an API key or sign-in | Not stated in its documentation | |
| Includes scripts | Yes | source |
| Platforms | Not stated in its documentation | |
| AI clients | Not stated in its documentation | |
| Licence | Apache-2.0 | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Nov 6, 20261,156 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository |
Sources
- Skill file (SKILL.md)github.com/forcedotcom/sf-skillsNov 10, 2026
- README (README.md)github.com/forcedotcom/sf-skillsNov 13, 2026
- Licence file (LICENSE.txt)github.com/forcedotcom/sf-skills · Backs: Licence, PublisherNov 13, 2026
- Web pagedeveloper.salesforce.com · Backs: Official statusNov 13, 2026
- Folder in the repository (dx-code-analyzer-run)github.com/forcedotcom/sf-skills · Backs: Includes scriptsNov 10, 2026
- GitHub repositorygithub.com/forcedotcom/sf-skills · Backs: Activity, LicenceNov 11, 2026