St validate
Validate Tonel file syntax before importing to Pharo. Use when suspecting syntax errors in .st files, or when a file was edited manually and correctness is uncertain.From its SKILL.md
npx -y skills add mumez/smalltalk-dev-plugin --skill st-validateAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 14 stars14 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.1 KB, 169 tokens by cl100k_base, as published. Nobody here has run it
Validate Tonel Syntax
Validate Tonel .st files before importing to Pharo. Modern AI usually generates correct Tonel, so this is optional.
Usage
/st-validate /absolute/path/to/MyClass.st # validate a file
/st-validate 'Tonel source text' # validate content directly
Steps
- Call
validate_tonel_smalltalk_from_filefor a file path, orvalidate_tonel_smalltalkfor raw content - Report any syntax errors or confirm the file is valid
Notes
- Use
validate_smalltalk_method_bodyto validate a single method body in isolation - Validation errors must be fixed before importing
Examples
/st-validate /home/user/project/src/MyPackage/MyClass.st
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.