TokenToSeaSkills Hub
中文 Console

Dx Code Analyzer Custom Rule Create

SalesforceOfficial

Create custom Code Analyzer rules for Regex (pattern matching), PMD (XPath/AST for Apex and metadata XML), and ESLint (LWC/JavaScript/TypeScript). Use when users want to enforce coding standards, ban patterns, detect hardcoded values, govern metadata, or add rules not in the built-in set.

Install

npx skills add forcedotcom/sf-skills --skill dx-code-analyzer-custom-rule-create