有人做了个 Claude Code mod:把失败的测试变成怪物对战
原文标题:A wild Syntaxon appeared! I made a Claude Code mod that turns failing tests into monster battles
Bugdex 是一个 Claude Code mod,把编码过程画成怪物对战:测试、lint、构建或合并失败会生成野生 bug,失败数量即 bug 血量,你的血量是空闲上下文窗口,测试转绿即击败并获得 XP。它包含 20 个原创像素风物种,不发起网络请求也不调用模型,因此零 token 消耗,需 Claude Code 2.1.286+ 并支持 mods。
| My test suite has a Bugdex now. 🐛 Bugdex is a mod for Claude Code that turns a normal coding session into a monster-battle game. Nothing about the work changes: same files, same tests, same fixes. Bugdex just watches and draws it as a fight. How a fight goes
You can't farm it: XP only comes from red → green, and losing costs nothing. There are 20 species so far, all original pixel art (half blocks in the terminal, SVG in the desktop app), and your own creature evolves from Patchling to Patchwarden at Lv16 and Patchtitan at Lv36. It makes no network requests and no model calls, so it costs zero tokens. It only reads tool output to spot test runs and edits. Install (needs Claude Code 2.1.286+ with mods): Repo: https://github.com/ahmtsahin/bugdex There's a tiny demo project with a planted bug, so you can meet your first Syntaxon in about a minute. Which error deserves its own species next? I'm leaning towards a CORS ghost that only haunts browsers. 👻 submitted by /u/impala_64 to r/ClaudeCode[link] [留言] |
来源:Reddit · ClaudeCode / Codex / VibeCoding · reddit.com