PET·REFACT listed
github
checked
MIT
重构兔
一只整洁的重构兔子,能将附加的代码块重新排列成更简洁的形状。
Created by jalcantarabCreator profile
Install 重构兔
/pet install https://github.com/jalcantarab/agent-familiars- 1Make sure the Codex CLI is installed and you are signed in.
- 2Copy the install command above and run it in your terminal:
/pet install https://github.com/jalcantarab/agent-familiars. It downloads the package into~/.codex/pets/. - 3Open
/petinside Codex and select 重构兔 to bring it to life in your session.
About 重构兔
**重构兔** 是一款可爱的桌面宠物,专为开发者设计。它能智能地分析并重新排列您附加的代码块,将其转化为更清晰、更简洁的结构。作为 `agent-familiars` 项目的一部分,它通过 MCP 协议与您的开发环境无缝集成,让代码重构变得轻松有趣。
Tags
FAQ
Frequently asked questions
重构兔能做什么?
它能接收您提供的代码块,并尝试通过重新排列代码结构(如提取函数、简化条件逻辑等)来使其更简洁、更易读。
如何安装重构兔?
您可以通过 Codex 宠物包系统安装。其源代码和包文件位于 GitHub 仓库 `jalcantarab/agent-familiars` 的 `pets/refactor-rabbit` 目录下。
