← ClaudeAtlas

vs-searchlisted

Routing rules for code search in C/C++, C#/.NET, JS/TS, and Python projects via vs-token-safer — use the vs-search MCP tools (clangd/Roslyn/tsserver/pyright language-server index) or the `vts` CLI instead of Bash grep. Use whenever searching for a symbol, definition, function, variable, type, or finding references/usages in a C/C++, C#/.NET (incl. Unreal, Visual Studio), JavaScript/TypeScript, or Python codebase.
JSungMin/vs-token-safer · ★ 2 · AI & Automation · score 62
Install: claude install-skill JSungMin/vs-token-safer
# vs-token-safer search routing Code search runs through an OFFICIAL language server's index (clangd for C++, a Roslyn-based LSP for C#) and the result is token-capped to a compact `file:line` list — no source bodies. No IDE needs to be open; the engine is spawned headlessly. Karpathy-style rules: do the listed thing, do not improvise. ## Tools (MCP server name: `vs-search`) - Symbol / class / function / type / variable → `search_symbol` (args: `q`, `projectPath`, `backend`, `maxResults`). Never `grep`/`rg` for this. - References / usages of a symbol → `find_references` (args: `path`, `line`, `character` — 0-based — `includeDeclaration`). Semantic, not a text match. - Definition of a symbol → `goto_definition` (args: `path`, `line`, `character` — 0-based). - Type / signature at a position → `hover` (args: `path`, `line`, `character`). - Outline a file (its classes/functions) → `document_symbols` (args: `path`). - Rename a symbol project-wide → `rename` (args: `path`, `line`, `character`, `newName`, `apply`). Semantic (every reference), not a `sed`. Preview by default; `apply=true` writes the edits. - **Add / replace / delete a WHOLE declaration → edit it by NAME**, don't Read-the-file-then-Edit: - Replace a function/method/class body (signature included) → `replace_symbol_body` (args: `symbol`, `body`, optional `path`/`line`, `apply`). - Add a sibling declaration after/before one → `insert_after_symbol` / `insert_before_symbol` (args: `symbol`, `text`, `apply`).