ref_query
Query a local reference repository to find architecture patterns, code examples, or design conventions. Use it to gain context from a sibling project while working on the current workspace.
Instructions
Query a reference repository on the same machine for architecture insights, design patterns, conventions, or code examples. Useful for borrowing context from a well-structured sibling repo when working on the current workspace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repoPath | Yes | Absolute path to the reference repository on this machine | |
| query | No | What to look for — architecture patterns, conventions, a specific concept, or a code example | |
| mode | No | auto = infer from query; docs/architecture = markdown only; code/patterns = source files only; structure = dir tree only; all = everything | auto |
| symbol | No | Specific symbol name (function/class/interface) to locate in the reference repo | |
| limit | No | Max results to return | |
| profile | No | Response profile | compact |