Skip to content
forcedotcom avatar

Dx Code Analyzer Configure

Set up, configure, and troubleshoot Salesforce Code Analyzer through a project-root code-analyzer.yml file.

CCM score
71 of 100
skills.sh installs
6K
GitHub stars
1.2K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers installation, prerequisite checks, diagnosing broken setups, and CI/CD pipeline setup for any project
  • Checks sf CLI, Java, Node.js, Python, and org authentication before installing or updating the Code Analyzer plugin
  • Creates code-analyzer.yml only when a customization is requested, writing only the overrides that change behavior
  • Designed for developers who need engine, ignore, severity, or quality-gate changes without running scans or writing custom rules

Install

$ npx -y skills add forcedotcom/sf-skills --skill dx-code-analyzer-configure -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Configuring Code Analyzer Skill

Overview

Ecosystem: This skill is part of a 3-skill Code Analyzer suite — dx-code-analyzer-run (scans & results) · dx-code-analyzer-configure (setup, config, CI/CD) · dx-code-analyzer-custom-rule-create (custom rule authoring).

This skill manages the code-analyzer.yml configuration file — the single source of truth for how Code Analyzer behaves in a project. All customization (engines, rules, ignores, suppressions) is done by creating or editing this file. If the file doesn't exist, this skill creates it in the current working directory.


Scope

In scope:

  • Checking prerequisites (sf CLI, Java, Node.js, Python, org auth)
  • Installing/updating the Code Analyzer plugin
  • Creating code-analyzer.yml if it doesn't exist
  • Editing code-analyzer.yml for all configuration changes
  • Engine settings, rule overrides, ignore patterns, suppressions
  • CI/CD pipeline setup (GitHub Actions, Jenkins, etc.)
  • Environment validation and troubleshooting

Details

Repository
github.com/forcedotcom/sf-skills
Categories
Code Review & Quality, DevOps & Cloud, Security
First seen
Jul 14, 2026

More from forcedotcom/sf-skills

All 78

Similar to Dx Code Analyzer Configure

More Code Review & Quality