Lumin Repo Lens
🇰🇷 한국어로 읽으시려면 → README.ko.md · 🇬🇧 English continues below.
The kind little buddy that says "this already exists" before you write it again.
Your repo's companion for vibe-coding sessions.

Sound familiar? 😅
You ask AI:
"Make me a card-news service"
AI happily spins up a new file → lib/cardNewsService.js ✨
But your repo already had three similar files in lib/cardNews/. 😱
With lumin-repo-lens-lab riding along, Claude can say first:
🛑 "Wait — there are already 3 similar files under lib/cardNews*. Want to look before making a new one?"
Real evidence from your actual repo, not guesses.
First useful run
1. Add the marketplace and install the plugin in Claude Code
/plugin marketplace add annyeong844/lumin-repo-lens-lab
/plugin install lumin-repo-lens-lab@annyeong844-marketplace
/reload-plugins
2. Run the full first checkup
/lumin-repo-lens-lab:full
→ This turns on the parts that make Lumin more than a dead-export sorter:
shape index, function-clone cues, call graph, barrel discipline, topology,
public-surface policies, and the grounded review profile.
3. Use the write gate when you are about to change code
/lumin-repo-lens-lab:pre-write
# code the change
/lumin-repo-lens-lab:post-write
Claude Code infers the compact intent internally. You do not need to write
the intent JSON by hand.
💡 First run installs parser dependencies once (~30 seconds). After that, fast.
For tiny follow-up checks after a fresh baseline, /lumin-repo-lens-lab uses the quick path.
⚙️ Packages include the Rust lumin-audit-core helper for the build
platform plus a minimal packaged Cargo source fallback. If the runtime
platform binary is not packaged, the wrapper can build the current-platform
helper from _engine/rust/Cargo.toml when Cargo is available. You can also
point LUMIN_AUDIT_CORE_BIN_<PLATFORM>_<ARCH> / LUMIN_AUDIT_CORE_BIN at a
matching external binary, or put lumin-audit-core on PATH. In a source
checkout, the wrapper can build from experiments/Cargo.toml; set
LUMIN_AUDIT_CORE_NO_AUTO_BUILD=1 if you want missing helper binaries to
fail instead of invoking Cargo.
WSL: treat WSL as Linux. Use Node ^20.19.0 || >=22.12.0 inside WSL,
keep the skill checkout and node_modules in the WSL filesystem, and run
npm ci --omit=dev --ignore-scripts --no-audit --fund=false there. Do not
reuse a Windows node_modules tree under /mnt/c; native OXC bindings are
platform-specific. The packaged linux-x64 audit-core should run without
Cargo. LUMIN_AUDIT_CORE_NO_AUTO_BUILD=1 makes that guarantee explicit.
For very large repos, do not auto-trigger full profile on every edit. Run
:full once per branch, first checkup, or major refactor review, then use
pre-write/post-write and quick follow-ups during the agent loop.
Who is this for?
✅ Great fit if you
- code alongside AI and your repo is getting messy
- watch AI rewrite functions that already exist
- want to verify what changed after a refactor
- work in TypeScript / JavaScript, including monorepos
❌ Not a fit (yet) if you
- mainly write Python / Rust / etc. (Go is partially supported)
- don't use AI coding tools (this exists to give your AI evidence)
- have a 1–2 file mini project (the audit value won't show up)
Core commands
| Command | When to use |
|---|
/lumin-repo-lens-lab:full | Full evidence profile — first checkup, post-refactor review, shape/function-clone/call/topology evidence |
/lumin-repo-lens-lab:pre-write | Check before coding. Ask naturally; the assistant infers the compact intent internally. |
/lumin-repo-lens-lab:post-write | Verify after coding — "did my change ripple anywhere else?" |
/lumin-repo-lens-lab | Quick baseline-aware repo lens pass for small follow-up checks over fresh artifacts |
/lumin-repo-lens-lab:refactor-plan | Turn evidence into a cautious cleanup plan |
/lumin-repo-lens-lab:welcome | Get a gentle first-use menu |
Maintainers can also use /lumin-repo-lens-lab:canon-draft and
/lumin-repo-lens-lab:check-canon for canon lifecycle work.
First pass, stale or missing artifacts, explicit review, due diligence,
large refactor planning, and post-refactor review should run --profile full.
Small follow-up checks over a fresh baseline can use the quick path.
📦 Other install options
Run the packaged CLI from a clone
In the generated skill package, use the public wrapper: