dx-code-analyzer-configure

Configure Salesforce Code Analyzer with prerequisite checks and minimal YAML overrides.

Updated Jun 17, 2026
One-click install
npx skills add https://github.com/angryracoon/ARIEF-VISEO-DEV-ORG --skill dx-code-analyzer-configure
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dx-code-analyzer-configure
Source: https://github.com/angryracoon/ARIEF-VISEO-DEV-ORG/tree/main/.agents/skills/dx-code-analyzer-configure
Command: npx skills add https://github.com/angryracoon/ARIEF-VISEO-DEV-ORG --skill dx-code-analyzer-configure

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires sf cli, code analyzer plugin, java, node.js, python3, pyyaml, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill removes the friction from setting up, tuning, and fixing Salesforce Code Analyzer so teams can scan projects with the right engines, rules, and exclusions without fighting configuration issues.

Core Features & Use Cases

  • Prerequisite Checks and Installation Guidance: Confirms whether the Salesforce CLI, Code Analyzer plugin, Java, Node.js, and Python are available before you try to scan.
  • Project Configuration Management: Creates or edits code-analyzer.yml only when customization is needed, keeping overrides minimal and intentional.
  • Rule, Engine, and Ignore Tuning: Supports disabling engines, changing rule severity, adding ignore patterns, and adjusting engine-specific settings like SFGE memory or ESLint discovery.
  • CI/CD Integration: Helps add Code Analyzer to GitHub Actions or other pipelines with quality gates, SARIF output, and changed-file scan strategies.
  • Troubleshooting Broken Setups: Diagnoses failures layer by layer, from the CLI and plugin through engine dependencies and validation.

Quick Start

Ask me to configure Salesforce Code Analyzer for this repository, and I will inspect the project, apply only the overrides you need, and validate the result.

Frequently Asked Questions about dx-code-analyzer-configure

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure Salesforce Code Analyzer for my repository?

Configure Salesforce Code Analyzer by inspecting the project, applying minimal rule overrides, engine toggles, and ignore patterns to code-analyzer.yml, then validating the result. This ensures scans run with the correct engines and exclusions without unnecessary YAML clutter.

What prerequisites do I need to run Salesforce Code Analyzer?

Running Salesforce Code Analyzer requires validating and installing sf CLI, the Code Analyzer plugin, Java, Node.js, and Python3 with pyyaml. Prerequisite checks confirm these dependencies are available before attempting to scan your project.

How do I add Salesforce Code Analyzer to a CI/CD pipeline with quality gates?

Add Salesforce Code Analyzer to CI/CD pipelines by configuring GitHub Actions with quality gates, SARIF output, and changed-file scan strategies. This integration automates rule enforcement and surfaces code quality issues during pull requests.

Can I disable specific rules or adjust severity in code-analyzer.yml?

You can disable engines, change rule severity, add ignore patterns, and adjust engine-specific settings like SFGE memory or ESLint discovery in code-analyzer.yml. The configuration applies only the intentional overrides you need for your project.

Why is my Salesforce Code Analyzer setup failing during validation?

Salesforce Code Analyzer setup failures are diagnosed layer by layer, checking the CLI, plugin, engine dependencies, and validation steps. Troubleshooting identifies broken configurations, missing prerequisites, or incorrect rule overrides blocking the scan.

When should I create or edit code-analyzer.yml for my Salesforce DX project?

Create or edit code-analyzer.yml only when customization is needed for your Salesforce DX repository. This approach preserves minimal override-only YAML, ensuring rule and engine configurations remain intentional and maintainable.