Refactor messy Pharo code safely through the genie MCP tools, working from the live image (no files). Use for renames, method extraction, moving behavior, or general cleanup of existing code.
中文简介正在准备中。当前显示原文说明。
Use when modifying a Genie-backed Pharo project through the live MCP server on localhost:8087; includes project ownership, image read/change/test/save workflow, and first steps for new user projects.
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Use this skill for any task that reads, changes, tests, or saves Smalltalk code in a Genie-backed project.
.genie/project.ston if it exists.#ownedPackages.#ownedPackages, stop and
ask unless the user explicitly asked to work on Genie itself.Preferred endpoint:
http://localhost:8087/mcp
The server is JSON-RPC MCP. Do not assume REST paths like /list-packages
exist.
Use tools by name:
list_packages, list_classes, list_methodsget_class_source, get_method_source, get_class_commentsearch_classes_like, search_methods_likesearch_implementors, search_references, search_references_to_classdefine_class, define_method, rename_class, remove_class,
remove_methodrun_testsave_imagesave_image gated on the relevant test package when green.The live image is the source of truth. Do not edit .st, Tonel, or generated
export files as the primary way to change behavior unless the user explicitly
asks for export/import maintenance.
Read references/mcp-8087.md when you need the exact JSON-RPC request shape or
a curl smoke test.
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Refactor messy Pharo code safely through the genie MCP tools, working from the live image (no files). Use for renames, method extraction, moving behavior, or general cleanup of existing code.
中文简介正在准备中。当前显示原文说明。
Rename Pharo methods safely through Genie's `rename_method` MCP refactoring tool. Use when a selector should be renamed while preserving behavior, updating senders and symbol references across the live image, including as one step in larger refactorings such as clarify API names, split responsibilities, or move behavior behind better messages.
中文简介正在准备中。当前显示原文说明。
Drive a Genie change test-first through the genie MCP tools, working entirely from the live image (no files). Use when adding behavior or fixing a bug in the image — anything where a test should lead.
中文简介正在准备中。当前显示原文说明。
Use when reviewing or refactoring code that pulls apart another object's private representation, such as raw limb/byte/slot access, slice constructors, or helper methods that expose internal storage. Guides agents to find representation envy and suggest moving behavior onto the object that owns the representation, using live-image Genie tools when working in Pharo.
中文简介正在准备中。当前显示原文说明。