Start Smalltalk development session - loads smalltalk-developer skill and explains the development workflow
Initializes Smalltalk development session by loading developer skill and verifying Pharo connection.
/plugin marketplace add mumez/smalltalk-dev-plugin/plugin install smalltalk-dev@smalltalk-dev-marketplaceStart a new Pharo Smalltalk development session by loading the smalltalk-developer skill and explaining the standard development workflow.
/st:* commands/st:init
This command:
.project file or src/ directory exists/st:setup-project firstSkill tool to load smalltalk-developer skilleval to verify Pharo is readyBefore loading the skill and showing commands, check if a Pharo project exists in the current directory:
# Check if project structure exists
if [ ! -f ".project" ] && [ ! -d "src" ]; then
echo "⚠️ No Pharo project structure detected in current directory"
echo ""
echo "It looks like you're starting fresh. I recommend setting up a project structure first:"
echo ""
echo " /st:setup-project MyProjectName"
echo ""
echo "This will create:"
echo " • .project configuration file"
echo " • src/ directory with package structure"
echo " • BaselineOf class for dependency management"
echo " • Core and Tests packages"
echo ""
echo "Would you like to run /st:setup-project now, or continue with initialization?"
exit 0
fi
Detection criteria:
.project file OR src/ directory exists → Continue with normal initializationImportant: This check should happen BEFORE loading the skill and BEFORE the connection test.
⚠️ No Pharo project structure detected in current directory
It looks like you're starting fresh. I recommend setting up a project structure first:
/st:setup-project MyProjectName
This will create:
• .project configuration file
• src/ directory with package structure
• BaselineOf class for dependency management
• Core and Tests packages
Would you like to run /st:setup-project now, or continue with initialization?
After running /st:init in a directory with an existing project, you'll see:
The standard Pharo Smalltalk development cycle:
.st files in your editor/st:lint PackageName # Check Smalltalk best practices
/st:import PackageName /absolute/path/to/src
/st:test PackageNameTest
/st:eval YourClass new someMethod
Once initialized, you can use:
/st:import - Import Tonel package to Pharo/st:test - Run SUnit tests/st:eval - Execute Smalltalk code for debugging/st:export - Export package from Pharo (when needed)/st:validate - Validate Tonel syntax (optional)You: Create a Person class with name and age in Pharo Smalltalk
AI: [Creates Person.st file in Tonel format]
Suggested: /st:import MyPackage /home/user/project/src
You: /st:import MyPackage /home/user/project/src
AI: ✅ Package imported successfully
Suggested: Create tests or add methods
You: /st:test PersonTest
AI: ❌ Test failed: testFullName
Error: MessageNotUnderstood: #fullName
You: Debug this error
AI: [smalltalk-debugger skill activates]
Let me investigate using /st:eval...
[Finds the issue, suggests fix]
The Person class is missing the #fullName method.
You: Add the fullName method
AI: [Adds method to Person.st]
Suggested: /st:import MyPackage /home/user/project/src
The command will test your Pharo connection by running:
Smalltalk version
If this fails, you'll see instructions to:
Use /st:init when:
This command loads the smalltalk-developer skill, which provides:
Other skills available:
/st:init every time - the skill will activate automatically when you work with SmalltalkIf initialization fails:
SisServer current start
PHARO_SIS_PORT environment variable (default: 8086)pharo-smalltalk-interop-mcp-server is installed