Dx Code Analyzer Run
Run Salesforce Code Analyzer to scan code for security, performance, best practice, and code style violations. Supports all engines (PMD, ESLint, CPD, RetireJS, Flow, SFGE, ApexGuru), targets (files, folders, git diff), categories, and severities. Also handles post-scan exploration: filtering results by engine/severity/category/file, and explaining what rules mean. TRIGGER when: user says 'scan my code', 'check security issues', 'run PMD/ESLint', 'find duplicates', 'analyze Flows', 'check vulnerable libraries', 'AppExchange review', 'lint my LWC', 'static analysis', 'code quality', 'show security violations', 'what is this rule', 'explain ApexCRUDViolation', 'filter results', or mentions engines/file types (.cls, .trigger, .js, .flow-meta.xml). Use this skill for scanning, exploring results, and listing rules. DO NOT TRIGGER when: user asks only about installation/configuration (use dx-code-analyzer-configure), or wants to create a custom rule (use dx-code-analyzer-custom-rule-create).
- Type
- Skill
- Author
- forcedotcom
- GitHub stars
- 1.1K
- Installs
- 6.4K
- Last updated
- October 30, 2026
Install
npx skills add https://github.com/forcedotcom/sf-skills --skill dx-code-analyzer-runAbout this skill
Runs Salesforce Code Analyzer to scan code for security, performance, best-practice, and style violations across engines including PMD, ESLint, CPD, RetireJS, Flow, SFGE, and ApexGuru. Also handles post-scan exploration: filtering results by engine, severity, category, or file, and explaining what rules mean. Installation and configuration belong to dx-code-analyzer-configure, and custom rule creation to dx-code-analyzer-custom-rule-create.
Summary written with AI assistance from the project's public description.
Categories
More from forcedotcom
Platform Apex Generate
Primary Apex authoring skill for class generation, refactoring, and review. ALWAYS ACTIVATE when the user mentions Apex, .cls, triggers, or asks to...
by forcedotcom
Platform Apex Test Generate
Generate and validate Apex test classes with TestDataFactory patterns, bulk testing (251+ records), mocking strategies, assertion best practices, a...
by forcedotcom
Platform Apex Test Run
Apex test execution, coverage analysis, and test-fix loops with 120-point scoring. Use when the user needs to run Apex tests, check code coverage,...
by forcedotcom
Platform Apex Logs Debug
Salesforce debug log analysis and troubleshooting with 100-point scoring. TRIGGER when: user analyzes debug logs, hits governor limits, reads stack...
by forcedotcom
Similar Skills
Find Skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", o...
by vercel-labs
Grill Me
A relentless interview to sharpen a plan or design.
by mattpocock
Ai Video Generation
Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0,...
by inference-sh
Ai Image Generation
Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FL...
by inference-sh