pharo-tdd

Execute test-driven development workflows directly within a live Pharo Smalltalk image.

14|Updated Jun 9, 2026
One-click install
npx skills add https://github.com/KentBeck/SmalltalkGenie --skill pharo-tdd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pharo-tdd
Source: https://github.com/KentBeck/SmalltalkGenie/tree/main/.agents/skills/pharo-tdd
Command: npx skills add https://github.com/KentBeck/SmalltalkGenie --skill pharo-tdd

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines the Pharo Smalltalk TDD (test-driven development) process, eliminating the need for traditional text files, providing an interactive development experience that works entirely from within the live image.

Core Features & Use Cases

  • Test-Driven Development Loop: A structured workflow to facilitate TDD using genie MCP tools, from identifying and writing failing tests to confirming green outcomes.
  • No File-Based Editing: All actions, from creating tests and defining methods to reading sources and persisting images, occur without editing text files, maintaining the live image integrity.
  • Use Case: Imagine you're writing unit tests for a class. This Skill enables you to directly define methods, see changes immediately, and persist your changes without the overhead of file editing.

Quick Start

Execute 'define_method ("className method")' in the SmalltalkGenie's MCP client to implement test-first development directly within the Pharo live image.

Frequently Asked Questions about pharo-tdd

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run test-driven development in a live Pharo Smalltalk image?

Test-driven development in a live Pharo Smalltalk image runs directly through Model Context Protocol (MCP) calls. You execute the TDD loop by defining methods and tests within the live environment, bypassing traditional text file editing entirely.

Can I write Pharo Smalltalk code without editing text files?

Yes, you can write Pharo Smalltalk code without editing text files by using MCP calls to define methods and tests directly on the live image. This interactive approach maintains live image integrity while streamlining the development process.

What is the best way to execute a TDD loop using MCP tools in Smalltalk?

The best way to execute a TDD loop using MCP tools is to use the `define_method` command in the SmalltalkGenie MCP client. This allows you to implement test-first development by directly creating tests and methods in the live image.

Does interactive Pharo Smalltalk development support real-time class and method manipulation?

Interactive Pharo Smalltalk development fully supports real-time class, method, and test manipulations. Changes are seen immediately within the live image environment, allowing developers to confirm green test outcomes without file overhead.

Do I need a specific environment setup for live image development with Pharo?

Live image development with Pharo requires an active Pharo Smalltalk image and an MCP client connection. You must interact with the live image through the SmalltalkGenie MCP tools to execute the test-driven development process and persist changes.

Why does this Smalltalk TDD approach eliminate traditional text files?

This Smalltalk TDD approach eliminates traditional text files because all actions occur within the live image environment. Creating tests, defining methods, reading sources, and persisting images are handled through MCP calls to maintain live image integrity.