forcedotcom avatar

Dx Code Analyzer Configure

This handles the entire setup and configuration layer for Salesforce Code Analyzer, from checking prerequisites (Java, Node, Python) through creating and editing the code-analyzer.yml file that controls engine behavior, ignore patterns, severity overrides, and suppressions. It's designed to only write config when you actually need to customize something, not dump boilerplate YAML for every new project. The skill also covers CI/CD pipeline generation for GitHub Actions and Jenkins, plus systematic troubleshooting when scans break. Useful when you're onboarding a team, tuning quality gates, or debugging why PMD suddenly won't run. It's part of a three-skill suite, the other two handle running scans and authoring custom rules.

skills.sh installs
5.9K
GitHub stars
1.2K
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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

Sponsors

Details

Repository
github.com/forcedotcom/sf-skills
Categories
DevOps & CI/CD, Git & Pull Requests, Documentation, Code Review & Quality, Debugging, Automation & Workflows, Sales & Marketing
First seen
Jul 14, 2026

More from forcedotcom/sf-skills

All 158
1aws avataramazon-elasticacheaws/agent-toolkit-for-awsActivate when developers have latent caching needs: slow API responses, database read bottlenecks, DynamoDB throttling or cost, RDS/Aurora scaling pressure, Bed5.9Kskills.sh installs
2affaan-m avatardeployment-patternsaffaan-m/eccDeployment workflows, CI/CD pipeline patterns, Docker containerization, health checks, rollback strategies, and production readiness checklists for web applicat5.8Kskills.sh installs
3coralogix avatarcx-telemetry-queryingcoralogix/cx-cliUse this skill for any question involving telemetry data: "investigate an issue", "debug a problem", "find out why something is slow", "check error rates", "ana5.8Kskills.sh installs
4affaan-m avatardashboard-builderaffaan-m/eccBuild monitoring dashboards that answer real operator questions for Grafana, SigNoz, and similar platforms. Use when turning metrics into a working dashboard in5.7Kskills.sh installs
5wondelai avatarpredictable-revenuewondelai/skillsBuild a scalable outbound B2B sales machine with specialized roles (SDR, AE, CSM). Use when the user mentions "outbound sales", "Cold Calling 2.0", "cold email 5.6Kskills.sh installs
6affaan-m avatargithub-opsaffaan-m/eccGitHub repository operations, automation, and management. Issue triage, PR management, CI/CD operations, release management, and security monitoring using the g5.6Kskills.sh installs