configuring-code-analyzer
Originally fromforcedotcom/sf-skills
Installation
SKILL.md
Configuring Code Analyzer Skill
Overview
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.ymlif it doesn't exist - Editing
code-analyzer.ymlfor all configuration changes - Engine settings, rule overrides, ignore patterns, suppressions
- CI/CD pipeline setup (GitHub Actions, Jenkins, etc.)
- Environment validation and troubleshooting