forcedotcom/sf-skills / plugins/builder/salesforce-code-quality/skills/dx-code-analyzer-custom-rule-create
dx-code-analyzer-custom-rule-create
VerifiedCreate 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. TRIGGER when: user says 'create a rule', 'ban System.debug', 'enforce naming convention', 'detect hardcoded IDs', 'custom rule', 'xpath rule', 'regex rule', 'add a PMD rule', 'enforce a policy', 'create a check for', 'flag this pattern', 'make a rule that catches', 'metadata rule', 'check permissions', 'enforce API version', 'eslint rule', 'lwc rule', 'override rule threshold', 'customize complexity', or describes a pattern to enforce. DO NOT TRIGGER when: user wants to run a scan (use dx-code-analyzer-run), configure engines (use dx-code-analyzer-configure), or explain existing rules (use dx-code-analyzer-run).
Security report
VerifiedStatic analysis of one exact version. It reduces risk and shows evidence; it does not certify that a skill is safe.
- Commit
788b83fb9f5effb4f1548e3090df415704d3ec64- Content hash
3ce3a4925491a62f90a78bc976f98b743bf12a9af5bd2d00b54e14d1218ff1ed- Scanned
- 2026-11-17
- Scanner version
- skillxone-scan-1.0.0
- Policy version
- 0.1-draft
- Decision
- Every required check completed with no open blocking or medium findings.
- Verification expires
- 2026-12-17
Findings (9 low)
A link uses unencrypted http:// (pmd.sourceforge.net), so its content can be altered in transit.
xmlns="http://pmd.sourceforge.net/ruleset/2.0.0"Suggested fix: Use https://.
A link uses unencrypted http:// (soap.sforce.com), so its content can be altered in transit.
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">Suggested fix: Use https://.
A link uses unencrypted http:// (soap.sforce.com), so its content can be altered in transit.
<Flow xmlns="http://soap.sforce.com/2006/04/metadata">Suggested fix: Use https://.
A link uses unencrypted http:// (soap.sforce.com), so its content can be altered in transit.
<PermissionSet xmlns="http://soap.sforce.com/2006/04/metadata">Suggested fix: Use https://.
A link uses unencrypted http:// (pmd.sourceforge.net), so its content can be altered in transit.
xmlns="http://pmd.sourceforge.net/ruleset/2.0.0"Suggested fix: Use https://.
A link uses unencrypted http:// (pmd.sourceforge.net), so its content can be altered in transit.
xmlns="http://pmd.sourceforge.net/ruleset/2.0.0"Suggested fix: Use https://.
A link uses unencrypted http:// (soap.sforce.com), so its content can be altered in transit.
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">Suggested fix: Use https://.
A link uses unencrypted http:// (pmd.sourceforge.net), so its content can be altered in transit.
xmlns="http://pmd.sourceforge.net/ruleset/2.0.0"Suggested fix: Use https://.
A link uses unencrypted http:// (pmd.sourceforge.net), so its content can be altered in transit.
xmlns="http://pmd.sourceforge.net/ruleset/2.0.0"Suggested fix: Use https://.
Checks run
- prompt-injection
- dangerous-commands
- credentials
- network
- file-access
- integrity
Checks skipped
- dependencies: No dependency manifest in the skill directory.
- gitleaks: gitleaks is not installed on this host.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |