LogoClawIndex
CasesSkillsAbout
LogoClawIndex

add-code-inspector-rule - Add Custom CodeInspector Rules for Wolfram Language

Add custom CodeInspector rules to detect problematic Wolfram Language code patterns by defining AST patterns, handler functions, and tests.

Tags

Updated: 2026-06-30

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • parse Wolfram Language AST structure
  • read existing CodeInspector rules file
  • define reusable AST patterns
  • add rule entries to Rules.wl
  • write rule handler functions
  • write verification tests
  • run tests via TestReport tool

Inputs

  • rule description
  • Wolfram Language code examples
  • Kernel/Tools/CodeInspector/Rules.wl file
  • Tests/CodeInspectorTool.wlt file

Outputs

  • modified Rules.wl file with new rule
  • modified test file with verification tests
  • test execution report

Requirements

  • Wolfram Language runtime environment
  • CodeParser package
  • CodeInspector package
  • WolframLanguageEvaluator tool
  • TestReport MCP tool

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.
CodeInspector
Wolfram Language
code analysis
lint rules
AST patterns
code inspection
parse Wolfram Language AST structure
read existing CodeInspector rules file
define reusable AST patterns
add rule entries to Rules.wl
rule description
Wolfram Language code examples
Kernel/Tools/CodeInspector/Rules.wl file
modified Rules.wl file with new rule
modified test file with verification tests
test execution report