Skip to content
D

dx-code-analyzer-custom-rule-create

Create custom Code Analyzer rules for Regex (pattern matching), PMD

by forcedotcomFree

#6717in AI Skills
0In stores

Description

This agent skill writes custom rules for Salesforce Code Analyzer, for cases where the built-in rules do not cover a team's own standard. It…

Highlights

  • Write Regex rules that ban specific patterns
  • Write PMD XPath rules for Apex and metadata XML
  • Set up ESLint rules for LWC, JavaScript and TypeScript
  • Override built-in rule thresholds
  • Group custom rules into shared rulesets

Ratings & Reviews

No ratings yet

Be the first to rate dx-code-analyzer-custom-rule-create.

People also visit

D

dx-code-analyzer-run

Run Salesforce Code Analyzer to scan code for security, performance

AI Skills
Get
T

trailofbits/semgrep-rule-creator

Create and refine Semgrep rules for vulnerability detection

AI Skills
Get
R

running-code-analyzer

Run Salesforce Code Analyzer to scan code for security, performance

AI Skills
Get
M

mantis-researcher

Audits production source code files based on the strategy in workspace/plan.json

AI Skills
Get
Q

qodo-get-rules

Retrieve and apply Qodo coding rules relevant to implementation, planning

AI Skills
Get
S

semgrep

Run Semgrep static analysis scans and create custom detection rules

AI Skills
Get

dx-code-analyzer-custom-rule-create FAQ

What kinds of rules can it write?

It writes Regex rules for text patterns, PMD rules that use XPath against Apex or metadata XML, and ESLint rules for LWC and JavaScript or TypeScript code.

Can it change the built-in thresholds?

Yes. The skill covers overriding built-in thresholds such as CyclomaticComplexity and ExcessiveParameterList.

Does it run the scans itself?

No. Running scans and reading results is the job of the companion skill dx-code-analyzer-run. Setup and CI/CD work belongs to dx-code-analyzer-configure.

How do I install it?

Run npx skills add https://github.com/forcedotcom/sf-skills --skill dx-code-analyzer-custom-rule-create.

What security audits has it passed?

Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.

What are the best dx-code-analyzer-custom-rule-create alternatives?

Popular alternatives to dx-code-analyzer-custom-rule-create include dx-code-analyzer-run, trailofbits/semgrep-rule-creator and running-code-analyzer. See all dx-code-analyzer-custom-rule-create alternatives

Developer Stuff

Badges