← ClaudeAtlas

asklisted

Answer grounded questions about the codebase (onboarding / Q&A) using the reviewer RAG + code graph. Use when the user asks how the code works, where something lives, or to explain a subsystem ("where is auth", "how does X work", "explain the indexing flow", "как устроено…", "где у нас…", "объясни код"). Requires a built base index + graph (reviewer MCP server). Not for reviewing PRs.
mimfort/rag_for_git · ★ 21 · AI & Automation · score 78
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