Quick reference for all available slash commands. All commands are implemented as user-invokable skills in the skills/ directory — the st-* prefix distinguishes user-invoked commands from background AI skills.
Start your friendly Smalltalk development assistant. This is the easiest way to use the plugin.
/st-buddyUse for:
- Getting started with Smalltalk development
- General questions about development, debugging, or code understanding
- Guided workflows with automatic skill loading
- Learning AI-assisted Smalltalk development
What it does:
- Provides a friendly, conversational interface
- Routes questions to appropriate specialized skills
- Guides through development, testing, and debugging workflows
- Helps you learn effective AI development patterns
Example interaction:
/st-buddy
You: "I want to create a Person class with name and age"
AI: I'll help you create that! [Loads smalltalk-developer skill and guides implementation]
You: "My test failed with MessageNotUnderstood"
AI: Let me help debug this... [Loads smalltalk-debugger skill and investigates]
After running /st-buddy once, you can simply ask questions naturally without prefixing commands.
Start a new Smalltalk development session. Loads the smalltalk-developer skill and explains the Edit → Import → Test workflow.
/st-initUse for:
- Starting a new development session
- Getting oriented with the Pharo development workflow
- Verifying your environment is ready
- Learning the available commands
What it does:
- Loads smalltalk-developer skill
- Verifies Pharo connection
- Explains the standard development cycle
- Lists available commands and tools
Set up Pharo project boilerplate structure from scratch. Creates standard package layout with BaselineOf, Core, and Tests packages.
/st-setup-project MyProject
/st-setup-projectUse for:
- Starting a new Pharo project from zero
- Creating standard package structure
- Generating baseline configuration automatically
What it creates:
.projectfile with src directory configurationsrc/BaselineOfXXX/with baseline class and package.stsrc/XXX-Core/with package.stsrc/XXX-Tests/with package.st- Baseline method with proper package dependencies
Requirements:
- Project name must be in PascalCase (e.g., MyProject, RedisClient)
- Will not overwrite existing projects (stops if src/ contains packages)
Execute Smalltalk code snippets for quick testing and debugging.
/st-eval Smalltalk version
/st-eval MyClass new doSomethingUse for:
- Connection checks
- Quick code testing
- Debugging with error handling patterns
Lint Tonel files for Smalltalk best practices before importing.
/st-lint src/MyPackage
/st-lint src/MyPackage/MyClass.st
/st-lint srcUse for:
- Checking code quality before import
- Ensuring Smalltalk best practices
- Finding common code issues early
What it checks:
- Class prefix (name collision prevention)
- Method length (15 lines standard, 40 for UI/tests)
- Instance variable count (max 10)
- Direct instance variable access (use accessors)
Import Tonel packages into running Pharo image.
/st-import MyPackage /home/user/project/src
/st-import MyPackage-Tests /home/user/project/srcUse for:
- Loading changes after editing Tonel files
- Re-importing after fixes
Recommended workflow:
- Edit Tonel files
- Run
/st-lintto check quality - Run
/st-importto load into Pharo - Run
/st-testto verify
Export package from Pharo image back to Tonel files.
/st-export MyPackage /home/user/project/src
/st-export MyPackage-Tests /home/user/project/srcUse for:
- Saving debugger fixes back to Tonel files
- Exporting code generated in Pharo
- Syncing after interactive development in Pharo
Run SUnit tests.
/st-test MyTestClass
/st-test MyPackage-TestsUse for:
- Verifying implementations
- Regression testing
Validate Tonel syntax. Rarely needed with modern AI.
/st-validate /path/to/file.stUse for:
- Debugging mysterious import failures
- Validating manually edited files