Wolfram Code Inspector Rule Builder
Streamlines the creation and implementation of custom static analysis rules to detect problematic Wolfram Language patterns.
The add-code-inspector-rule skill provides a comprehensive, step-by-step workflow for extending the Wolfram Language CodeInspector. It enables developers to define custom linting rules by matching Abstract Syntax Tree (AST) patterns, concrete code structures, or raw text levels. By guiding users through AST exploration, handler implementation, and automated testing, this skill ensures that domain-specific best practices and anti-patterns are consistently identified and enforced across Wolfram Language projects.
主要功能
01Standardized templates for handler functions and inspection metadata
02Guided multi-step workflow for rule definition and implementation
03Integrated verification testing framework to prevent false positives
04Support for Abstract, Concrete, Aggregate, and Text-level rule types
05AST exploration and pattern matching using CodeParser tools
0660 GitHub stars
使用场景
01Automating code reviews by flagging common logical errors and style issues
02Enforcing project-specific coding standards and naming conventions
03Identifying deprecated or high-risk Wolfram Language function usage