PET·REFACT listed
github
checked
MIT

重构兔

一只整洁的重构兔子,能将附加的代码块重新排列成更简洁的形状。

Created by jalcantarabCreator profile
Download packageView source
Install 重构兔
/pet install https://github.com/jalcantarab/agent-familiars
  1. 1Make sure the Codex CLI is installed and you are signed in.
  2. 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/.
  3. 3Open /pet inside Codex and select 重构兔 to bring it to life in your session.
About 重构兔

**重构兔** 是一款可爱的桌面宠物,专为开发者设计。它能智能地分析并重新排列您附加的代码块,将其转化为更清晰、更简洁的结构。作为 `agent-familiars` 项目的一部分,它通过 MCP 协议与您的开发环境无缝集成,让代码重构变得轻松有趣。

FAQ
Frequently asked questions

重构兔能做什么?

它能接收您提供的代码块,并尝试通过重新排列代码结构(如提取函数、简化条件逻辑等)来使其更简洁、更易读。

如何安装重构兔?

您可以通过 Codex 宠物包系统安装。其源代码和包文件位于 GitHub 仓库 `jalcantarab/agent-familiars` 的 `pets/refactor-rabbit` 目录下。

Related Codex Pets

PET·POCKET listed
github
Pocket Oracle

By jalcantarab

一款小型平板使魔,其光圈会随着 Codex 状态变化而开启、云化、扫描或等待。

28001Updated 2026年7月9日
DownloadSource
PET·RUBBER listed
github
橡皮鸭 2.0

By jalcantarab

一只升级为可疑地有用的AI编码助手的调试鸭。

20201Updated 2026年7月9日
DownloadSource
PET·DEMODO listed
github
Demo Dolphin

By jalcantarab

一款产品演示海豚,以流畅而克制的表演呈现故事节点。

17001Updated 2026年7月9日
DownloadSource