Back to Codex Pets
github
checked
MIT

重构兔

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

Created by jalcantarabCreator profile
Download packageView source
Install
mkdir -p ~/.codex/pets/refactor-rabbit-8242a04d && curl -L -o ~/.codex/pets/refactor-rabbit-8242a04d/pet.json https://raw.githubusercontent.com/jalcantarab/agent-familiars/main/pets/refactor-rabbit/pet.json && curl -L -o ~/.codex/pets/refactor-rabbit-8242a04d/spritesheet.webp https://raw.githubusercontent.com/jalcantarab/agent-familiars/main/pets/refactor-rabbit/spritesheet.webp
About 重构兔

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

FAQ

重构兔能做什么?

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

如何安装重构兔?

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

Related Codex Pets

github
Checked

Prompt Parrot

By jalcantarab

一只提示优化鹦鹉,通过其喙的节奏和羽毛的排列,将想法重组为更清晰的指令。

8001
Updated 2026年6月9日
DownloadSource
github
Checked

队列螃蟹

By jalcantarab

一只横向移动的任务队列螃蟹,它的钳子追踪待处理工作,并将任务拉入执行状态。

8001
Updated 2026年6月9日
DownloadSource
github
Checked

橡皮鸭 2.0

By jalcantarab

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

8001
Updated 2026年6月9日
DownloadSource