LogoClawIndex
CasesSkillsAbout
LogoClawIndex

dx-code-analyzer-custom-rule-create - Create Custom Code Analyzer Rules

Create and test custom Regex, PMD/XPath, or ESLint rules for enforcing code and metadata patterns.

Tags

Updated: 2026-12-02

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Select an analysis engine
  • Inspect Apex AST output
  • Create Regex rules
  • Create PMD XPath rules
  • Create ESLint rules
  • Validate created rules
  • Test positive matches
  • Test negative matches
  • Configure file exclusions
  • Organize shared rulesets
  • Override rule thresholds

Inputs

  • Target code pattern
  • Allowed exceptions
  • File scope
  • Rule severity
  • Sample files
  • Selected code
  • Engine preference
  • Project configuration

Outputs

  • Custom rule definitions
  • Code Analyzer configuration changes
  • ESLint configuration changes
  • Rule validation results
  • Positive test results
  • Negative test results

Requirements

  • git >=2.0.0
  • Node.js >=18.0.0
  • npm >=9.0.0
  • Salesforce CLI (sf) >=2.0.0

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
Code Analyzer
custom rules
static analysis
Regex
PMD
ESLint
Apex
metadata governance
Select an analysis engine
Inspect Apex AST output
Create Regex rules
Create PMD XPath rules
Target code pattern
Allowed exceptions
File scope
Custom rule definitions
Code Analyzer configuration changes
ESLint configuration changes