
編集が触れたすべてのファイルを表示する Claude Code mod
Repowise の Lens は、インデックス化したコードベースをリアルタイムで可視化する Claude Code mod です。Claude が検索・読み取り・編集したファイルが点灯し、インポーターと逆向きの依存関係も強調表示します。影響を受けるファイルとカバレッジテストを示す Flow タブ、健全性の変化と推奨テストを実行するボタン付きのレビュー行も含みます。

この mod について
この記事は、Repowise のオープンソースコードベースインデクサー(コールグラフ、Git 履歴、テスト、コードの健全性)と、新しい Claude Code mod である Lens を紹介します。新しい Claude Code mod で /lens を使うと、リポジトリマップのオーバーレイが表示されます。Claude がファイルを検索、読み取り、編集するとそのファイルが点灯し、Claude がファイルを編集すると、そのファイルをインポートしているすべてのファイルも点灯します(例:Django の query.py にある 1 行のコメントで 12 ファイル、conf/init.py で約 248 ファイルが点灯)。Flow タブには、編集したファイルごとに、Claude が開いていないのに変更が到達する範囲、同時に変更されることが多いファイル、カバレッジテストが表示されます。編集後のレビュー行には健全性の変化と実行するテストが表示され、ワンクリックでそのテストを Claude に送れます。Lens はモデルを呼び出さず、Claude の操作を止めたり承認したりしません。セットアップ:/plugin marketplace add repowise-dev/repowise;/plugin install repowise@repowise;pip install repowise;repowise init --no-prose --yes;repowise serve --no-ui。Claude Code 2.1.287+ が必要です。インデックス作成は API key なしでローカルに行われます。リポジトリ:https://github.com/repowise-dev/repowise
インストール
インストール方法は元のソースをご確認ください。
原文 / README
Repowise is an open source tool that indexes your codebase - call graph, git history, tests and code health. Coding agents can query it instead of grepping around. We just shipped Lens, which uses the new Claude Code mods to show you that index while Claude works. Type /lens and you get a map of your repo. Files light up as Claude searches, reads and edits them. When Claude edits a file, every file that imports it lights up too. In the video, a one-line comment in Django's query.py lights up 12 files, and conf/ init .py lights up about 248. The Flow tab gives you a short list for each edited file: what the change reaches that Claude never opened, the files that usually change with it, and the tests that cover it. After an edit, a review row shows the health change and the tests to run, and one button sends those tests to Claude. Lens makes no model calls of its own, and it never blocks or approves anything Claude does. Setup: /plugin marketplace add repowise-dev/repowise /plugin install repowise@repowise pip install repowise repowise init --no-prose --yes repowise serve --no-ui You need Claude Code 2.1.287+. Indexing runs locally and needs no API key. https://github.com/repowise-dev/repowise submitted by /u/Obvious_Gap_5768 [link] [comments]
