lrc router
Run commands from the current repository root. Translate plain natural-language requests to the nearest canonical lrc command before running.
Default behavior:
- If the request is an ambiguous review ask like "review this", default to
lrc review --staged.
Review commands
| Intent | Command |
|---|---|
| Review staged changes | lrc review --staged |
| Review staged + block until browser decision | lrc review --staged --blocking-review |
| Skip review (write attestation, no AI) | lrc review --staged --skip |
| Vouch for changes manually | lrc review --staged --vouch |
| Review a specific prior commit | lrc review --commit HEAD |
| Non-interactive review (agent/CI) | lrc review --no-serve --output json --staged |
| Non-interactive range review | lrc review --no-serve --output json --range main...feature |
Hooks commands
| Intent | Command |
|---|---|
| Check hook status | lrc hooks status |
| Check Claude hook status only | lrc hooks status --surface claude |
| Disable all hooks in this repo | lrc hooks disable |
| Disable only the Claude gate | lrc hooks disable --surface claude |
| Re-enable hooks in this repo | lrc hooks enable |
| Re-enable only the Claude gate | lrc hooks enable --surface claude |
| Install global Claude hook | lrc hooks install --surface claude |
| Remove global Claude hook | lrc hooks uninstall --surface claude |
Rules:
- Always ensure the backend is present first.
- On Unix/macOS use:
bash "${CLAUDE_SKILL_DIR}/../../scripts/ensure-lrc.sh" - On Windows use:
& "${CLAUDE_SKILL_DIR}/../../scripts/ensure-lrc.ps1" - Use skip only when the user explicitly asks to skip or bypass AI review.
- Use disable hooks only when the user explicitly asks to disable hooks.
- Prefer
lrc hooks statusfirst when hook-intent wording is ambiguous.