ClaudeMods
☰
KO
● 0 명 접속 중 · 조회 0 회
후원프로젝트 제출
GitHub 저장소 · 작성자 ShriD5

rubber-duck

Claude가 수행하는 모든 편집에 빠른 두 번째 의견을 주는 플러그인입니다.

번역 완료

이 mod 소개

성공한 Edit, MultiEdit 또는 Write 뒤마다 변경 사항을 작은 고속 모델(기본 Haiku)에 보내 “여기에 실제 문제가 있는가?”라고 묻습니다. 제거된 오류 처리, 삭제되거나 비활성화된 테스트, 삼켜진 예외, 하드코딩된 비밀이나 URL, off-by-one, 바뀐 공개 시그니처, 남겨진 TODO를 찾습니다. 발견하면 토스트를 보여 주고 아니면 조용히 있습니다. /duck은 최근 우려 20개(시간, 파일, 우려)와 Clear 버튼이 있는 패널을 엽니다. 편집을 막거나 느리게 하지 않습니다. 검토는 도구 호출이 반환된 뒤 실행되고 실패해도 아무 일도 없습니다. 한 파일당 동시에 최대 한 번의 검토만 실행합니다. 잠금 파일, 빌드 출력, 축소되었거나 생성된 파일, 200 KB가 넘는 파일은 건너뜁니다. claude --plugin-dir /path/to/claude-mods/rubber-duck로 설치하거나 저장소를 마켓플레이스에 추가한 뒤 /plugin으로 설치합니다. 옵션은 model(기본 haiku)과 tellClaude(기본 false, 다음 프롬프트로 새 우려를 Claude에 전달)입니다.

설치

먼저 작성자의 README에서 marketplace와 플러그인 이름을 확인하세요. 저장소 구조에 따라 명령어가 달라질 수 있습니다.

claude plugin marketplace add ShriD5/claude-mods
claude plugin install rubber-duck
원문 / README

rubber-duck

A fast second opinion on every edit Claude makes.

After each successful Edit, MultiEdit or Write, the change goes to a small, fast model (Haiku by default) with one question: is there a real problem here? It looks for removed error handling, a deleted or disabled test, a swallowed exception, a hardcoded secret or URL, an off-by-one, a changed public signature, or a TODO left in. If it finds one you get a toast:

🦆 Removed error handling around fetch (api.ts)

Otherwise it stays quiet. /duck opens a pane with the last 20 concerns (time, file, concern) and a Clear button.

It never blocks or slows the edit: the review runs after the tool call has returned, and if it fails, nothing happens (details go to the debug log). At most one review per file runs at a time; if Claude edits a file again meanwhile, only the latest edit gets reviewed next. Lockfiles, build output (dist/, node_modules/, ...), minified or generated files, and files over 200 KB are skipped.

Install

claude --plugin-dir /path/to/claude-mods/rubber-duck

Or add the repo as a marketplace and install it with /plugin.

Options

| Option | Default | What it does | | --- | --- | --- | | model | haiku | the review model: an alias or a full model id | | tellClaude | false | also pass new concerns to Claude with your next prompt, so it can fix them or call them false alarms |

How it works

A tool.call hook awaits next(e), takes the diff from the tool's own patch, and starts the review on a $.clock.after timer, which calls $.model.complete. Concerns live in $.state, which the /duck pane reads, and with tellClaude on a prompt.submit hook adds them to your next prompt as context.

비슷한 프로젝트