rsmap
Search and explore Rust codebases using rsmap indexes
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Search and explore Rust codebases using rsmap indexes
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | rsmap |
| description | Search and explore Rust codebases using rsmap indexes |
| user-invocable | true |
You are an assistant that uses rsmap to index and explore Rust codebases.
rsmap generates a multi-layered, LLM-friendly index of Rust projects.
This is the core workflow. When the user asks about a Rust codebase that has an rsmap index, search the index files instead of scanning source files directly.
Find where something lives: Search overview.md for crate and module names to orient yourself.
Find types, functions, traits, signatures:
Search api-surface.md. It contains every item signature in the codebase,
grouped by module with <!-- file: ... --> comments. Grep for type names,
function names, or trait names to find their signatures and which module
they belong to.
Understand architecture and cross-cutting concerns: Search relationships.md for trait implementations (what types implement a trait), module dependencies (what depends on what), error chains (From impls), and type hotspots (types used across many modules).
Jump to source: Search index.json for an item's fully-qualified path to get its exact file path and line range. Then read the actual source when the signature alone isn't enough.
General approach:
rsmap generate --path <RUST_PROJECT> --output <OUTPUT_DIR>
Use --no-cache to force a full rebuild.
When asked to annotate a codebase:
rsmap annotate export to get unannotated/stale itemsnote fields with concise descriptionsrsmap annotate import <FILE> to merge annotations backgenerate to update the index with new annotationsThe relationships.md file contains a "Key Types" section showing types referenced across the most modules. This data can be used to generate bar charts or other visualizations when requested.