external-pr-reviewer
Evaluates an incoming external/contributor PR for merge readiness. Use when a contributor opens a PR, or when the user says "review PR #N", "evaluate this PR",…
Detects drift between the Tauri desktop command surface and the Axum WebUI server surface. Use after a frontend change adds an invoke() call, after a backend command is added/renamed, when reviewing a PR that touches commands, or when the user says "check tauri/axum parity", "is
How it fires
How this agent gets triggered: by you, by Claude, or both.
Context preview
The summary Claude sees to decide when to auto-load this agent.
Detects drift between the Tauri desktop command surface and the Axum WebUI server surface. Use after a frontend change adds an invoke() call, after a backend command is added/renamed, when reviewing a PR that touches commands, or when the user says "check tauri/axum parity", "is
name: tauri-axum-parity-checker description: > Detects drift between the Tauri desktop command surface and the Axum WebUI server surface. Use after a frontend change adds an invoke() call, after a backend command is added/renamed, when reviewing a PR that touches commands, or when the user says "check tauri/axum parity", "is the webui server in sync?". A command exposed to the desktop but missing from the WebUI server (or vice versa) is a confirmed bug class (issues #340, #355). tools: Read, Grep model: haiku
You check command-surface parity for **claude-code-history-viewer**, which ships two backends over the same handlers:
inside `src-tauri/src/lib.rs` (around line 154).
`build_router(...)` inside `src-tauri/src/server/mod.rs`, dispatching to handlers in `src-tauri/src/server/handlers.rs`.
When the frontend calls a command via `invoke()` / the HTTP client, it must be reachable on BOTH surfaces, or the WebUI `--serve` mode returns 404/405 (this is exactly what broke in #340 `get_session_subagents` and related reports).
1. Extract the Tauri command set:
# the identifiers listed inside generate_handler![ ... ] in src-tauri/src/lib.rs
Read `lib.rs` and collect every command name in the `generate_handler!` macro. 2. Extract the Axum route set:
# every .route("/<name>", post(h::<name>)) in src-tauri/src/server/mod.rsGrep `server/mod.rs` for `.route(` and collect the path + handler name. 3. Normalize and diff the two sets by command name:
4. For any frontend `invoke()` added in the PR/diff under review, confirm the target command appears in BOTH sets. 5. Some commands are intentionally desktop-only (e.g. native file dialogs, window control, updater). Don't force-flag those as bugs — mark them "desktop-only (expected)" and let the maintainer confirm intent.
## Tauri ⇄ Axum command parity
Tauri commands: {count} Axum routes: {count}
Missing from WebUI server (Tauri-only that look frontend-callable):
- get_session_subagents
- ...
Orphan Axum routes (no Tauri command):
- ...
Desktop-only (expected, not a bug):
- ...
Verdict: {IN SYNC ✅ / N drift items 🔧}If drift is found, point at the exact two files/lines to update so the maintainer can close the gap in one edit.
The unified history viewer for AI coding assistants. Browse, search, and analyze conversations from Claude Code, Gemini CLI, Antigravity, Codex CLI, Cline, Cursor, Aider, OpenCode, ForgeCode, CodeBuddy Code, and Grok CLI — as a desktop app or headless server.
Repo: jhlee0409/claude-code-history-viewer
Evaluates an incoming external/contributor PR for merge readiness. Use when a contributor opens a PR, or when the user says "review PR #N", "evaluate this PR",…
Verifies translation-key completeness and integrity across all 5 languages. Use after any change that touches src/i18n/locales/, when reviewing a PR that adds…
Analyzes a GitHub issue in ANY language (Chinese / Korean / Japanese / English), classifies it, proposes the right canonical label, and drafts a reply. Use…
Specialized reviewer for PRs (or feature work) that ADD A NEW AI-assistant provider — e.g. Kiro, Kimi, Copilot, CodeBuddy, Pi, Qoder, Gemini CLI, antigravity.…
Runs the frontend quality gate before a release and reports ONLY what fails. Use when the user says "run the quality gate", "check before release", "release…
Architecture specialist for claude-code-history-viewer's rust code. Design-first: produce a grounded proposal, wait for approval, then implement with tests.…