본문으로 건너뛰기
cccskills
무료GitHub에 공개

pharo-live-image

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.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(2)

  • SKILL.md2.0 KB
  • references/mcp-8087.md918 B

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Pharo Live Image Workflow

Use this skill for any task that reads, changes, tests, or saves Smalltalk code in a Genie-backed project.

Before Changing Code

  1. Read .genie/project.ston if it exists.
  2. Identify the project package prefix and #ownedPackages.
  3. Use MCP read/search tools to inspect the live image before assuming a class, selector, or package exists.
  4. If the requested change touches packages outside #ownedPackages, stop and ask unless the user explicitly asked to work on Genie itself.

MCP Server

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_methods
  • get_class_source, get_method_source, get_class_comment
  • search_classes_like, search_methods_like
  • search_implementors, search_references, search_references_to_class
  • define_class, define_method, rename_class, remove_class, remove_method
  • run_test
  • save_image

TDD Loop

  1. Locate current code with MCP read/search tools.
  2. Add or update a test in the project test package.
  3. Run the test and confirm it fails for the expected reason.
  4. Implement the smallest image change through MCP.
  5. Read changed methods/classes back.
  6. Run the relevant class/package tests.
  7. Save with save_image gated on the relevant test package when green.

Exported Files

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.

References

Read references/mcp-8087.md when you need the exact JSON-RPC request shape or a curl smoke test.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

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.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

KentBeck/SmalltalkGenie202026년 7월 20일 업데이트

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.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

KentBeck/SmalltalkGenie202026년 7월 20일 업데이트

pharo-tdd

무료

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.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

KentBeck/SmalltalkGenie202026년 7월 20일 업데이트

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.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

KentBeck/SmalltalkGenie202026년 7월 20일 업데이트

KentBeck의 스킬 모두 보기

이 스킬의 문제 신고