lumin-repo-lens-write-β¦
Use before/after TS/JS code changes: add, edit, move, rename, refactor, make a helper/type/file/function, or ask if somethingβ¦
Maintainer-only canon surface for Lumin Repo Lens/lumin-repo-lens: draft or check promoted repository facts, canonical drift, canon-draft/check-canon results, parser contracts, and maintainer validation evidence.
Claude Code
$ npx -y skills add annyeong844/lumin-repo-lens --skill lumin-repo-lens-canon --agent claude-code
Codex
$ npx skills add annyeong844/lumin-repo-lens --skill lumin-repo-lens-canon -a codex -y
Cursor
$ npx skills add annyeong844/lumin-repo-lens --skill lumin-repo-lens-canon -a cursor -y
Gemini CLI
$ npx skills add annyeong844/lumin-repo-lens --skill lumin-repo-lens-canon -a gemini-cli -y
GitHub Copilot
$ npx skills add annyeong844/lumin-repo-lens --skill lumin-repo-lens-canon -a github-copilot -y
OpenCode
$ npx skills add annyeong844/lumin-repo-lens --skill lumin-repo-lens-canon -a opencode -y
Windsurf
$ npx skills add annyeong844/lumin-repo-lens --skill lumin-repo-lens-canon -a windsurf -y
name: lumin-repo-lens-canon description: "Maintainer-only canon surface for Lumin Repo Lens/lumin-repo-lens: draft or check promoted repository facts, canonical drift, canon-draft/check-canon results, parser contracts, and maintainer validation evidence."
This is the maintainer-facing canonical fact surface for lumin-repo-lens. It owns `canon-draft` and `check-canon` together because draft output is reviewed, promoted, and later checked for drift as one lifecycle.
Default voice is concise and factual. This surface may use colder terminology than the audit surface, but every claim still needs machine evidence and scan range. Do not use casual hedging. If evidence is missing or degraded, emit `unknown` or a degraded status directly with the scan range.
NO STRUCTURAL CLAIM WITHOUT MACHINE EVIDENCE NO ABSENCE CLAIM WITHOUT STATED SCAN RANGE
The shared engine lives in the sibling audit skill:
node ${CLAUDE_PLUGIN_ROOT}/skills/lumin-repo-lens/scripts/audit-repo.mjsIn a maintainer checkout, the equivalent command is:
node audit-repo.mjs
Slash commands still read `<SKILL_ROOT>/references/command-routing.md` from the shared audit skill for exact flag routing. Below, `<SKILL_ROOT>` means `${CLAUDE_PLUGIN_ROOT}/skills/lumin-repo-lens` in plugin installs, or the repo root in a maintainer checkout.
Below, `<audit-repo>` means whichever of the two commands above applies to the current context.
This surface owns `/lumin-repo-lens:canon-draft` and `/lumin-repo-lens:check-canon`.
slash-command routing.
artifact names matter.
per-source Markdown reports, and `canon-drift.json` shape.
`<SKILL_ROOT>/canonical/identity-and-alias.md`, and `<SKILL_ROOT>/canonical/classification-gates.md` when a drift category, identity, or label set is ambiguous.
Use when current artifacts should propose canonical facts for review:
<audit-repo> --canon-draft --root <repo> --output <dir> --sources <sources>
Drafts are proposals, not promoted truth. The model may summarize why a draft changed, but a human or maintainer process still promotes it.
Use when promoted `canonical/` facts should be compared against fresh artifacts:
<audit-repo> --check-canon --root <repo> --output <dir> --sources <sources>
If a source is missing, skipped, degraded, or diagnostic-only, surface that status. Do not turn "skipped" into "clean."
Use short maintainer blocks:
1. Sources checked 2. Drift found or skipped sources 3. Files written 4. Promotion or follow-up step
For full details, cite `canon-drift.json`, per-source `canon-drift.<source>.md`, and `manifest.json`.
If the user shifts to general repo structure, cleanup priority, or refactor-plan coaching, hand off to `lumin-repo-lens`. If the user shifts to code changes before or after implementation, hand off to `lumin-repo-lens-write-gate`.
π°π· νκ΅μ΄λ‘ μ½μΌμλ €λ©΄ β 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.
Use before/after TS/JS code changes: add, edit, move, rename, refactor, make a helper/type/file/function, or ask if somethingβ¦
Audit TypeScript/JavaScript repos for structural debt with machine evidence: dead exports, cycles, oversized modules, duplicateβ¦
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, orβ¦
Ask which skill or flow fits your situation. A router over the skills in this repo.