
dx-code-analyzer-configure
Set up, configure, and troubleshoot Salesforce Code Analyzer for any project
by forcedotcomFree
Description
dx-code-analyzer-configure is an agent skill for setting up, configuring and troubleshooting Salesforce Code Analyzer in a project. It handles installation, prerequisite checks and diagnosing broken setups, and manages the code-analyzer.yml file, which controls engines, rules, ignores and suppressions. If that file does not exist, the skill creates it in the current working directory. It also covers configuration for CI/CD use. It is one of three Code Analyzer skills in the forcedotcom/sf-skills repository: dx-code-analyzer-run handles scans and results, and dx-code-analyzer-custom-rule-create handles custom rule authoring. It is meant for Salesforce developers who want their agent to manage analyzer configuration.…
Highlights
- Installs Code Analyzer and checks prerequisites
- Creates and edits code-analyzer.yml
- Configures engines, rules, ignores and suppressions
- Diagnoses broken setups
- Covers CI/CD configuration
Ratings & Reviews
No ratings yet
Be the first to rate dx-code-analyzer-configure.
People also visit

running-code-analyzer
Run Salesforce Code Analyzer to scan code for security, performance

dx-code-analyzer-run
Run Salesforce Code Analyzer to scan code for security, performance

dx-code-analyzer-custom-rule-create
Create custom Code Analyzer rules for Regex (pattern matching), PMD

platform-environment-validate
Validate and configure the local Salesforce development environment
dx-code-analyzer-configure FAQ
What does this skill manage?
The code-analyzer.yml configuration file, which defines how Salesforce Code Analyzer behaves in a project, plus installation and prerequisite checks.
How do I add it to my agent?
Use `npx skills add https://github.com/forcedotcom/sf-skills --skill dx-code-analyzer-configure`. The skill is then available to your agent alongside your other skills.
What if my project has no config file?
The skill creates code-analyzer.yml in the current working directory.
Which related skills exist?
dx-code-analyzer-run for running scans and reading results, and dx-code-analyzer-custom-rule-create for writing custom rules.
What did the security audits report?
The skills.sh page lists these results: Gen Agent Trust Hub: Pass, Socket: Pass, Snyk: Pass.
What are the best dx-code-analyzer-configure alternatives?
Popular alternatives to dx-code-analyzer-configure include running-code-analyzer, dx-code-analyzer-run and dx-apexguru-scan. See all dx-code-analyzer-configure alternatives





