
야생 Syntaxon이 나타났다! 실패하는 테스트를 몬스터 배틀로 바꾸는 Claude Code mod를 만들었습니다
Bugdex는 Claude Code mod로, 테스트·lint·빌드·merge 실패를 몬스터 배틀로 바꿉니다. 오류 유형이 벌레의 종류를 정하고, 실패 횟수가 HP가 되며, 무료 컨텍스트 창이 자신의 HP가 되고, 테스트가 녹색이 되면 벌레를 쓰러뜨려 XP를 얻습니다. 배틀 중 테스트를 추가하거나 수정해야만 벌레를 포획할 수 있으며 테스트를 건드리지 않고 우회하거나 고친 경우에는 Flakeling으로만 계산됩니다. 같은 파일을 3번 수정하고도 진전이 없으면 Confused 상태가 됩니다. 오리지널 픽셀 아트 20종을 포함하고 터미널에서는 반 블록 문자, 데스크톱 앱에서는 SVG를 사용하며 생물은 Patchling에서 진화합니다. 네트워크 요청이나 모델 호출을 하지 않고 토큰 비용도 없으며 테스트 실행과 편집을 판단하기 위해 도구 출력만 읽습니다. 설치에는 mods를 지원하는 Claude Code 2.1.286+가 필요합니다.

이 mod 소개
u/impala_64가 올린 Reddit 게시물입니다. Bugdex는 도구 출력의 테스트 실행과 파일 편집을 감시해 실패를 몬스터 배틀로 바꾸는 Claude Code 게임화 mod입니다. 테스트, lint, 빌드 또는 merge가 실패하면 야생 벌레가 나타나고 실제 오류에 따라 종이 정해집니다(TypeError→Typhox, Cannot read properties of undefined→Nullbat, psycopg2 오류→Querydile, JavaScript heap out of memory→Heaphant). 실패 횟수가 벌레의 HP이고 실패 수가 줄어들 때마다 공격으로 계산되며, 무료 컨텍스트 창은 자신의 생물 HP입니다. 테스트가 모두 녹색이 되면 벌레가 쓰러지고 XP를 얻습니다. Bugdex에 등록하려면 배틀 중 테스트를 작성하거나 수정해야 합니다. 원래부터 녹색이고 아무것도 편집하지 않았다면 Flakeling(불안정한 테스트)이 되어 10 XP를 줍니다. 같은 파일을 3번 이상 편집했는데도 진전이 없으면 생물이 Confused 상태가 됩니다. XP는 빨간 상태에서 녹색으로 바뀔 때만 얻으므로 반복해서 올릴 수 없고 실패에 따른 불이익도 없습니다. 현재 오리지널 픽셀 아트 종 20종이 있으며 터미널에서는 반 블록 문자, 데스크톱 앱에서는 SVG로 표시합니다. 생물은 Lv16에서 Patchwarden으로, Lv36에서 Patchtitan으로 진화합니다. 이 mod는 네트워크 요청이나 모델 호출을 하지 않고 토큰 비용이 0이며 도구 출력만 읽습니다. 요구 사항은 mods를 지원하는 Claude Code 2.1.286+입니다. /plugin marketplace add ahmtsahin/bugdex 및 /plugin install bugdex@bugdex로 설치합니다. 소스는 https://github.com/ahmtsahin/bugdex에 있고, bug가 주입된 작은 프로젝트도 포함되어 약 1분이면 첫 Syntaxon을 만날 수 있습니다.
설치
설치 방법은 원본 출처를 확인하세요.
원문 / README
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 A test, lint, build or merge fails → a wild bug appears . The species comes from the actual error: a TypeError summons a Typhox, Cannot read properties of undefined is a Nullbat, a psycopg2 error is a Querydile, and JavaScript heap out of memory is, naturally, a Heaphant. The number of failures is the bug's HP. Every run with fewer failures is a hit. Your creature's HP is your free context window. The suite goes green → the bug faints and you earn XP. To catch it, a test has to be written or fixed during the fight. No regression test, no Bugdex entry. Green again with nothing changed? It was a Flakeling all along: a flaky test. 10 XP, as a treat. The same file edited 3+ times with no progress → your creature gets Confused . The game's polite way of saying "maybe step in". 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): /plugin marketplace add ahmtsahin/bugdex /plugin install bugdex@bugdex 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 [link] [comments]


