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

multirepo-diff-mod

폴더 안의 **모든 git 저장소** 변경 사항을 하나의 패널에 보여 주는 Claude Code mod입니다.

번역 완료

이 mod 소개

현재 세션 폴더와 .git 디렉터리가 있는 하위 폴더를 검색해 모든 저장소의 git 변경 사항을 하나의 패널에 표시하는 /multi-diff 명령을 제공하는 Claude Code 플러그인입니다. 저장소와 worktree를 선택한 뒤, 커밋되지 않은 변경과 HEAD, 스테이징되지 않은 변경과 스테이징된 변경, 스테이징된 변경과 HEAD, 브랜치와 기준 브랜치(PR), 또는 현재 Claude 세션에서 편집한 파일과 편집 전 내용 중 비교 모드를 고를 수 있습니다. 변경된 파일은 선택한 파일의 diff 옆 트리로 표시되며, 다시 스캔하고 밝은색/어두운색 diff를 전환할 수 있습니다. Detached worktree는 ‘Show detached’를 선택하지 않으면 숨겨집니다. Desktop 앱에서는 긴 diff와 파일 목록이 페이지로 나뉩니다. claude --plugin-dir /path/to/multirepo-diff-mod로 로컬 설치하거나 ~/.claude/settings.json의 CLAUDE_CODE_PLUGIN_DIRS에 폴더를 추가할 수 있으며, 편집하면 핫 리로드됩니다. MIT 라이선스입니다.

설치

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

claude plugin marketplace add nvsravank/multirepo-diff-mod
claude plugin install multirepo-diff-mod
원문 / README

multirepo-diff-mod

A Claude Code mod that shows the changes in every git repo in a folder in one pane.

  • /multi-diff scans the session's folder. The folder itself is included when it is a repo, along with every child folder that has a .git.
  • /multi-diff <path> scans another folder.
  • Pick a repo, then a worktree of it. Detached worktrees are hidden until you choose Show detached.
  • Pick what to compare:
    • Uncommitted vs HEAD: staged and unstaged changes
    • Unstaged vs staged
    • Staged vs HEAD
    • Branch vs base (PR): the branch's commits since it left origin/main (or the repo's default branch)
    • This Claude session: files Claude edited in this session, against their content before its first edit
  • Changed files show as a tree on the left (☰ hides it), and the selected file's diff is on the right. ⟳ rescans, and ☀/☾ switches the diff's colors.

In the Desktop app, long diffs and file lists are shown a page at a time (Previous/Next), because very large panes stop responding there.

Install (local)

claude --plugin-dir /path/to/multirepo-diff-mod

Or add the folder to CLAUDE_CODE_PLUGIN_DIRS in the env block of ~/.claude/settings.json. Sessions started by the desktop app will then load it, and it hot-reloads when you edit it.

Feedback

Bug reports and feature requests are welcome as issues. This project doesn't accept pull requests; see CONTRIBUTING.md. Report security problems privately, as described in SECURITY.md.

Develop

claude plugin validate .
claude plugin test .

The Claude Code function-hooks API is in early access and may change between releases.

License

MIT. See LICENSE.

비슷한 프로젝트