asklisted
Install: claude install-skill mimfort/rag_for_git
# Ask (codebase Q&A)
Answer a free-text question about the codebase with a **grounded** response: every claim is
backed by a real `path:line` citation, never an invented path. Built on the reviewer MCP server
(hybrid RAG + code graph). This skill reads and explains; it does NOT modify code or review PRs.
**Always answer the user in Russian** (the project language), regardless of this file's language.
Tool calls, code identifiers, and `path:line` citations stay verbatim.
## Inputs
`$ARGUMENTS` — a free-text question about the code (e.g. "where is authentication",
"how does index freshness work", "explain the retrieval pipeline").
## Tools
<!-- include: _common/tool-usage.md -->
Use the session-less tools above.
Plus the harness file tools (`Read`, `Grep`, `Glob`) to read source from the local clone on disk.
## Pipeline
1. **Resolve repo/branch.**
- `repo`: `git remote get-url origin` → strip a trailing `.git`, take the last two path
segments (`owner/name`). Pass `""` to let the server use `DEFAULT_REPO` if origin is missing.
- `branch`:
<!-- include: _common/branch-selection.md -->
**Freshness check (first code question of the session only).** After resolving repo/branch and
ONLY on the first code question in this conversation — rely on conversation memory: if you have
already checked index freshness earlier in this session, skip this — run
`uvx --from rag-reviewer reviewer status <path> --branch <branch> --json` and read `drift`. If
`drift